Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

cookie issue

$
0
0

Replies: 0

There is an utm cookie issue for cached page.

step 1, view domain.com/?utm_source=111
You set two cookies utm_source for domain.com and .domain.com (JavaScript & PHP)
domain.com utm_source=111
.domain.com utm_source=111

step 2, change the utm_source value,for example domain.com/?utm_source=222
You only update the cookie value for domain.com
domain.com utm_source=222
.domain.com utm_source=111

The cookie of .domain.com will never change.

So sometimes we cannot get the newest utm cookies.

  • This topic was modified 22 minutes ago by HooThemes.
  • This topic was modified 21 minutes ago by HooThemes.

Viewing all articles
Browse latest Browse all 59525

Trending Articles