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

Unique Visitors Count is wrong #1032

Closed
anonymous-matomo-user opened this issue Nov 2, 2009 · 4 comments
Closed

Unique Visitors Count is wrong #1032

anonymous-matomo-user opened this issue Nov 2, 2009 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@anonymous-matomo-user
Copy link

(I would have first posted in the forum, but forum registration seems to be broken.... I tried with 3 different emails and never received anything back)

If I understand correctly, unique visitors must be less than or equal to the total number of visitors.

In October, I had 140 visits, 626 of which were unique. These numbers do not make sense.

I just started using piwik the end of September, and September has 11 visits, 6 of which are unique. This doesn't seem unreasonable.

However, if I look at the whole year (which for me includes only September and October, I have 151 visits, 739 of which are unique. The 151 make sense (140+11), however the number of unique visitors should be less than or equal to the sum of the two months (626+6). It is significantly bigger.

It seems that the weekly, monthly, yearly summarization of unique visitors is incorrect.

I'm using version 0.4.5.

@mattab
Copy link
Member

mattab commented Nov 2, 2009

It sounds strange indeed. Did you manually enter data in the DB, or did you use the visit generator?

Unique visitors are processed with the simple sql query at: https://github.com/piwik/piwik/blob/master/core/ArchiveProcessing/Period.php?rev=1301#L284

can you paste a screenshot or send at hello at piwik.org the URL of your piwik + login/pwd?

@anonymous-matomo-user
Copy link
Author

I sent readonly login info to hello@piwik.org.

The data was generated by real traffic. The monitored web site was generated by typolight and I am using the typolight plugin for piwik.

Looking at piwik_log_visit, I see a huge amount of entries on October 23/24 that don't make sense. If I look Visits wigit for those days or that week, they aren't counted. However, they appear to be counted for the Month.

@anonymous-matomo-user
Copy link
Author

Hmmmm.... I looked the visit script generator and the October 23/24 data appears to have come from that. The data suspiciously matches /piwik/misc/generateVisitsData/Referers.php. I am sure I didn't run it intentionally, but maybe I accidentally clicked on it.

Still, why does the data only show up partially? I.e. It is counted in unique visits, but not in total visits? Any way to get rid of the data?

@mattab
Copy link
Member

mattab commented Nov 2, 2009

you can't get rid of the data hence why we added a big red warning in newer versions. It could appear in your weekly/monthly report and not in your daily reports in the use case where you:

  • archived the daily reports
  • run the visit generator
  • daily reports are not archived again, but when you archive weekly/monthly they will include the fake visits.

Reinstall Piwik or create a new website to start from fresh stats.

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 0.5 milestone Jul 8, 2014
@mattab mattab added the wontfix label Aug 3, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants