🦊 Statfox
Privacy-first web analytics on your own server. Unlimited sites, no cookies, no monthly bill.
Plausible charges $9–19/month, tiered by your traffic, forever. Google Analytics is "free" — paid for with your visitors' data and your consent banner. Statfox is a lightweight analytics server you run yourself: one <2KB script tag, one dashboard for every site you own, no cookies, no consent banner, no data leaving your server.
Statfox, as it actually looks — a real screenshot, not a mockup.
Features
< 2KB tracking snippet
One deferred script tag. Cookie-free and GDPR-friendly — no consent banner needed.
Uniques without cookies
Daily-rotating salted hash of IP + user agent. Raw IPs are never stored; yesterday's salt is deleted so hashes can't be linked across days.
Unlimited sites
Track every client site from one dashboard — no per-site pricing, no traffic tiers.
The numbers that matter
Visitors, pageviews, bounce rate, visit duration — each compared to the previous period.
Full breakdowns
Top pages, grouped referrers (Google, HN, Reddit, X…), countries, devices, browsers, OS, and UTM source/medium/campaign.
Realtime + SPA-aware
Visitors in the last 5 minutes, live. pushState/replaceState navigation tracked automatically; custom events via statfox('signup').
Client-shareable dashboards
One toggle mints a tokenized read-only dashboard URL you can send to clients. Revoke any time.
One process, one SQLite file
Node + better-sqlite3, configurable retention pruning. Runs happily on a $5 VPS.
Statfox vs Plausible
Plausible at $9–19/mo runs roughly $108/year — $216 over two years. Statfox is $49, once.
| Statfox | Plausible | |
|---|---|---|
| Price | $49 once | $9–19/month, tiered by traffic |
| Cost over 3 years | $49 | ~$324–684 |
| Sites included | Unlimited | Tiered |
| Traffic limits | None — it's your hardware | 10k–100k pageviews/mo per tier |
| Cookies / consent banner | None needed | None needed |
| Data ownership | Your server, your SQLite file | Their cloud (or complex self-host) |
| Client share links | Yes, tokenized | Yes |
| Source code | MIT, yours | Open source (AGPL), hosted paid |
Under 3 months of a Plausible Growth plan pays for Statfox — then analytics on every site you'll ever build is free.
Three steps, no subscription
Buy once on Whop
One-time $49 for the packaged version with 1-click setup and updates.
Deploy to a $5 VPS
docker compose up -d, point analytics.yourdomain.com at it, put free Cloudflare in front and country breakdowns light up automatically. Desktop mode works for checking numbers locally.
Paste one script tag
Add a site in the dashboard, copy the snippet, paste it into your site's head. Numbers start flowing immediately.
Honest answers
Is it really free on GitHub?
Yes — MIT source at github.com/bensblueprints/web-analytics, always. $49 buys the packaged version, 1-click setup and updates.
Is it really GDPR-friendly without a banner?
Yes — no cookies, no localStorage, no fingerprinting. Uniqueness is a daily-rotating salted hash computed in memory; raw IPs are never written to disk and old salts are deleted, so a visitor hash is meaningless after 24 hours.
Do I need a server?
For public sites, yes — the collect endpoint must be reachable from your visitors' browsers, so budget a $5 VPS. That still costs less per year than most Plausible tiers, and it can host half this suite at once.
What doesn't it do vs GA4?
Honestly: no funnels, no e-commerce revenue attribution, no Google Ads integration, no BigQuery export. Statfox covers the numbers most site owners actually check — traffic, sources, pages, countries, UTMs, custom events. If you live in GA4's advertising reports, keep GA4.
Can I track single-page apps?
Yes — the snippet hooks pushState, replaceState and popstate automatically, and you can fire custom events like statfox('signup') from anywhere.
Deep-dive comparisons:
Own Statfox forever
$49 once. Deploy on your own server — your data never leaves it. No renewal, no account with us, no meter. Or build it yourself from the MIT source — it's the same app.