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
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 Analytics | Google Analytics 4 | |
|---|---|---|
| Price | Free | Free |
| Privacy approach | Privacy-first, no fingerprinting | Cookies; consent banner usually needed in the EU and UK |
| Visitors, pages, referrers, countries, devices | Yes | Yes |
| Core Web Vitals and page load timing | Yes | Limited |
| Custom events and goals | No | Yes |
| UTM campaign reports | Not reported, according to independent reviews | Yes |
| Revenue and ecommerce | No | Yes, with purchase events |
| Google Ads integration | No | Deep |
| Learning curve | Minimal | Steep |
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.

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.