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
When UserID is set to empty string, actions maybe added to the same UserID visit #7368
Comments
It has gotten worse.. all of my visitors are now under the same visitID.
I now have a 4 hours long session with pageviews from at least 10 different unique visitors, from all over the country.. i can see them joining in google analytic real-time map... actually some of them are not registered at all in piwik, although they are actively browsing the site and viewing different pages according to GA (so are not bots) A new session is created if a new user is on mobile tho. All of these started last night when i updated to the latest point release 2.11.2 |
Are you using standard Piwik tracking code or also some additional features? |
only userID is added via wordpress users login credentials, which worked perfectly until last night.. my tracking code in theme header: var _paq = _paq || []; (function() { |
I would say that it's connected with userId. Please make sure that you are passing there different userid for different users. If that's the case, then it's possible that we have here another bug. Please also make sure that you don't set userid for anonymous users. |
My tracking code is unchanged for several months.. so there is nothing different on my end.. the thing is that most of the times (80 % of cases or so) there is no userID passed so it cant be different..that`s because the user is not logged-in, no username/email/etc to pass.. only when a user logs-in the userID is set and is recognized as such.. this is how it used to be, and if i recall correctly this is how it was meant to work.. if there is is a userID very good, it helps tracking the same user across different devices, if not, no problem, the old mechanism still works. will investigate and remove userID and will follow-ip |
Removed the userID from the tracking code and the bug is gone.. both the userprofile one, and the later.. |
…would set the same visitor id to all those visitors
Hi guys, I found the issue. Indeed there is a regression when the User ID is set to empty string. Before it wouldn't update the Visitor ID, but now it does. I've fixed it in this PR: #7402 |
Hello, I have this strange bug since upgrading to the latest point release: when opening a visitor profile it lists ALL visits and visitors (i believe from that day or so) instead of only the correct visits for each one.. also, when opening a visitor profile from say 5 hours ago, still shows even the latest visits of other visitors, occurred long after that one...when clicking individual visit #1, visit #2, etc the correct information appears with different ip, browser, screen resolution, etc... so it does distinguish between visits.. its just that they are all crammed together.
The text was updated successfully, but these errors were encountered: