Hi,
I have a a strange problem. After upgrading from 3.6.0 to 3.8.1, statistics of visitors and unique visitors per hour or day are shown lower that real amount,
I have invalidated and re-archived the reports but no change. The data still about half of the amount it should be.
I know the data is invalid because:
The amount dropped abruptly after the upgrade
This happened for all of my sites
Real-time visitor count data is inconsistent with overall data
Page counts are still like before but visitor count shows about 40 percent decrease
I see about 50 visits in real time visitor widget per minute in average for one of my sites which is consistent with about 80,000 visitor per day that I used to have before the upgrade.
“Real Time Visitor Count” Widget is about 50 per minute in average but “Visits Over Time” Widget
“Real Time Visitor Count” Widget should be correct but even “matomo_log_visit” is consistent with “Visits Over Time” Widget.
This happened exactly after upgrade
No changes in “Page Views”
“actions per returning visit” suddenly changed from 5.4 to 20.1
“average visit duration for returning visitors” abruptly risen to 20 min from about 5 min
After upgrade, my visit per day reduced to a third but page views and other statistics remained the same.
Apparently problem was that several visitors were aggregated “under the same visit mistakenly”. All visitors, except some of the “returning visitors” had the same IP Address (my HAProxy address).
This can be fixed by setting trust_visitors_cookies = 1 in config.ini.php