Skip to content
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

setUserID: Users are being counted 3 times Visitor Id is taking precedence over User Id #11593

Closed
bflanagan78 opened this issue Apr 5, 2017 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@bflanagan78
Copy link

Hi,

We recently migrated to AWS and in both of our instances of Piwik 2.16.5 production and 3.0.2 staging we are now seeing User Ids being counted as 3 unique visitors. We are running PHP 7.x and MySQL 5.7

setUserId is being used, however the Visitor Id is still taking precedence over the User Id. A single user (one unique User Id) is being counted three separate times because the visitor id has changed three times. Every time the visitor id changes, that user is being counted as a new user. A segment for a particular User Id will return a single user, but will be counted as three unique visitors.

any thoughts, Thanks

@bflanagan78
Copy link
Author

Clarification, we are tracking over 100+ sites and each site Piwik assigns a different Visitor ID for the same User ID. We did not see this issue with Piwik 2.11. Is there a user table per site and/or overall global table? Will we need to wait for the resolution of #11411 or should we try tracking multiple domain names as discussed in the thread below?

Tracking multiple domain names in the same website documentation matomo-org/developer-documentation@70a72f3

Thanks.

@mattab
Copy link
Member

mattab commented May 8, 2017

Hi @bflanagan78
Could you please create a new issue and paste there a small HTML code that can be used to reproduce a problem, as well as "We got XYZ but expected ABC". Thanks

@mattab mattab closed this as completed May 8, 2017
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label May 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants