-
Notifications
You must be signed in to change notification settings - Fork 14
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
User ID not persistent #7
Comments
Just to be thorough and rule out the obvious, are you calling I think this could mean we need a |
I was adding the user ID myself in the tracking code js. The user ID is I have since realized that Piwik's user ID feature is not what I want, It's possible this is an issue with Piwik. Maybe we would have to set the I had previously tried calling analytics.setUsername as you suggested but I I have also noticed that two events are being sent to Piwik on the first On Thu, Sep 22, 2016, 7:54 AM Ivan Nolasco [email protected] wrote:
|
For tracking the user before login in, the easiest approach I can think of is using cookies to store a UUID for the user, and use that in the |
Yeah I switched to a custom variable, I'll see if that works the way I On Thu, Sep 22, 2016, 8:19 AM Ivan Nolasco [email protected] wrote:
|
It seems like on initial page load we set the User ID and it is sent to Piwik. However, after that the future events sent to piwik have some randomly generated hex uid instead of the one we set. This results in the user's session not being tracked properly.
My workaround is to use custom variables for the User ID instead.
The text was updated successfully, but these errors were encountered: