ArticlesComparison

10 Best Web Analytics Tools in 2026 (Free and Paid)

The 10 best web analytics tools compared on cookies, script size, self-hosting and price. Google Analytics, Plausible, Matomo, Umami, OpenPanel and more.

OpenPanel Team · Updated

Every website needs an answer to three questions: how many people came, where they came from, and what they did. Ten years ago Google Analytics was the default answer. In 2026 the list is longer, and the differences are bigger than the dashboards suggest.

This comparison is for people who have to pick one tool: marketers who want a cleaner replacement for GA4, developers who care what the script costs in page weight, founders who need pageviews today and funnels next quarter. It covers cloud and self-hosted tools alike. If you only want tools you can run yourself, read the self-hosted web analytics comparison; if open source is the requirement, the open source analytics survey sorts the options by license.

Three things separate the tools below. Whether they set cookies, which decides if you need a consent banner in the EU. How heavy the script is, from 1.3 KB to 155 KB gzipped. And whether you get web analytics only or product analytics too (funnels, retention, user profiles, session replay).

Quick comparison

ToolCookie-freeScript size (gzipped)Self-hostFree tierPaid fromBest for
OpenPanelYes3.3 KBYes, AGPL-3.0No, 30-day trial$2.50/mo (5k events)Web and product analytics in one tool
Google Analytics 4No155 KBNoYesGA 360, quotedGoogle Ads users and marketing teams
PlausibleYes1.3 KBYes, AGPL-3.0No, 30-day trial$9/mo (10k pageviews)Content sites that want one simple page
MatomoNo, cookies by defaultVariesYes, GPL-3.0Self-host only€29/mo (50k hits)Full GA replacement under your control
UmamiYes3.9 KBYes, MITYes, 100k events$20/mo (1M events)Developers who want MIT-licensed analytics
FathomYes2.1 KBNoNo, 7-day trial$15/mo (100k pageviews)Agencies tracking many small sites
Simple AnalyticsYes4.8 KBNoYes, 1 month history€20/mo (100k pageviews)EU teams who want a Dutch host
PostHogNo, cookie + localStorage107 KBHobby onlyYes, 1M eventsUsage-basedProduct teams who also want flags and replay
Microsoft ClarityNoNot measuredNoYes, unlimitedFree onlyFree heatmaps and recordings next to GA
PirschYes3.5 KBEnterprise onlyNo, 30-day trial$6/mo (10k pageviews)Cheap, German-hosted traffic stats

Prices checked November 2026. Script sizes are what we downloaded from each vendor's CDN on 1 November 2026, gzipped. Matomo's size depends on enabled plugins; Clarity's tag only loads with a real project id.

How to choose a web analytics tool

A tool that stores an identifier in the browser needs consent under ePrivacy rules in most EU countries. GA4 keeps its client id in a two-year first-party cookie, Matomo sets a visitor cookie unless you call disableCookies, PostHog uses localStorage plus a cookie. All three need a banner, and visitors who decline are not counted. OpenPanel, Plausible, Umami, Fathom, Simple Analytics and Pirsch store nothing in the browser; they hash IP address and user agent with a salt that changes daily. Our cookieless analytics article explains why that lets you skip the banner.

Script size and Core Web Vitals

Plausible's script is 1.3 KB gzipped, Fathom's 2.1 KB, OpenPanel's 3.3 KB. The GA4 loader we downloaded was 155 KB and PostHog's array.js 107 KB. On a mid-range phone that is tens of milliseconds of main-thread work on every page, which lands on Interaction to Next Paint.

Sampling and data retention

Free GA4 properties keep event data for 2 or 14 months, and Explorations sample once a query touches more than 10 million events. Clarity keeps recordings for 30 days. Simple Analytics' free plan shows one month of history. If you want to compare this November with last November, check retention before price.

Web analytics or product analytics

Web analytics is about traffic: pages, referrers, countries, devices, campaigns. Product analytics is about users: which steps they complete, whether they come back, what one account did last week. Fathom, Simple Analytics and Pirsch stay on the traffic side, Plausible adds funnels on its top plan, Umami has added funnel and retention reports. OpenPanel and PostHog cover the whole range including user profiles and session replay. If you run a SaaS or an app, a traffic-only tool means a second tool later, with a second script and a second bill.

Self-hosting

OpenPanel, Plausible, Matomo and Umami run on your own server, which removes the vendor from the data flow and the per-event bill in exchange for a server to maintain. Our self-hosted web analytics comparison covers deployment and server cost for each.


OpenPanel

Best for: Teams that need web analytics and product analytics in one tool, cloud or self-hosted

OpenPanel gives you the traffic dashboard and, on the same events, funnels, retention, user profiles and session replay. One 3.3 KB script, no cookies, Cloud data in the EU. The code is AGPL-3.0 (7,200 GitHub stars); self-hosting runs on Docker Compose with ClickHouse, Postgres and Redis behind a one-command setup script, and gets the same features one to two months after Cloud.

OpenPanel web analytics dashboard

Key features

  • Realtime web analytics: pages, referrers, UTM campaigns, devices, geography
  • Funnels, retention and user profiles on the same event data
  • Session replay in every plan, not metered separately
  • SDKs for web, React, Next.js, Vue, Nuxt, Astro, Remix, React Native, Swift, Kotlin and five server-side languages

Pricing

By monthly events, every feature on every tier: $2.50 for 5,000, $5 for 10,000, $20 for 100,000, $90 for 1 million, $350 for 10 million. 30-day trial, no card, no free tier after it. Self-hosting is free. See pricing.

Pros

  • Web analytics, product analytics and replay in one cookie-free tool
  • Flat monthly tiers, nothing metered separately
  • Self-hosting is the full product

Cons

  • No free cloud tier; Umami and PostHog give you more for $0
  • No heatmaps, no Google Analytics import
  • Smaller community than Matomo or PostHog
Try OpenPanel on your own traffic

Start a 30-day Cloud trial, no card needed. Add the 3.3 KB script, watch the realtime view fill up, then build a funnel on the same events. Or self-host it for free with Docker Compose.


Google Analytics 4

Best for: Teams that run Google Ads and want attribution in the same place

GA4 is still the most installed analytics tool on the web, and still free. If you spend on Google Ads, nothing else links campaigns, conversions and audiences as tightly. The costs are elsewhere: a 155 KB loader, a two-year first-party cookie that needs a banner in the EU, 2 or 14 months of retention, and sampled Explorations above 10 million events per query.

Key features

  • Event-based model with free BigQuery export
  • Google Ads, Search Console and Merchant Center integrations
  • Explorations: funnels, path analysis, segment overlap
  • Audiences you can push back into Google Ads

Pricing

Free. GA 360, the enterprise tier with unsampled queries and up to 50 months of retention, is sold through Google sales and resellers. Google does not publish the price; third-party reports put the entry point around $50,000 a year.

Pros

  • Free with no traffic cap
  • Deepest Google Ads and Search Console integration
  • The tool agencies and hires already know

Cons

  • Consent banner in the EU, and the declines are invisible
  • 155 KB script
  • 14-month retention and sampled Explorations

Compare with OpenPanel: Google Analytics vs OpenPanel


Plausible

Best for: Content sites and blogs that want the whole picture on one page

Plausible is the simplest serious tool here. One page shows visitors, sources, pages, countries, devices and goals, and that page is the product. The script is 1.3 KB gzipped, the smallest we measured, tracking is cookie-free, and the company (Plausible Insights OÜ, Estonia) keeps data in the EU. The code is AGPL-3.0 with 29,700 GitHub stars, but the self-hosted Community Edition ships twice a year without funnels or user journeys.

Plausible dashboard

Key features

  • Single-page dashboard with realtime visitors
  • Goals, custom events and custom properties
  • Funnels (2 to 8 steps) and user journeys on the Business plan
  • Google Search Console integration and Google Analytics import

Pricing

By monthly pageviews. At 10,000: Starter $9, Growth $14, Business $19. At 100,000: $19, $29, $39. At 1 million: $69, $104, $139. Funnels need Business. 30-day trial, no card, no free tier. The Community Edition is free to self-host.

Pros

  • Smallest script on the list
  • Nothing to learn; the dashboard is the manual
  • GA import keeps your history when you switch

Cons

  • No user-level data, retention or replay, by design
  • Funnels locked to the Business plan
  • Community Edition lags Cloud and lacks funnels

Compare with OpenPanel: Plausible vs OpenPanel


Matomo

Best for: Organisations that want everything GA offers, on servers they control

Matomo started as Piwik in 2007 and is the closest thing to Google Analytics you can run yourself. It also behaves like GA by default: it sets a first-party visitor cookie, so you need consent unless you call disableCookies, which lowers returning-visitor accuracy. It runs on PHP and MySQL, and the premium plugins cost money even on your own server.

Matomo dashboard

Key features

  • Campaigns, goals, ecommerce, site search, segments, custom dimensions
  • Heatmaps, recordings, funnels and A/B testing (premium on-premise, included in Cloud)
  • Google Analytics importer and built-in tag manager
  • Consent manager, anonymisation and erasure requests for GDPR

Pricing

On-premise is free under GPL-3.0 with unlimited hits; premium plugins come separately or in bundles from €275 (Matomo's pricing page lists the bundles without a billing period). Cloud starts at €29 a month for 50,000 hits, hosted in Frankfurt, with 24 months of raw data retention and the premium features included.

Pros

  • Most complete feature set of any self-hostable tool
  • Nearly 20 years of development, large plugin library
  • Imports GA history

Cons

  • Cookies by default means a banner, or lower accuracy without one
  • Heatmaps, funnels and recordings cost extra even when self-hosted
  • PHP and MySQL are heavier to run than Docker-only tools

Compare with OpenPanel: Matomo vs OpenPanel


Umami

Best for: Developers who want MIT-licensed analytics they can deploy anywhere

Umami is the most-starred project on this list, 39,800 GitHub stars under MIT. It is a Node.js app with Postgres or MySQL behind it, easy to self-host on a $5 VPS. The tracker is 3.9 KB gzipped and sets no cookies. Umami has grown past pageviews and now has funnel, retention and journey reports; session replay and heatmaps exist too, but only on the $200 Cloud plan.

Umami dashboard

Key features

  • Realtime dashboard with pages, referrers, devices and locations
  • Reports: funnels, retention, journeys, goals, revenue, attribution
  • Unlimited websites on one self-hosted instance
  • API and MCP access on paid Cloud plans

Pricing

Self-hosting is free with no limits. Cloud Hobby is $0 for 100,000 events a month, one website and 6 months of retention. Pro is $20 a month for 1 million events, 20 websites and 2 years of retention, then $0.00003 per extra event. Business is $200 a month for 10 million events, 5 years of retention and 5,000 session replays.

Pros

  • MIT license, the most permissive here
  • Lightest self-hosting footprint of the four self-hostable tools
  • Free Cloud tier for one small site

Cons

  • Free Cloud tier is now 100,000 events and one website
  • No Search Console integration or GA import
  • Replay and heatmaps only at $200 a month

Compare with OpenPanel: Umami vs OpenPanel


Fathom

Best for: Agencies and indie makers tracking dozens of small sites on one bill

Fathom is a cloud-only, cookie-free tool from Canada with a 2.1 KB script. Every plan includes 50 sites, which is why agencies like it: one subscription covers a client roster. EU visitor data is processed in the EU automatically. Events can carry a value, so you see revenue per source. There are no funnels, no user profiles and no self-hosted version.

Fathom dashboard

Key features

  • Cookie-free tracking, no consent banner
  • Events with value and currency
  • 50 sites on every plan, more in packs of 50 for $10 a month
  • GA4 importer and Google Search Console integration

Pricing

$15 a month for 100,000 pageviews, $25 for 200,000, $45 for 500,000, $60 for 1 million, $200 for 10 million. 7-day trial that requires a card. No free plan.

Pros

  • 50 sites included at $15
  • 2.1 KB script
  • Revenue on events without extra setup

Cons

  • Cloud only
  • No funnels, retention or user-level data
  • 7-day trial that needs a card

Compare with OpenPanel: Fathom vs OpenPanel


Simple Analytics

Best for: EU teams that want a Dutch-owned, EU-hosted tool with a free plan

Simple Analytics is built by Simple Analytics B.V. in the Netherlands, with data stored in the EU. It is cookie-free and collects no personal data; the 4.8 KB script is the heaviest of the privacy tools, still 30 times smaller than GA4's. The free plan is unusual: unlimited pageviews under fair use, 5 websites, one user, but only the latest month of history and a required badge.

Key features

  • Cookie-free, no personal data collected
  • Events and goals, including multi-step funnels
  • Scheduled email reports and filtered shared views
  • AI assistant, CSV export and API

Pricing

Free forever for hobby sites: unlimited pageviews (fair use), 5 sites, one user, one month of history. Self-serve plans start at €20 a month at 100,000 pageviews and scale to 2.5 million; each extra user is €20 a month. Enterprise is quoted.

Pros

  • Free plan with no pageview cap
  • EU company and EU servers; no US transfer unless you opt into AI features
  • Friendly dashboard for non-technical users

Cons

  • Free plan keeps one month of history
  • €20 per user adds up for teams
  • No retention or user profiles, cloud only

Compare with OpenPanel: Simple Analytics vs OpenPanel


PostHog

Best for: Product teams that want web analytics as one tab in a larger engineering platform

PostHog added a web analytics dashboard next to its product analytics, session replay, feature flags, experiments, surveys and error tracking, and the first 1 million events a month are free. It is also the heaviest tool here after GA4: the array.js we downloaded was 107 KB gzipped, and the default persistence is localStorage plus a first-party cookie, so you need consent in the EU unless you switch persistence to memory. Self-hosting is a hobby deployment PostHog does not support for production.

PostHog dashboard

Key features

  • Web analytics plus full product analytics: funnels, retention, paths, cohorts
  • Session replay, heatmaps, feature flags, experiments, surveys, error tracking
  • HogQL, SQL against your events from the dashboard
  • Hobby self-hosting with Docker Compose

Pricing

Usage-based per product. Product analytics: 1 million events free a month, then $0.00005 per event to 2 million and $0.0000343 from 2 to 15 million, so 10 million events cost about $324. Session replay: 5,000 recordings free, then $0.005 each. Flags, surveys and error tracking each have their own meter.

Pros

  • 1 million free events a month
  • Flags, experiments and replay without a second vendor
  • SQL access to raw events

Cons

  • 107 KB script, about 30 times the privacy tools
  • Cookies and localStorage by default, so a banner in the EU
  • Each product metered separately; the bill is hard to predict

Compare with OpenPanel: PostHog vs OpenPanel


Microsoft Clarity

Best for: Free session recordings and heatmaps alongside a traffic tool

Microsoft Clarity is a behaviour tool, not a traffic tool. It records sessions, renders heatmaps, flags rage clicks and dead clicks, and summarises what it saw with Copilot, free with no traffic limit. It does not replace referrer, campaign and conversion reporting; its Google Analytics integration exists because the two are meant to run together. Recordings are kept for 30 days, and since October 2025 Clarity requires a consent signal from EEA, UK and Swiss visitors before it sets its _clck and _clsk cookies.

Key features

  • Recordings for up to 100,000 sessions a day per project
  • Click, scroll and area heatmaps, capped at 100,000 pageviews each
  • Rage click, dead click and quick-back detection, Copilot summaries
  • Google Analytics integration that links recordings to GA sessions

Pricing

Free, with no paid tier.

Pros

  • Free recordings and heatmaps with no traffic cap
  • Pairs with any traffic tool
  • Rage click and dead click detection out of the box

Cons

  • Not a web analytics tool on its own
  • 30-day retention on recordings
  • Cookies, Microsoft hosting, no EU-only option

Compare with OpenPanel: Microsoft Clarity vs OpenPanel


Pirsch

Best for: Developers who want cheap, cookie-free stats hosted in Germany, with a backend SDK

Pirsch is made by Emvi Software GmbH and hosted on Hetzner servers in Germany. It is cookie-free: visitors are counted with a hash of IP address, user agent, date and a per-site salt, so nobody is recognisable for longer than 24 hours. The script is 3.5 KB gzipped, and Pirsch began as a Go library for server-side tracking, which sidesteps ad blockers. At $6 a month it is the cheapest paid tool here.

Pirsch dashboard

Key features

  • Cookie-free tracking with a daily-rotating visitor hash
  • Official JavaScript, Go and PHP SDKs for server-side tracking
  • Goals, events, UTM campaigns and a Google Search Console integration
  • Funnels and A/B testing on Plus

Pricing

Standard: $6 a month for 10,000 pageviews and 50 websites. Plus: $12 a month with unlimited websites, funnels and A/B testing. Enterprise: custom pricing, and the only way to self-host. 30-day trial, no card, no free plan.

Pros

  • Cheapest paid entry on the list
  • Backend tracking from day one
  • German company, German hosting

Cons

  • Self-hosting only on an Enterprise contract
  • No user-level data or retention
  • Small team compared with Plausible or Matomo

Compare with OpenPanel: Pirsch vs OpenPanel


Which web analytics tool should you pick?

  • Choose Google Analytics 4 if you spend on Google Ads and attribution matters more than page weight or consent rates.
  • Choose Plausible if you run a content site, want one dashboard page and the smallest script, and can live without user-level data.
  • Choose OpenPanel if you need traffic reports and funnels, retention or replay for the same visitors, cookie-free, with the option to self-host later.
  • Choose Matomo if you need the full GA feature set on your own servers and have someone to run PHP and MySQL.
  • Choose Umami if you want MIT-licensed analytics on a cheap VPS in ten minutes.
  • Choose Fathom if you manage many small sites and want them on one $15 plan.
  • Choose Simple Analytics if an EU-owned host and a free plan with no pageview cap matter more than history.
  • Choose PostHog if you want feature flags and experiments from the same vendor and fit under 1 million events.
  • Add Microsoft Clarity to any of the above for free recordings and heatmaps.
  • Choose Pirsch if $6 a month, German hosting and server-side tracking are the brief.

Related articles

Start understanding your users today

One script on your site, or one SDK call in your app, and the first events show up within a minute. 30-day free trial, no credit card.

Cloud from $2.50 a month, or self-host for free.