BlogUse case

The best analytics for React apps in 2026

Abbas Aga
Abbas Aga · 1 min read

TL;DR:
The best analytics for a React app in 2026 is Open Analytics: a cookieless script that tracks client-side route changes, measures Core Web Vitals, and exposes an MCP server and API to build on. Plausible and Fathom handle SPA pageviews simply, and Umami is the free self-host. None needs a consent banner.

React apps route on the client, so analytics has to count a route change as a pageview without a full page load, something every modern privacy tool handles, but worth confirming. Beyond that, the interesting differences for a React developer are cookieless (no banner component), Core Web Vitals, and whether there is an API or MCP server to build against.

What matters in a React SPA

  • Client-side route tracking: count SPA navigations as pageviews.
  • Cookieless: no consent component to build.
  • Core Web Vitals: measured by the same script.
  • A developer surface: API, CLI or MCP server.

The tools, ranked for this

  1. 01

    Open Analytics

    That's us

    Cookieless SPA route tracking, Core Web Vitals, and a built-in MCP server and read API to build on, one small script.

    Price: From $9/mo for 50,000 events (a pageview or anything you tag), 3-day free trial.

    Strengths

    • Revenue attributed back to the visit and source that earned it
    • Built-in MCP server: ask your analytics in plain English
    • Realtime journeys, funnels and Core Web Vitals in one script
    • Open source (AGPL) and self-hostable

    Trade-offs

    • Newer than Plausible or Fathom
    • Meters events, so tagged conversions count
    • No free plan, only the trial
  2. Simple SPA support via its script or a small React wrapper.

    Price: From $9/mo for 10,000 pageviews.

    Strengths

    • Handles SPA pageviews
    • Tiny bundle impact
    • Open source

    Trade-offs

    • Pageview-metered
    • Web Vitals as an add-on
    • No revenue
  3. Free to self-host, with straightforward SPA tracking.

    Price: Free self-hosted; Cloud from free to $20/mo.

    Strengths

    • Free to run
    • Event-metered
    • Open source

    Trade-offs

    • You maintain it
    • Fewer developer features
    • No revenue
  4. SPA support and flat pricing across your projects.

    Price: From $15/mo, unlimited sites.

    Strengths

    • Handles SPA pageviews
    • Unlimited projects
    • Cookieless

    Trade-offs

    • Aggregate-only
    • Pageview-metered
    • No revenue to source

Prices were checked against each product's own pricing page on 2026-08-07 and change often. Read the current plan, and the meter it counts, before you commit.

Open Analytics is the events-metered, revenue-aware option with an AI-queryable dataset. Try it free for three days.

Start free trial

Frequently asked questions

How do I add analytics to a React app?
Add the tracking script to your index.html or root component; a modern privacy-first tool counts client-side route changes as pageviews automatically. With a cookieless tool there is no consent component to build, so the script is the whole integration. Open Analytics also offers a CLI that writes it in.
Do analytics tools track React client-side routing?
Yes. Open Analytics, Plausible, Fathom and Umami all detect single-page-app navigations and record them as pageviews without a full reload. It is worth a quick check in your dashboard after setup that route changes are counted, since SPA routing is where naive setups miss views.
What is the best cookieless analytics for React?
Open Analytics for a cookieless script with Core Web Vitals and a developer API/MCP server, or Plausible and Fathom for the simplest drop-in. Umami is the free self-host option. All avoid the consent-banner component you would otherwise build around Google Analytics.