matomo-org / matomo-org/plugin-QueuedTracking
Userids are randomly double-hashed
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 87
- Forks
- 41
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 7
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the QueuedTracking plugin handles user_id values when Matomo 3.14.1 pseudonymization is enabled, including requests processed through its Redis or MySQL queue. Compare the normal hash path with the reported large-site behavior; done means identifying the duplicate-hashing path and confirming that a queued user_id is hashed only once.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100