Skip to content

Compare

nanolytics vs Cloudflare Web Analytics

nanolytics is web analytics, error tracking and session replay in one script, with an MCP server your coding agent reads. Cloudflare Web Analytics is Cloudflare’s free pageview and page speed analytics.

At a glance

nanolyticsCloudflare Web Analytics
Price at 1M a monthFreeFree
Free plan1M events a monthNo pageview cap published
The meter countspageviews and custom eventspageviews (not billed)
Data keptNo limit, at full detail6 months; full detail for 7 days, then sampled to about 10%
Hosted inEvents and recordings in the EU (Cloudflare R2); sign-in in the US (WorkOS)Not published
Without cookiesYes. By default it keeps a random visitor ID in localStorage, which EU rules treat like a cookie; in consent mode it keeps none.Yes
Script size1.5 KB with every option off; replay adds up to 2 KB, and up to 20 KB more on page loads it recordsNot published
Open sourceNoNo
Self-hostedNoNo

Features

nanolyticsCloudflare Web Analytics
Traffic dashboardYesYes
Custom eventsYesNo
FunnelsYesNo
PathsYesNo
Error trackingYesNo
Session replayYesNo
Web VitalsYesYes
Query APIYesYes
MCP serverYesNo
Raw SQLNoNo

What a month costs

At each volume of the product’s own unit, on the cheapest plan that covers it. nanolytics counts pageviews and custom events; Cloudflare Web Analytics counts pageviews (not billed).

A monthnanolyticsCloudflare Web Analytics
100kFreeFree
1MFreeFree
10M$9Free
100M$54Free
  • nanolytics: Free up to 1M events a month; Pro, which opens soon, is $9 with 10M included, then $0.50 per million. Errors and replays aren’t billed.
  • Cloudflare Web Analytics: Free on every Cloudflare plan. Reports are sampled.

Which to use

Use nanolytics when

  • You want traffic, errors and replays from one script, on one bill.
  • Your coding agent should install it and read the numbers over MCP.
  • You want full history with no retention limit, without paying for storage or seats.

Keep in mind

  • Hosted only: there is no self-hosted version.
  • New: no integrations marketplace or data warehouse export yet.

Use Cloudflare Web Analytics when

  • You want free, cookieless traffic counts.
  • You want real-user Core Web Vitals, down to the element.
  • Your site is behind Cloudflare and you want counts from its edge.

Keep in mind

  • No custom events, funnels or paths.
  • Reports are sampled; full detail is kept for 7 days.

Questions

Is nanolytics cheaper than Cloudflare Web Analytics?
At 1 million a month it's free for nanolytics and free for Cloudflare Web Analytics; at 10 million, $9 for nanolytics and free for Cloudflare Web Analytics. They don't meter the same thing: nanolytics counts pageviews and custom events, Cloudflare Web Analytics counts pageviews (not billed).
What does each have that the other doesn't?
nanolytics has custom events, funnels, paths, error tracking, session replay and an MCP server.
Do nanolytics and Cloudflare Web Analytics use cookies?
nanolytics sets no cookies. By default it keeps a random visitor ID in localStorage, which EU rules treat like a cookie; in consent mode it keeps none. Cloudflare Web Analytics says it works without cookies. Whether you need a consent banner also depends on what else your site does.
Can I self-host nanolytics or Cloudflare Web Analytics?
nanolytics is hosted only. Cloudflare Web Analytics is hosted only.
How long is data kept?
nanolytics, no limit, at full detail; Cloudflare Web Analytics, 6 months; full detail for 7 days, then sampled to about 10%.

Try nanolytics

Free up to a million events a month. Your coding agent can install it.

More comparisons

Checked on 17 November 2026 against each vendor’s own pages. Prices are list prices with monthly billing, before tax. Written by nanolytics, one of the products compared.