Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

_pk_ref cookie (1 reply)

$
0
0
Hi,

When I get a conversion (user signs up), I need to store some campaign information (name and keyword) in my own DB. Right now, I'm creating my own cookie with that information for first-time visitors and then read it out on sign-up. However, that's wasteful because Piwik is already storing the same info in the _pk_ref cookie. Unfortunately, it's hard to use that cookie because the cookie name includes some weird ID (_pk_ref.1.2345 for example). What's the meaning of those numbers; how are they determined? Are they identical for all users in all browsers?

Also, what are the third and fourth value in the _pk_ref cookie?

Finally, is there any good reason for me not to use the _pk_ref cookie for my purpose?


Thanks,
Christian

Viewing all articles
Browse latest Browse all 4243

Trending Articles