Skip to content

Open Source Google Analytics Alternatives

12 alternatives · Data checked · By , founder & editor · Analytics platforms

Matomo is the closest open source alternative to Google Analytics. It scores 0.93 as a direct replacement, imports your Google Analytics data, and you can host it yourself to own the data. Plausible suits you if you want simple cookieless stats. Umami fits web teams that want an MIT license.

Best overall

Best for: Organizations needing full-featured, self-hosted analytics with data ownership

22k ThrivingCopyleft

Pick #2

Best for: Site owners wanting simple, cookieless, EU-hosted analytics, cloud or self-hosted

30k ActiveCopyleft

Pick #3

Best for: Teams wanting MIT-licensed, self-hosted web and product analytics with retention and journeys

40k ThrivingPermissive

Compare Matomo vs Plausible side by side →

Why people leave Google Analytics

Google Analytics is a web analytics service from Google. Site owners, marketers and product teams use it to measure traffic with pageview and traffic reports, track custom events, set conversion goals, and study funnels. It also offers real-time reporting, so you can see current activity on a site. Data is collected with a tracking script and stored and processed in Google's cloud. The service is offered as a hosted product, and you view reports in Google's web interface rather than running it yourself.

  • Visitor data goes to Google. Traffic data is collected and processed on Google's infrastructure. Privacy rules or your own policy may push you to keep analytics data on servers you control.
  • Cookie consent burden. Tracking visitors with a third-party script often requires consent banners. Some open source tools run without cookies, which can simplify compliance.
  • Reports are complex for simple needs. If you only want basic traffic numbers, the interface and setup can feel heavy. Lighter dashboards show the essentials on one page.
  • No control over the data pipeline. You work with the data model and retention that Google provides. Self-hosted tools let you query raw data and set your own retention.

Quick comparison

#AlternativeLicenseStarsHealthPlatformsFitParityMigrationImports from Google Analytics
1 Matomo Copyleft 22k Thriving Self-hosted Direct replacement 9% Moderate Yes
2 Plausible Copyleft 30k Active Self-hosted Direct replacement 29% Moderate Yes
3 Umami Permissive 40k Thriving Self-hosted Direct replacement 21% Moderate –
4 PostHog Permissive 41k Thriving Self-hosted Direct replacement 25% Moderate –
5 Rybbit Copyleft 13k Thriving Self-hosted Direct replacement 31% Moderate –
6 Swetrix Copyleft 1.2k Active – Direct replacement 27% Moderate –
7 GoatCounter Copyleft 6.2k Slowing Self-hosted Partial replacement 10% Moderate No
8 OpenWebAnalytics Copyleft 2.7k Thriving – Partial replacement 20% Moderate No
9 poeticmetric Copyleft 268 Slowing – Direct replacement 6% Moderate No
10 wp-statistics Copyleft 129 Thriving – Partial replacement 14% Moderate –

Fit = how much of Google Analytics's job the tool replaces. Parity = share of Google Analytics's core features the tool covers fully. Migration = effort to move your data and team over. Health and stars from November 24, 2026. How we rank.

The 10 best open source Google Analytics alternatives

  1. 1

    Matomo

    Self-hosted PHP and MySQL web analytics for sites that need data ownership

    22k Thriving 76 Copyleft Direct replacement

    Matomo has the highest match score here at 0.93 and imports from Google Analytics, but only 8.7% of features are confirmed as matching. Some features need paid plugins, and you must host PHP and MySQL. It suits organizations that want full data ownership.

    Strengths

    • Runs on standard PHP and MySQL or MariaDB hosting
    • Imports data from Google Analytics
    • Developed since 2011 with 22,000+ GitHub stars
    • Real-time reports after a five-minute install

    Trade-offs

    • Some features need paid plugins
    • Requires PHP and MySQL hosting
    • Needs PHP 8.1+ and MySQL 8.0+ or MariaDB 10.6+
    • Some features require paid plugins
    Best for
    Organizations needing full-featured, self-hosted analytics with data ownership
    Fit
    Direct replacement · 9% feature parity
    Health
    76/100 (Thriving) · breakdown
    License
    Copyleft (OSI) (GPL-3.0)
    Hosting
    Self-hosted · Cloud from $230/mo
    Migration
    Moderate · imports from Google Analytics
    Last commit
    Nov 2026
    • Self-hosted

    Feature parity with Google Analytics · 9%

    • Yes Pageview and traffic reports
    • Yes Real-time reporting
  2. 2

    Plausible

    Cookieless, lightweight web analytics you can self-host or use as a cloud service

    30k Active 72 Copyleft Direct replacement

    Plausible confirms 28.8% of Google Analytics features and can import your existing Google Analytics data, which eases migration. It has no mobile SDKs, cohort retention or audience segmentation. It fits site owners who want simple cookieless stats, in the cloud or self-hosted.

    Strengths

    • No cookies, no stored IP addresses or personal data
    • Single-page dashboard with goals, funnels and revenue tracking
    • Imports historical Google Analytics data
    • Events API, stats API and CSV export

    Trade-offs

    • No mobile app SDKs
    • No cohort retention analysis
    • No audience segmentation
    • AGPL-3.0 carries copyleft obligations if you modify and host it
    Best for
    Site owners wanting simple, cookieless, EU-hosted analytics, cloud or self-hosted
    Fit
    Direct replacement · 29% feature parity
    Health
    72/100 (Active) · breakdown
    License
    Copyleft (OSI) (AGPL-3.0)
    Hosting
    Self-hosted
    Migration
    Moderate · imports from Google Analytics
    Last commit
    Nov 2026
    • Self-hosted

    Feature parity with Google Analytics · 29%

    • Yes Pageview and traffic reports
    • Yes Custom event tracking
    • Yes Conversion goals
    • Yes Funnel analysis
    • Yes Real-time reporting
  3. 3

    Umami

    Cookie-free web and product analytics you can self-host, for teams leaving Google

    40k Thriving 87 Permissive Direct replacement

    Umami is MIT-licensed and self-hostable, with about 40,000 stars and a commit in November 2026. It covers 21.2% of Google Analytics features. It has no mobile app SDKs and only limited ecommerce reporting, so it suits web-focused teams that want retention and journeys.

    Strengths

    • MIT license with no copyleft obligations
    • Tracks without cookies
    • Docker Compose file starts the app and PostgreSQL together
    • Covers retention, cohorts and user journeys

    Trade-offs

    • No mobile app SDKs
    • Limited ecommerce analytics
    • Self-hosting needs Node.js 20.19+ and PostgreSQL 12.14+
    • Default admin login must be changed after first sign-in
    Best for
    Teams wanting MIT-licensed, self-hosted web and product analytics with retention and journeys
    Fit
    Direct replacement · 21% feature parity
    Health
    87/100 (Thriving) · breakdown
    License
    Permissive (OSI) (MIT)
    Hosting
    Self-hosted · Cloud from $20/mo
    Migration
    Moderate
    Last commit
    Nov 2026
    • Self-hosted

    Feature parity with Google Analytics · 21%

    • Yes Pageview and traffic reports
    • Yes Conversion goals
    Quick start
    docker compose up -d
  4. 4

    PostHog

    Self-hostable product analytics suite with replay, flags and experiments

    41k Thriving 83 Permissive Direct replacement

    PostHog has about 41,000 stars and a November 2026 commit, so it is well maintained. It confirms only 25% of Google Analytics features, and the setup is heavier than a plain traffic dashboard. Pick it if you also want session replay and feature flags.

    Strengths

    • Analytics, replay, flags, experiments and surveys in one tool
    • Self-hostable with Docker, with a hosted plan as well
    • MIT licensed
    • 32 contributors in the last 90 days

    Trade-offs

    • Heavier setup and UI than a simple traffic dashboard
    • Cookieless mode needs configuration
    • Cohort and path depth may differ from Amplitude
    • Report builder is less polished than Mixpanel's
    Best for
    Teams wanting web analytics plus product analytics, session replay and feature flags in one tool
    Fit
    Direct replacement · 25% feature parity
    Health
    83/100 (Thriving) · breakdown
    License
    Permissive (OSI) (MIT)
    Hosting
    Self-hosted · Cloud
    Migration
    Moderate
    Last commit
    Nov 2026
    • Self-hosted

    Feature parity with Google Analytics · 25%

    • Yes Pageview and traffic reports
    • Yes Custom event tracking
    • Yes Conversion goals
  5. 5

    Rybbit

    Cookieless, self-hostable web analytics with session replay, funnels and retention

    13k Thriving 75 Copyleft Direct replacement

    Rybbit reaches 30.8% feature parity and has about 13,000 stars. It is cookieless and adds session replay, funnels and retention when self-hosted. It lacks ecommerce analytics and mobile SDKs, and it has no Google Analytics importer, so you start fresh.

    Strengths

    • Cookieless tracking, so no cookie banner is needed
    • Session replay, funnels, retention and journeys included
    • Filtering across more than 15 dimensions
    • Unlimited sites and organizations per install

    Trade-offs

    • No mobile app SDKs
    • No ecommerce analytics
    • Limited custom dashboards
    • AGPL-3.0 license has network-use obligations if you modify it
    Best for
    Teams wanting cookieless analytics with session replay, funnels and retention, self-hosted
    Fit
    Direct replacement · 31% feature parity
    Health
    75/100 (Thriving) · breakdown
    License
    Copyleft (OSI) (AGPL-3.0)
    Hosting
    Self-hosted · Cloud from $13/mo
    Migration
    Moderate
    Last commit
    Nov 2026
    • Self-hosted

    Feature parity with Google Analytics · 31%

    • Yes Pageview and traffic reports
    • Yes Custom event tracking
    • Yes Conversion goals
    • Yes Funnel analysis
    • Yes Real-time reporting
  6. 6

    Swetrix

    Cookieless web analytics with error tracking and performance monitoring, self-hostable

    1.2k Active 73 Copyleft Direct replacement

    Swetrix covers 26.9% of Google Analytics features and adds error tracking and performance monitoring to cookieless analytics. It has about 1,200 stars. Session replay is cloud only, and there are no mobile SDKs or cohort retention, so self-hosters get less.

    Strengths

    • No cookies and anonymized data, so no consent banner
    • No data sampling and a real-time dashboard
    • Error tracking, performance metrics and funnels in one product
    • CSV export and a developer API

    Trade-offs

    • No mobile app SDKs
    • No cohort retention analysis
    • Session replay is cloud only
    • Session replays and network intelligence are cloud only
    Best for
    Teams wanting cookieless analytics plus error tracking and performance monitoring in one tool
    Fit
    Direct replacement · 27% feature parity
    Health
    73/100 (Active) · breakdown
    License
    Copyleft (OSI) (AGPL-3.0)
    Hosting
    Self-hosted · Cloud from $17/mo
    Migration
    Moderate
    Last commit
    Nov 2026

    Feature parity with Google Analytics · 27%

    • Yes Pageview and traffic reports
    • Yes Custom event tracking
    • Partly Conversion goals
    • Yes Funnel analysis
    • Yes Real-time reporting
  7. 7

    GoatCounter

    Privacy-friendly web analytics, hosted or self-hosted, for site owners who want simple

    6.2k Slowing 54 Copyleft Partial replacement

    GoatCounter covers only about 10% of Google Analytics features, so treat it as a simple page-view counter, not a full replacement. It suits individuals who want a cookie-free, self-hosted tool. You lose funnels, cohorts and mobile SDKs. It has 6,177 stars, but activity is slowing.

    Strengths

    • No cookies or unique identifiers; visits counted with a hash
    • Tracking script adds about 3.5K to your pages
    • Imports logs from nginx, Apache, Caddy and CloudFront
    • Single static binary, SQLite by default, PostgreSQL optional

    Trade-offs

    • No funnel analysis
    • No cohort or retention analysis
    • No mobile app SDKs
    • Intentionally limited compared with Google Analytics or Matomo
    Best for
    Individuals wanting a minimal, no-cookie, easy self-hosted stats counter
    Fit
    Partial replacement · 10% feature parity
    Health
    54/100 (Slowing) · breakdown
    License
    Copyleft (OSI) (EUPL-1.2)
    Hosting
    Self-hosted
    Migration
    Moderate
    Last commit
    Sep 2026
    • Self-hosted

    Feature parity with Google Analytics · 10%

    • Yes Pageview and traffic reports
  8. 8

    OpenWebAnalytics

    Self-hosted PHP analytics server with heatmaps and session recordings for many sites

    2.7k Thriving 80 Copyleft Partial replacement

    OpenWebAnalytics reaches about 20% feature parity with Google Analytics, and it adds heatmaps and session recordings in a PHP server you host yourself. It is actively maintained, with a commit in November 2026 and 2,693 stars. Expect no funnels or cohorts, and it uses cookies by default.

    Strengths

    • Tracks an unlimited number of websites from one server instance
    • Includes heatmaps and Domstream session recordings
    • REST API for administration and data access
    • Cookie lifetimes are configurable, or can be session-only

    Trade-offs

    • No funnel or cohort analysis
    • No mobile app SDKs
    • Cookie-based tracking by default
    • Requires you to run and maintain a PHP server
    Best for
    Self-hosters wanting heatmaps and session recordings in a free PHP analytics server
    Fit
    Partial replacement · 20% feature parity
    Health
    80/100 (Thriving) · breakdown
    License
    Copyleft (OSI) (GPL-2.0)
    Hosting
    Self-hosted
    Migration
    Moderate
    Last commit
    Nov 2026

    Feature parity with Google Analytics · 20%

    • Yes Pageview and traffic reports
    • Yes Custom event tracking
  9. 9

    poeticmetric

    Cookieless, privacy-first web analytics you can self-host or rent as a managed service

    268 Slowing 37 Copyleft Direct replacement

    PoeticMetric covers only about 6% of Google Analytics features, so it fits a narrow job: cookieless, self-hosted web stats under AGPL. It has 268 stars and development is slowing, with the last commit in February 2026. You get no mobile SDKs, funnels or session replay.

    Strengths

    • No cookies and no personal data collected
    • Self-hostable with provided Docker images
    • Managed plan available from 29 USD per month
    • AGPL-3.0 licensed

    Trade-offs

    • No mobile app SDKs
    • Limited cohort and funnel analysis
    • No session replay or heatmaps
    • Latest release is a 2.0 beta
    Best for
    Site owners wanting cookieless, self-hostable web analytics under AGPL
    Fit
    Direct replacement · 6% feature parity
    Health
    37/100 (Slowing) · breakdown
    License
    Copyleft (OSI) (AGPL-3.0)
    Hosting
    Self-hosted · Cloud from $29/mo
    Migration
    Moderate
    Last commit
    Feb 2026

    Feature parity with Google Analytics · 6%

    • Yes Pageview and traffic reports
  10. 10

    wp-statistics

    Cookieless visitor analytics plugin for WordPress sites, stored in your own database

    129 Thriving 83 Copyleft Partial replacement

    WP Statistics suits WordPress owners who want simple cookieless stats kept in their own database. It confirms about 14% of Google Analytics features, the highest of the three, and it is actively maintained, with a commit in November 2026. It works only on WordPress and has no funnel analysis.

    Strengths

    • Cookieless tracking, with no PII stored by default
    • All data stays in your WordPress database
    • Reports built into the WordPress dashboard
    • Integrates with WP Consent API for Complianz and Cookiebot

    Trade-offs

    • WordPress sites only
    • No funnel analysis
    • No mobile app tracking
    • Link and download tracking require the paid Data Plus add-on
    Best for
    WordPress site owners wanting simple cookieless stats stored in their own database
    Fit
    Partial replacement · 14% feature parity
    Health
    83/100 (Thriving) · breakdown
    License
    Copyleft (OSI) (GPL-3.0)
    Hosting
    Self-hosted
    Migration
    Moderate
    Last commit
    Nov 2026

    Feature parity with Google Analytics · 14%

    • Yes Pageview and traffic reports
    • Yes Real-time reporting

Feature parity: Google Analytics vs the top 5

FeatureGoogle AnalyticsMatomoPlausibleUmamiPostHogRybbit
Pageview and traffic reportsYesYesYesYesYesYes
Traffic and page view reportsYes–––––
Custom event trackingYes–Yes–YesYes
Referrer and campaign sourcesYes–––––
Conversion goalsYes–YesYesYesYes
Custom event trackingYes–––––
Funnel analysisYes–Yes––Yes
Goals and conversionsYes–––––
Real-time reportingYesYesYes––Yes
Real-time statisticsYes–––––

yes · partly · no · – not checked.

Cost to switch

What Google Analytics costs your team in a year, against running an open source alternative yourself.

Enter Google Analytics's price per seat to compare.

Server prices are typical monthly VPS prices for the RAM the tool needs (2 GB when unknown). Your time to run and update it is not included; Matomo also sells a hosted plan from $230/month.

How to choose

You want full data ownership and a Google Analytics importer

→ Matomo

It has the top match score at 0.93 and imports from Google Analytics, though you must host PHP and MySQL.

You want simple, cookieless stats with your old data brought over

→ Plausible

It confirms 28.8% of Google Analytics features and can import your existing Google Analytics data.

You want a permissive MIT license for web and product analytics

→ Umami

It is MIT-licensed and self-hostable, with retention and journeys included.

You also need session replay and feature flags

→ PostHog

It combines web analytics with product analytics, session replay and feature flags in one tool.

You run a WordPress site and want stats in your own database

→ wp-statistics

It stores cookieless stats in your WordPress database and is actively maintained.

Moving off Google Analytics

  • Matomo and Plausible can import Google Analytics data, so you can keep historical reports. Rybbit, GoatCounter, OpenWebAnalytics and poeticmetric have no Google Analytics importer, so you start with a clean history.
  • If your alternative has no importer, keep your Google Analytics property read-only for a while and export the reports you need before you switch.
  • Replace the Google tracking script with the new tool's script on every page. Then check that pageviews match for a week or two.
  • Rebuild custom events, conversion goals and funnels by hand. Mobile SDK tracking is missing in most of these tools, including Plausible, Umami and Rybbit.

More Google Analytics alternatives

koko-analytics

Analytics platforms

Cookieless analytics plugin for WordPress sites that want simple stats in the admin

405 39 10 days ago Thriving GPL-3.0

Replaces Google Analytics

openanalytics

Analytics platforms

Cookieless, self-hostable web analytics with funnels and Stripe revenue tracking

652 55 33 days ago Active AGPL-3.0

Replaces Google Analytics

Frequently asked questions

What is the best open source alternative to Google Analytics?

Matomo ranks first. It has a 0.93 match score and imports Google Analytics data. Plausible and Umami are simpler options for web-only stats.

Is there a free open source alternative to Google Analytics?

Yes. Matomo, Plausible, Umami, PostHog, Rybbit, Swetrix and GoatCounter can all be self-hosted at no license cost. You pay for your own server.

Which alternatives can I self-host?

All ten can be self-hosted. Matomo needs PHP and MySQL. OpenWebAnalytics is also a PHP server, and wp-statistics runs inside WordPress.

Can I import my Google Analytics data?

Matomo and Plausible both import from Google Analytics. Rybbit, GoatCounter, OpenWebAnalytics and poeticmetric do not, so you start fresh with them.

Which alternative is cookieless?

Plausible, Rybbit, Swetrix, GoatCounter, poeticmetric and wp-statistics are cookieless. OpenWebAnalytics uses cookies by default.

Which alternative gives the most Google Analytics features?

Rybbit has the highest feature parity at 30.8%, followed by Plausible at 28.8%. Rybbit has no Google Analytics importer, while Plausible does.

2026 edition. Rankings use fit, health, license and popularity; sponsors never change the order. Methodology · Report an error.