A Google Analytics alternative that lives on your own server
Pagereckon is a Google Analytics alternative for WordPress that reads your server access log instead of running a tracker in the browser. It sets no cookies, it needs no consent banner for counting visits, and the data never leaves your server.
It is not a full GA4 replacement, though. This page lays out what you gain, what you give up, and when it makes sense to keep both.
Why people look for a Google Analytics alternative
Most site owners do not leave GA4 because it lacks features. They leave because the basics got harder. The reports take time to learn, the numbers often look too low, and the cookie banner annoys readers.
- Cookies and consent. GA4 sets a
_gacookie that lasts two years by default, so many sites show a consent banner first. - Missing visitors. Ad blockers and privacy browsers can stop the GA4 script, and those readers never show up.
- Data on someone else's server. Every hit goes to Google, not to your own database.
- Complexity. Simple questions, such as which posts got AI referral traffic, need custom reports.
So a simpler tool that answers the daily questions honestly can be the better fit, as long as you know its limits.
How a log-based Google Analytics alternative works
Your web server writes one line for every request: the page, the time, the status, the referrer and the browser. Pagereckon reads those lines every 10 minutes, sorts people from bots, and stores clean daily totals in your WordPress database.
Because the server writes the line before any script runs, an ad blocker cannot hide it. Also, the visit counts even when the reader declines every cookie, since there are no cookies to decline. The only thing a browser loads is a 42-byte image, once per session, to prove a real browser opened the page.
Self-hosted by design
Pagereckon runs inside WordPress on your own hosting. Nothing leaves your server, and we never see your numbers. Visitors are counted as a salted hash of IP and browser, and the plugin never stores the IP itself. See the privacy-friendly analytics guide for the details.
What you gain and what you lose vs GA4
A fair choice starts with a fair table. GA4 is a large product, and a log reader cannot do everything it does.
| Feature | Pagereckon | GA4 |
|---|---|---|
| Cookies | None | _ga and session cookies |
| Visitors with ad blockers | Counted | Often missing |
| Bots and AI crawlers | Shown per page | Filtered out, not shown |
| AI referral visits | Own source, no setup | Custom channel group |
| Where data lives | Your server | |
| Custom events and clicks inside a page | No | Yes |
| Funnels and paths | No | Yes |
| Audiences for ads | No | Yes |
| Cross-device users | No | Yes, with signed-in users |
In short, GA4 wins on marketing tools. For example, a funnel exploration shows where people drop out of a checkout, and a log cannot see button clicks inside a page. Pagereckon wins on honest visitor counts, bots, AI crawlers and privacy.
When a Google Analytics alternative is enough
A log-based tool fits most content sites well. Think blogs, magazines, niche sites, documentation and small business sites. Their main questions are which pages people read, where they come from, and what changed this week.
However, keep GA4 if you run paid ads with audiences, sell through a multi-step checkout, or need event funnels. Many sites run both. Then Pagereckon gives the honest count of people and bots, and GA4 handles the marketing events.
Also, if you rely on Search Console, the Pro add-on reads it per page and suggests what to fix. It never rewrites your content, and the data stays in your WordPress database. Compare it with Site Kit, which brings Google's own data into WordPress.
Switch to the Google Analytics alternative in a few minutes
- Download the free plugin and install it from your WordPress dashboard.
- Open Settings and run Find my log. It checks the usual paths for cPanel, Plesk, CWP, DirectAdmin, Apache, Nginx and LiteSpeed.
- Press Use this log next to the file for your site.
- Wait for the next 10-minute run, or add a server cron with
wp pagereckon ingest.
Finally, keep GA4 running for a few weeks if you want to compare. Expect Pagereckon to show more people, because blocked scripts do not hide log lines.
Google Analytics alternative FAQ
Is Pagereckon a self-hosted Google Analytics alternative?
Yes. It runs inside WordPress on your own server, reads your own access log, and sends your data nowhere.
Do I still need a cookie banner?
Pagereckon sets no cookies and stores no IP addresses, so there is nothing for a visitor to consent to. Still, check your own legal situation, especially if other plugins set cookies.
Can it track events, funnels or conversions like GA4?
No. It counts page requests, so it cannot see clicks inside a page. It does count affiliate clicks on redirect links such as /go/ and Pretty Links, since those are requests too.
Can I import my old GA4 data?
No. Pagereckon starts from your server log. It can read rotated .gz copies, so how far back you see depends on how long your host keeps logs.