Comparison · Comparisons

Cloudflare Web Analytics vs Google Analytics

Cloudflare Web Analytics is free and privacy-first but basic. GA4 is free and deep but complex. What each does, what each lacks, and when to use something else.

· 3 min read

Two comparison cards beside the DataFair mark

Both are free, and both are a few clicks away if your site is already on Cloudflare or Google. They're built for very different jobs. Cloudflare Web Analytics is a lightweight traffic counter. Google Analytics 4 is a full analytics platform. We make DataFair, which runs on Cloudflare's infrastructure, so we know both well.

At a glance

Cloudflare Web AnalyticsGoogle Analytics 4
PriceFreeFree
Privacy approachPrivacy-first, no fingerprintingCookies; consent banner usually needed in the EU and UK
Visitors, pages, referrers, countries, devicesYesYes
Core Web Vitals and page load timingYesLimited
Custom events and goalsNoYes
UTM campaign reportsNot reported, according to independent reviewsYes
Revenue and ecommerceNoYes, with purchase events
Google Ads integrationNoDeep
Learning curveMinimalSteep

Cloudflare's feature set changes; check its documentation for the current list.

Choose Cloudflare Web Analytics if

  • You want free, simple traffic counts and performance data for a blog or personal site.
  • You already use Cloudflare and want zero setup.
  • You don't need goals, campaigns or revenue.

Choose GA4 if

  • You run Google Ads and need conversions and audiences.
  • You need custom events, funnels and segments, and someone has time to learn GA4.
  • Free matters more than simplicity.

When neither fits

The gap both leave: revenue by traffic source for a business that sells online. Cloudflare has no revenue at all. GA4 records purchases you send from the browser, and often misses payments completed on a provider's checkout page, plus renewals and refunds. Why GA4 misses Stripe sales.

DataFair sits between them: simple like Cloudflare, with goals, funnels, campaigns and revenue from your payment provider's webhooks, and a cookieless mode. It's paid, from $5.99 a month at launch, falling as more organizations join. DataFair vs GA4 and Cloudflare vs Plausible cover the neighbours.

Visitors and revenue in DataFair
The DataFair demo (sample data).

Related guide: A Google Analytics alternative built around revenue.

Questions

Is Cloudflare Web Analytics better than Google Analytics?
For simple, privacy-friendly traffic counts, it's easier. For goals, campaigns, ads and revenue, GA4 does much more.
Is Cloudflare Web Analytics free?
Yes. It's free, including for sites not proxied through Cloudflare, which can add its JavaScript snippet.
Can I use Cloudflare Web Analytics and GA4 together?
Yes. They run independently.

Related