New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email tracking cookies #9884
Comments
I've never tried it but it can be tricky indeed. Maybe have a look at the tracking API: http://developer.piwik.org/api-reference/tracking-api Eg if you have userIds / userLogins etc you could make use of the UserID feature and append eg Interesting could be also
Basically you would generate a random visitor id for each email recipient and add it to the image tracking code. There might be a problem that user gets a different visitorId after actually clicking on a link and opening a page on your website. There are ways around this (eg passing visitorId There might be other ideas but never tried any of them :) |
@mattab maybe this is something for FAQ and quite useful, also for SEO? |
Hi Thomas Thanks for your reply The issue is that this is a consumer site, I.e some visitors are generated from clicking emails others are direct traffic, out hope is to tie previous and future direct visits to an email address, by using a cookie. So if someone has been to the site, and has had a cookie set, then gets an email, I would like the cookie to be the same. Likewise when opening an email and then visiting the site at a later date, the cookie should be the same too. If we force the cookie to be a certain number at the point of email, how can I track past or future email activity to it? Regards Howard Thompson Sent from my iPhone
|
I see, this is not easily possible. From the sounds you would need to save the The only thing would be to always use email address, or a hash of email, as Maybe @mattab has an idea |
I am currently trying to use image source tracking code within an email.
This will mean that we can track anyone who visits our site and has opened our emails (perhaps in another session).
The tracking is working, but we noticed that different users within the same network (same ip) get given the same visitor id.
I believe this is similar to the intranet tracking issues (http://piwik.org/faq/how-to/faq_175/); we have already forced piwik not to use the ip address - but this does not seem to work in this case.
I think that this issue may be arising as it is normally the web browser that sets the cookie, and in this case outlook will be setting it - and i'm not sure outlook has that functionality.
Another issue that does not help matters is that we are currently using 1st Party cookies, I believe we will need to switch the 3rd party cookies to track the user from the email to the site, using the cookie. However the 1st party cookies enables us to test how the cookie is set in the first instance.
Before I enable the 3rd party cookies, I am keen to understand how the cookies would be set within email tracking, and how to ensure two users are not seen as one when using the same IP - which would most likely be achieved through controlling how the cookie is set.
Once this is done, I am assuming I can simply turn on third party cookies and tracking should work, without the duplicates?
Many thanks for any help
The text was updated successfully, but these errors were encountered: