Hello,
we have a Matomo installation for logfile analyse. AWStats and Matomo use the same logfile. The logfile importer script runs with the default option without import any additional data.
“python3 /path/to/matomo/misc/log-analytics/import_logs.py --url=https://stats.domain.com --idsite=1 --recorders=12”
But the counts of visitors show a big different between AWStats and Matomo. Matomo counts much more visitors as AWStats. For example August:
AWStats - 77.490
Matomo - 291.317
Do you have lots of visitor coming for example from the same company? (then the IP could be the same for several visitors, and Matomo could not distinct them…?)
Thank you for your suggestion. I have found only this here:
And in this:
“FAQ-COM250 : DIFFERENT RESULTS THAN OTHER ANALYZER
PROBLEM:
I also use Webalizer, Analog (or another log analyzer) and it doesn’t report the same results than AWStats. Why ?
SOLUTION:
If you compare AWStats results with an other log file analyzer, you will found some differences, sometimes very important.
In fact, all analyzer (even AWStats) make “over reporting” because of the problem of proxy-servers and robots. However
AWStats is one of the most accurate and its “over reporting” is very low where all other analyzers, even the most famous,
have a VERY HIGH error rate (10% to 200% more than reality !)”
Is this really? Matomo shows actually more than 200% more … It is very heavy to believe but it looks to be true. Or?
thank you for your reply.
But I don’t think that the problem are the different bots / user agents.
I rather think the problem should be somewhere here (clicks or rewrites?):
If you compare AWStats results with an other log file analyzer, you will found some differences, sometimes very important. In fact, all analyzer (even AWStats) make “over reporting” because of the problem of proxy-servers and robots. However AWStats is one of the most accurate and its “over reporting” is very low where all other analyzers, even the most famous, have a VERY HIGH error rate (10% to 200% more than reality !).
Yes, we have a difference of 300%.
Some log analyzers use the “Hits” to count visitors. This is a very bad way of working : Some visitors use a lot of proxy servers to surf (ie: AOL users), this means it’s possible that several hosts (with several IP addresses) are used to reach your site for only one visitor (ie: one proxy server download the page and 2 other servers download all images). Because of this, if stats of unique visitors are made on “hits”, 3 users are reported but it’s wrong. So AWStats considers only HTML “Pages” to count unique visitors. This decrease the error, not completely, because it’s always possible that a proxy server download one HTML frame and another one download another frame, but this make the over-reporting of unique visitors less important.
or /and
AWStats does not count twice (with default setup) redirects made by server “rewrite rules”. Such rule makes two hits into log files, so most log analyzer count them twice, but only one page were “viewed”.
Then, there is internal bugs in log analyzers that make reports wrong.
Could one of the two statements also apply to matomo?
If not, I have to keep researching.
But if so, then I could understand the source of the difference.