Compare
Dataflare vs Cloudflare Web Analytics
Cloudflare Web Analytics is Cloudflare's free, privacy-first web analytics. Dataflare is open-source analytics that runs in your own Cloudflare account.
The short answer
Cloudflare Web Analytics is free and needs no setup if your site is already behind Cloudflare. It counts page views and visitors, and doesn't support custom events. Dataflare runs on the same platform, in your account, and covers what comes next: events, funnels, retention, people, replay and experiments.
Side by side
| Feature | Dataflare | Cloudflare Web Analytics |
|---|---|---|
| Where your data lives | Your own Cloudflare account (D1 and R2) | Cloudflare's analytics platform |
| Source code | Open source, MIT | Proprietary |
| What you pay | Your Cloudflare bill: $0 on Workers Free for small sites, $5/month Workers Paid above that | Free |
| Cookieless mode | Yes | Yes |
| Web analytics | Yes, with Core Web Vitals and errors | Yes (page views, visitors, performance) |
| Funnels and retention | Yes: trends, funnels, retention, cohorts | No (no custom events) |
| Session replay | Yes, with a text transcript for agents | No |
| Feature flags and A/B tests | Yes: flags in your Worker, Bayesian experiment results | No |
| Raw SQL on your events | Yes, read-only SQL in the dashboard, CLI and MCP | GraphQL API on sampled data |
Checked November 2026. Sources: About Cloudflare Web Analytics, Web Analytics FAQ. Spotted something out of date? Open an issue.
Choose Cloudflare Web Analytics if you want
- Free, and on by default for proxied sites.
- Nothing to deploy or upgrade.
Choose Dataflare if you want
- Custom events, people, funnels, retention and cohorts.
- Unsampled, row-level events in your own D1 database.
- Session replay, feature flags and A/B tests.
- An MCP server for your coding agent.
Moving from Cloudflare Web Analytics to Dataflare
- Keep Web Analytics if you like; Dataflare runs alongside it.
- Run
npx dataflare-cli init, add the script tag, and addglass.capture()for the actions that matter.