-
Notifications
You must be signed in to change notification settings - Fork 34
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
Userids are randomly double-hashed #141
Comments
Hi @danielpradilla any chance the plugin queued tracking is enabled on the environment with large amount of visits? |
Hi @tsteur it is! |
Thanks @danielpradilla that was the only way I could think of out of the box how this might happen. I now had a quick look at the code but it's not obvious yet to me how this might happen. Could you check in I suppose queued tracking is always enabled or does it sometimes get deactivated? |
Also are you using the JavaScript tracker to track a website? |
Hi @tsteur it’s always enabled. I’ve never touched it. I’m using the JS tracker. |
@danielpradilla any chance you could check regarding the other setting I mentioned? |
@tsteur apologies, i meant that both queued and process during tracking request are enabled. I will experiment turning queued tracking off. |
Thanks. Any chance you know roughly how often that happens? Does this happen randomly rather often or quite rarely? Note: If I had to guess I would say that we should maybe make a copy of a |
It happens quite a lot. About half of the logged-in visits are affected. Randomly. It's not tied to a particular visitor. |
Thanks @danielpradilla Are you familiar with applying patches? Could you try to apply this patch https://github.com/matomo-org/plugin-QueuedTracking/compare/4.x-dev...qt141?quick_pull=1 in |
@danielpradilla have you had a chance to give this a try maybe? |
Using Matomo 3.14.1
When pseudonimization is enabled, sometimes the user_id is hashed twice, creating an artificial duplicate visit.
In the attached image, dacc63938... is a hash of the username, f7d09460... is a hash of dacc63938... a hash of the hash of the username.
Happens randomly, I cannot reproduce on a controlled environment, only in a site with large amount of visits.
The text was updated successfully, but these errors were encountered: