-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Bug] Differences between the number of visitors from API.get to Referrers.get #22404
Comments
2024-07-17.11-44-45.mp4 |
I'm not sure how you're adding the numbers together, but as of now, I see 10142 visits in https://demo.matomo.cloud/index.php?module=API&method=API.get&idSite=1&period=day&date=yesterday&format=JSON&token_auth=anonymous and if I add up the referrers in https://demo.matomo.cloud/index.php?module=API&method=Referrers.get&idSite=1&period=day&date=yesterday&format=JSON&token_auth=anonymous I also get 10142. |
@michalkleiner but I didn't mention visits, I mentioned visitors. |
Without looking into details, but I think these two dimensions are not comparable 1:1, since one visitor can have multiple referrers (one per session). So I guess that a unique visitor can be attributed multiple times to different channels. But I cannot open visitor profiles on demo, so I can't check if that's the case. |
Whaoooo, that's a very good point. Thank you @peterbo I was wrong. |
What happened?
If you look at https://demo.matomo.cloud/index.php?module=API&method=API.get&idSite=1&period=day&date=yesterday&format=JSON&token_auth=anonymous the number of visitors is 9794, if you look at https://demo.matomo.cloud/index.php?module=API&method=Referrers.get&idSite=1&period=day&date=yesterday&format=JSON&token_auth=anonymous the number of unique visitors is 10857 so, there is an issue in finding the right KPI.
What should happen?
The number of visitors from both reports should be exactly the same.
How can this be reproduced?
Look at https://demo.matomo.cloud/index.php?module=API&method=API.get&idSite=1&period=day&date=yesterday&format=JSON&token_auth=anonymous compare it to https://demo.matomo.cloud/index.php?module=API&method=Referrers.get&idSite=1&period=day&date=yesterday&format=JSON&token_auth=anonymous
Matomo version
5
PHP version
No response
Server operating system
No response
What browsers are you seeing the problem on?
No response
Computer operating system
No response
Relevant log output
No response
Validations
The text was updated successfully, but these errors were encountered: