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

FeatureDataflareCloudflare Web Analytics
Where your data livesYour own Cloudflare account (D1 and R2)Cloudflare's analytics platform
Source codeOpen source, MITProprietary
What you payYour Cloudflare bill: $0 on Workers Free for small sites, $5/month Workers Paid above thatFree
Cookieless modeYesYes
Web analyticsYes, with Core Web Vitals and errorsYes (page views, visitors, performance)
Funnels and retentionYes: trends, funnels, retention, cohortsNo (no custom events)
Session replayYes, with a text transcript for agentsNo
Feature flags and A/B testsYes: flags in your Worker, Bayesian experiment resultsNo
Raw SQL on your eventsYes, read-only SQL in the dashboard, CLI and MCPGraphQL 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

  1. Keep Web Analytics if you like; Dataflare runs alongside it.
  2. Run npx dataflare-cli init, add the script tag, and add glass.capture() for the actions that matter.

Other comparisons