Stackrail

Cloudflare Web Analytics vs Google Analytics 4

The same readings for both, taken the same way. Where one is better on a measured row, it gets a green edge.

Cloudflare Web Analytics

Free, cookieless web analytics from Cloudflare, added with a JavaScript beacon or switched on automatically for sites proxied through Cloudflare.

Google Analytics 4

Google's free, event-based web and app analytics, tied to Google Ads and BigQuery.

Cloudflare Web AnalyticsGoogle Analytics 4
Entry price historyno paid priceno paid price
Incidents, 90 days vendor status page53no public status page
Script weightno embedadds 155 KB, 2 requests, sets 2 cookies
Lock-inexports APIno card, exports CSV, PDF + API
Starts atFree planFree plan
Cost for 100,000 monthly pageviews, 1 sites $0/mo on Free $0/mo on Standard (free)
Free planFree. Up to 10 sites per account when not proxied through Cloudflare (soft limit, raise via support); no limit for proxied sites. No stated pageview cap. Data viewable for the previous 6 months; queries are sampled.Free standard property; event data retention 2 or 14 months; BigQuery daily export capped at 1M events/day
Free trialnone listednone listed
Card to sign upunknownNo
Signup formunknownunknown
ExportAPICSV, PDF, Google Sheets, BigQuery, API
Contractfree, no contractfree; Analytics 360 by contract

Change the numbers in the calculator

What switching takes

From Cloudflare Web Analytics to Google Analytics 4

Some work
  • +1Cloudflare Web Analytics exports only through its API, so someone technical has to pull the data
  • Export note: Metrics can be queried through Cloudflare's GraphQL Analytics API (sampleInterval field shows the sampling applied). No separate export feature is described.
  • +1Google Analytics 4 has no importer for Cloudflare Web Analytics, so you move the data yourself
  • Cloudflare Web Analytics contract: free, no contract

From Google Analytics 4 to Cloudflare Web Analytics

Some work
  • Google Analytics 4 exports CSV, PDF, Google Sheets, BigQuery, API
  • Export note: Reports download as CSV, PDF or Google Sheets (up to 100,000 rows). BigQuery export of raw events (standard: 1M events/day daily export; streaming has no volume limit). Google Analytics Data API for aggregated reports. Requires a Google account to sign up.
  • +1Cloudflare Web Analytics has no importer for Google Analytics 4, so you move the data yourself
  • Google Analytics 4 contract: free; Analytics 360 by contract

Sources

Cloudflare Web Analytics

  1. product page; free, JavaScript beacon or proxy setup checked Nov 24, 2026
  2. 10-site soft limit, 6 months of data, 7-day unsampled retention, dynamic sampling, GraphQL API, DNS-only sites need manual setup checked Nov 24, 2026
  3. 10 sites when not proxied, unlimited when proxied, rules per plan, 1,000 sites in aggregate view checked Nov 24, 2026
  4. Cloudflare status page checked Nov 24, 2026

Google Analytics 4

  1. product page: free of charge, 360 for enterprises, no 360 price checked Nov 21, 2026
  2. data retention options, 360-only 26/38/50 months checked Nov 21, 2026
  3. BigQuery export limits and streaming cost checked Nov 21, 2026
  4. report download as PDF, CSV, Google Sheets checked Nov 21, 2026