An alternative to Cloudflare Web Analytics

Cloudflare launched its web analytics at the end of 2020. It offers privacy-first, lightweight, and simple website analytics, and it's free.

Fathom Analytics launched in 2018 and also offers simple, privacy-focused website analytics. Ours is a paid product, and as you'll see below, paying for analytics has some benefits.

At a glance

Fathom Cloudflare Web Analytics
Price From $15/month, with a 7-day free trial Free
Data history Your full history while you're subscribed The previous six months, sampled after the first week
Exports CSV exports of all your data, at any time No CSV download in the dashboard; data is available through the GraphQL API
Unique visitors People, counted once per day however many pages they view Each arrival from another website or a direct link counts as a visit
Campaigns and events UTM campaigns, events, and live visitors No UTM parameters or custom events
Bots Filtered out automatically Removed only if you add the “Exclude Bots” filter
Page performance Not included Page load times and Core Web Vitals
Support Email support from our team on every plan Community forum on free plans

Which Cloudflare product are we comparing?

It's a little confusing: Cloudflare offers “Analytics” and “Web Analytics,” which are quite different products. Cloudflare Analytics is similar to server-side logs, based on traffic passing through Cloudflare rather than a JavaScript embed. Like other server log tools, it includes things like bots and spam, which Fathom filters out for every customer, and it doesn't do a good job of telling whether someone is a unique visitor.

Cloudflare Web Analytics is the product this page compares. Like Fathom, it's a small JavaScript embed that collects privacy-focused website stats. Cloudflare says it “does not collect or use your visitors' personal data.” Fathom works the same way.

Keeping and exporting your data

Cloudflare Web Analytics lets you see data for the previous six months, so there isn't much history to compare periods against. Cloudflare's FAQ also explains that after the first week it keeps only around 10% of the data, so older figures are estimates from a sample. There's no CSV download in the dashboard either. Developers can pull data out through Cloudflare's GraphQL API, but that means writing queries.

Fathom keeps your data for as long as you're a customer, so you can compare your first day of data with today. Your numbers aren't sampled, and you can export everything as CSV files at any time, or use our Analytics API, because it's your data. If you cancel, export first: closing your account queues your data for deletion.

Counting unique visitors

In Fathom, a unique visitor is a person. Someone can visit three times in a day and view 16 pages, and they're still one unique visitor with 16 pageviews. We reset unique visitors every 24 hours for privacy, and we filter bots and spam. You can even exclude your own visits.

Cloudflare defines a visit differently:

“A page view that originated from a different website or direct link. Cloudflare checks where the HTTP referer does not match the hostname. One visit can consist of multiple page views.”

So if the same person arrives from another site three times, Cloudflare counts three visits. Keep that in mind if you compare the two tools' numbers.

How much data you can see

Cloudflare Web Analytics is simpler than Fathom, and some useful reports are missing. It doesn't support UTM campaign data or custom events (Cloudflare's FAQ says "not yet" to both), so there's no ecommerce or revenue reporting, and you won't find live visitors or entry pages. Its dashboard shows the referring site but not the full referring page, and bot traffic is only removed if you add the “Exclude Bots” filter.

Fathom includes all of these, and they're straightforward to set up. You can see which campaigns are working, which products sell (and how much revenue they bring in), and whether your site is having a busy moment right now. You can also see which AI tools send you visitors and connect Google Search Console.

Where Cloudflare does more is page performance: it shows page load times, first paints, and Core Web Vitals. You can get those from other free tools, but it's handy to see them in one place.

Smaller differences

Fathom sends weekly and monthly email reports, lets you share a dashboard with anyone in a few clicks, includes a Google Analytics importer, and has a dark mode. Cloudflare sends a weekly summary email and lets you add teammates to your account, but it has no public or shareable dashboards and no importer. Sites that aren't proxied through Cloudflare are limited to 10, while every Fathom plan includes at least 50.

For EU visitors, Cloudflare's EU setting stops measuring them altogether, and keeping data in a region needs its Enterprise-only Data Localization Suite. Fathom's EU data isolation is included on every plan.

Support is different too. Cloudflare's free plans rely on a community forum where other customers can sometimes help. Fathom's support team is an email away on every plan.

Paid or free analytics?

Cloudflare can offer free web analytics because it makes money from other products. That's a reasonable choice for Cloudflare, but it means analytics isn't its main focus. Most recent Web Analytics updates have been to performance measurement, and UTM and custom event support are still listed as “not yet”.

Fathom only does website analytics. It's our one product, and we keep improving it, as you can see in our changelog. Our business model is simple: we charge a fair price (from $15/month) and use that revenue to improve the software. If you're also weighing up Google Analytics, see how Fathom compares with GA4.

Choose the tool that fits your work

If you need a free, basic view of traffic and page performance, Cloudflare Web Analytics may be enough, and its weekly email and Core Web Vitals are useful. If you want unsampled history that you keep, campaigns, events and revenue, simple exports, and a person to email when you need help, try Fathom alongside it and see which one you reach for.

See if Fathom is right for you

Explore the dashboard with real data, or try Fathom on your own website with a 7-day free trial. See our pricing and plans.