Build Self-Hosted Web Analytics on Cloudflare Workers + D1 — No Server, Setup to Dashboard
GA4 and GoatCounter miss half your traffic to ad blockers and bots. But standing up a whole backend just for analytics is overkill. Here's a self-hosted web analytics setup on Cloudflare Workers + D1 with zero servers — from D1 creation and wrangler deploy to fail-open, cookieless visitors, bot filtering, and a dashboard nobody else can open — all with the actual code.

