A Cloudflare Web Analytics alternative that runs on your servers
Cloudflare Web Analytics counts visits with a JavaScript beacon loaded from a Cloudflare domain, and Cloudflare's own FAQ says ad blockers can block it. SmarterStats counts every request your web servers log, with no beacon and no sampling, for every site whose logs it reads, and keeps the data on your own servers.
While script-based analytics products have their place, server-side analytics provide data that can be excluded from a script-based service due to policy, security, and browser restrictions.
Side by side
| Features | Cloudflare Web Analytics | SmarterStats |
|---|---|---|
| Data source | A JavaScript beacon loaded from a Cloudflare domain | Your web server logs |
| Ad blockers | Can block the beacon, according to Cloudflare's FAQ | Nothing on your pages to block |
| Visitors with JavaScript turned off | Not counted by the beacon | Counted |
| Sites not proxied through Cloudflare | 10 per account | 1 (Free) to 30,000 per installation |
| Content Security Policy | Must allow the Cloudflare script | No change needed |
| Sampling | Queries sampled from 0.0001% to 100%, depending on volume | None. Every request is in every report |
| Data retention | Unsampled for 7 days, then aggregated to about 10%; the previous six months are accessible | You decide |
| Intranet sites | Requires every visitor's browser to load the beacon from Cloudflare | Runs inside your network |
| Where your data lives | Cloudflare | Your servers |
Data current as of November 2026. Information obtained via the Cloudflare website.
What the beacon can miss
The beacon is a third-party script. Cloudflare's FAQ says ad blockers can block it, your Content Security Policy has to allow it, and a Cache-Control no-transform header stops Cloudflare from adding it to proxied pages automatically. A visitor whose browser doesn't run the beacon isn't in the numbers.
That visit is still logged on your server. SmarterStats reports on every request in your logs, including visitors who block scripts or turn off JavaScript, bots, server errors and file downloads, and adds nothing to your pages.
Your history, at full detail
Cloudflare keeps beacon data unsampled for 7 days, then aggregates it to about 10%, and the previous six months are accessible. Queries are sampled depending on volume. SmarterStats builds every report from every logged request, and your logs and reports stay on your servers for as long as you keep them.
Every site on your servers
Cloudflare Web Analytics sees sites that are proxied through Cloudflare or carry its beacon, and an account can add 10 sites that aren't proxied. SmarterStats reports on every site whose logs it can read, locally or over FTP, FTPS, UNC and Samba, from one site to 30,000 per installation, including intranet sites that never face the internet.
- Every site on your web servers, whether or not it uses Cloudflare
- The Remote Service to process logs on each Windows or Linux web server (Enterprise)
- Spider and bot reports, separate from human visitors
- Plesk includes the SmarterStats integration for hosting customers
What SmarterStats costs
| Edition | Sites | Price |
|---|---|---|
| Free | 1 | $0 |
| Professional | 50 to 2,500 | From $525 for 50 sites |
| Enterprise | 50 to 30,000 | From $775 for 50 sites |
Free includes every report and tool for one website. To test more than one site, contact us for a 30-day trial license.
Frequently asked questions
Does SmarterStats replace Cloudflare Web Analytics?
It can. SmarterStats reports on every request that reaches your server, including bots, server errors and visitors who block scripts. If you also want real-time stats, or in-browser details such as clicks and screen size, a script-based tool can run as a complement to SmarterStats.
Do I need to remove the Cloudflare beacon?
No. SmarterStats doesn't touch your pages, so both can run at the same time.
Does SmarterStats sample data?
No. Every report is built from every logged request, whatever the size of your date range or the filters you add.
How long does SmarterStats keep my data?
As long as you want. Your logs and reports stay on your servers, and you set the retention for each site.
What does SmarterStats cost?
SmarterStats Free covers one site. Professional starts at $525 and Enterprise at $775, for 50 sites.