too flattering
-
I was happy with the versatility of this plugin and its many options. It looks and works great! But over time I noticed it was way too flattering in the statistics, especially when I compare the results to Google’s Site Kit. It looks like Statistics count all bots as visits!?!
Since I don’t know how to interpret the statistics I deleted the plugin for now.
-
Hi @ambientblog,
Thank you for sharing your feedback.
WP Statistics actually has a comprehensive bot detection system built in. It uses the Matomo DeviceDetector library with over 1000 bot signatures, plus additional filtering options you
can configure under Settings > Exclusions:- Robot Exclusion: auto-detects bots by user-agent
- Robot Threshold: flags IPs with unusually high daily hits
- Referrer Spam Blacklist: filters known spam referrers
Some difference between WP Statistics and Google Analytics is expected since they use different tracking methods and counting logic. Google Analytics relies on JavaScript-only tracking with sampling, while WP Statistics tracks every request server-side. Enabling the exclusion options above helps close that gap significantly.
If you decide to give it another try, we’d be happy to help you fine-tune the exclusion settings for your site.
Best regards,
Since I liked the details the plugin showed, I’d love to give it another try. So I’m curious which setting I possibly missed or misconfigured. “Some difference” between WS and GA I understand, of course, but to give an example: on one single day GA mentions 92 visitors, while WS reported 1.841 visitors. That is not ‘some’ difference. I’d definitely love to hear your advice. (I did not remove Statistics, only temporarily deactivated it)
Hi @ambientblog,
Thank you for being willing to give it another try, and for sharing those specific numbers — that’s very helpful for diagnosing the issue.
A difference of 92 vs 1,841 strongly suggests that a significant portion of those hits are coming from bots, crawlers, and other non-human traffic that aren’t being filtered. Here’s what I’d recommend checking:
Navigate to Settings → Filtering & Exceptions and review the following sections:
User Role Exclusions
Make sure at least Administrator is checked so your own visits aren’t counted. You can also exclude other roles like Editor, Subscriber, or even Anonymous Users if needed.Robot Exclusions
- Custom Bot Exclusions — WP Statistics already filters common crawlers using a built-in bot detection library, but you can add additional user-agent strings here if you notice specific bots slipping through.
- Robot View Threshold — Set a daily threshold (e.g., 50). Any IP that exceeds this number of daily visits will automatically be identified and excluded as a bot. This is very effective at catching bots that aren’t in the standard signature list.
IP Exclusions
If you know of specific IPs generating spam traffic, you can add them here. Supports both IPv4 (with CIDR notation like192.168.0.0/24) and IPv6 ranges.GeoLocation Exclusions
You can exclude or include traffic from specific countries using country codes. Useful if you’re getting heavy bot traffic from certain regions.URL Exclusions
- Excluded Login Page — Excludes login/register page visits from your stats.
- Excluded RSS Feeds — Excludes RSS feed hits.
- Excluded 404 Pages — Excludes 404 error page visits.
- Excluded URLs — You can list specific URLs to exclude, with wildcard (
*) support (e.g.,/internal/*).
Log Record Exclusions
I’d also recommend enabling the Log Record Exclusions option at the bottom of that page. Once enabled, a new Exclusions page will appear in your dashboard that shows you exactly what type of traffic is being filtered and why (e.g., Robot, IP Match, Robot Threshold, 404, Login Page, etc.). This gives you a clear breakdown so you can monitor how effective your filtering is and fine-tune your settings accordingly.After enabling these settings, especially the Robot View Threshold, give it a few days and compare with Google Analytics again. Some gap will always remain since GA uses client-side JavaScript tracking (which misses visitors using ad blockers), while WP Statistics tracks server-side. But the difference should no longer be anywhere near 20x.
Feel free to share a screenshot of your Filtering & Exceptions page if you’d like us to review your configuration.
Best regards
Thanks for your extensive answer. However: the interesting thing is: ALL of these settings were already active (apart from ‘log record exclusions’ which I activated now). But still all the bots remain counted. That was the reason I originally posted this reaction: these settings seem to have no effect.
In more detail:
– administrator is checked in Role Exclusions
– custom bot exclusions: I added an additional list of user agents copied from the Advanced IP-blocker plugin
– Robot view treshold is set to 30 (not 50)
– IP exclusion: only my own home IP address is excluded
– No geolocation exclusion
– Excluded Login Page / RSS Feeds / 404 Pages – all are active
When I look at the online users, I alway see a few with links that generate a 404 page (like /blog/page/28/ where 28 is nonexistent), so it seems that the 404 exclusion has no effect.
Apart from the Statistics plugin I also use Advanced IP-blocker. I see that the bots are blocked in that plugin, so it seems their visit is counted in Statistics before they hit AIP-blocker. But then they should still be blocked by Statistics built-in blocker? BTW – de-activating AIP-blocker makes no differences in the resulting visitor counts. So I’m still not sure what’s going on.
You must be logged in to reply to this review.