Skip to content

Open-source Google Analytics alternatives

A hosted analytics product for website and product traffic measurement. Use the approved catalog below to weigh license, hosting, and repository activity for understanding website and product traffic.

For a deeper comparison, read our guide: Open-Source Google Analytics Alternatives: Umami, Plausible, Matomo.

PostHog has the most GitHub stars in this list (41k, Custom). PostHog, Umami, Plausible, Matomo, and Rybbit can be self-hosted. PostHog, Umami, Plausible, Matomo, and Rybbit list a hosted option.

Compare the set

Available Google Analytics alternatives

Choosing a Google Analytics replacement

The catalog lists 9 reviewed open-source alternatives to Google Analytics for understanding website and product traffic, including Umami (MIT, hosted or self-hosted), Plausible (AGPL-3.0, hosted or self-hosted), PostHog (Custom, hosted or self-hosted), Matomo (GPL-3.0, hosted or self-hosted), Rybbit (AGPL-3.0, hosted or self-hosted), and Shynet (Apache-2.0, self-hosted). GitHub metadata last checked November 20, 2026.

What must a Google Analytics replacement cover?

Start with your workflow for understanding website and product traffic. The alternatives below can cover different parts of it; a listing here does not establish complete feature parity with Google Analytics.

  • Privacy model
  • Events and goals
  • Data retention

Compare Google Analytics replacements by capabilities and operating needs

Google Analytics replacements: recorded capabilities and tradeoffs
AttributeUmamiPlausiblePostHogMatomoRybbitShynet
PurposeA lightweight analytics app with a small interface.Simple, privacy-friendly web analytics.Product analytics, replay, and feature flags.Full web analytics with on-premise hosting.Web analytics with goals, funnels, and session replay.Self-hosted web analytics with optional pixel tracking.
Documented capabilitiesPageviews and custom events, Shareable dashboards, PostgreSQL or MySQLCookie-free pageview tracking, Goals and custom events, Hosted or self-hostedEvent analytics, Session replay, Feature flagsVisit and campaign reports, Goals and ecommerce tracking, On-premise installTraffic metrics, Custom events and goals, Funnels and journeys, Session replayMulti-site analytics, Pageviews and sessions, Referrer reports, Tracking pixel fallback
Best-fit workflowSites that need basic traffic and event counts without a large analytics suite.Teams that want a simpler view of website traffic with privacy as a priority.Product teams that want events, replay, and flags in the same tool.Organizations that want detailed web reports and are ready to operate PHP and a database.For product teams that need more behavioral detail than basic pageview counts.For teams that want to host website analytics and manage several sites in one instance.
Check before choosingCheck whether you need funnels, session replay, or a warehouse export before you switch.Plausible Community Edition omits premium marketing funnels and ecommerce revenue goals; compare edition features before migrating.Self-hosting PostHog is a large system. Read the license file before you offer it as a service.Plan storage and plugin choices; heatmaps and some advanced reports require paid add-ons.The README marks Web Vitals as cloud-only; confirm edition coverage and privacy settings before rollout.Review what visitor data is collected and configure retention and privacy controls for your audience.
Deployment optionsDocker, NodeDocker Compose, KubernetesDocker Compose, KubernetesPHP, DockerSee repository installation guideKubernetes
GitHub stars40,25129,89540,97522,03413,3423,155
LicenseMITAGPL-3.0CustomGPL-3.0AGPL-3.0Apache-2.0
Self-hostedYesYesYesYesYesYes
Docker notedYesYesYesYesNot recordedNot recorded
Cloud / hostedYesYesYesYesYesNot recorded
Primary languageTypeScriptElixirPythonPHPTypeScriptPython
Last commit2026-11-202026-11-192026-11-202026-11-202026-11-192026-03-15
DifficultyEasyModerateAdvancedModerateNot assessedNot assessed
Content sourceEditorial catalog entryEditorial catalog entryEditorial catalog entryEditorial catalog entryEditorial catalog entryEditorial catalog entry
Metadata checked2026-11-202026-11-202026-11-202026-11-202026-11-202026-11-20

The table shows up to six catalog entries. Missing information means not recorded, not unsupported. Capability lists are not hands-on benchmarks or guarantees of Google Analytics compatibility.

Where each Google Analytics alternative fits

  • PostHog

    Product teams that want events, replay, and flags in the same tool.

    Check first: Self-hosting PostHog is a large system. Read the license file before you offer it as a service.

    PostHog documentation and source

    Custom · Both · Analytics

  • Umami

    Sites that need basic traffic and event counts without a large analytics suite.

    Check first: Check whether you need funnels, session replay, or a warehouse export before you switch.

    Umami documentation and source

    MIT · Both · Analytics

  • Plausible

    Teams that want a simpler view of website traffic with privacy as a priority.

    Check first: Plausible Community Edition omits premium marketing funnels and ecommerce revenue goals; compare edition features before migrating.

    Plausible documentation and source

    AGPL-3.0 · Both · Analytics

  • Matomo

    Organizations that want detailed web reports and are ready to operate PHP and a database.

    Check first: Plan storage and plugin choices; heatmaps and some advanced reports require paid add-ons.

    Matomo documentation and source

    GPL-3.0 · Both · Analytics

  • Rybbit

    Web analytics with goals, funnels, and session replay.

    Check first: The README marks Web Vitals as cloud-only; confirm edition coverage and privacy settings before rollout.

    Rybbit documentation and source

    AGPL-3.0 · Both · Analytics

  • Shynet

    Self-hosted web analytics with optional pixel tracking.

    Check first: Review what visitor data is collected and configure retention and privacy controls for your audience.

    Shynet documentation and source

    Apache-2.0 · Self-hosted · Analytics

  • vince

    Single-binary web analytics you run yourself.

    Check first: The maintainers describe it as leaner than Plausible; compare feature needs before switching.

    vince documentation and source

    AGPL-3.0 · Self-hosted · Analytics

  • Swetrix

    Cookieless web analytics with events and performance reports.

    Check first: Check hosted versus self-hosted feature coverage; network intelligence and replay are labeled cloud features.

    Swetrix documentation and source

    AGPL-3.0 · Self-hosted · Analytics

  • OpenAnalytics

    Self-hosted web analytics with funnels and revenue attribution.

    Check first: Self-hosting uses Postgres, ClickHouse, and Valkey; check memory, storage, and DNS requirements.

    OpenAnalytics documentation and source

    AGPL-3.0 · Both · Analytics

Before switching from Google Analytics

Use this proposed pilot to test understanding website and product traffic. It is an evaluation plan, not a completed product test.

  1. Write down the Google Analytics features your current workflow depends on. Use privacy model, events and goals, data retention as the initial review criteria; mark each requirement essential or optional.
  2. Shortlist Umami, Plausible, PostHog by the fit notes above. Reproduce one representative workflow with sample data, and record which requirements work in the exact version and edition you would deploy.
  3. Check your Google Analytics export against the replacement’s documented import format. Verify records, attachments and access controls that your workflow uses before moving live data; keep the original available until you can recover the pilot.
  4. If you self-host PostHog, Umami, Plausible, assign an owner for updates, backups and restore testing. Compare that operating work with the hosted options and license conditions before deciding.

Related categories

Compare alternatives

Related collections

Google Analytics alternatives: questions

What is the most popular open-source alternative to Google Analytics?
PostHog has the most GitHub stars in this list, with 41k (Custom). Other reviewed options include Umami, Plausible, and Matomo.
Is there a self-hosted alternative to Google Analytics?
Yes. PostHog, Umami, Plausible, Matomo, and Rybbit can run on your own server. Check each license before commercial use.
Which Google Analytics alternatives have a hosted version?
PostHog, Umami, Plausible, Matomo, and Rybbit list a hosted or cloud option.
What should you check before switching from Google Analytics?
Compare privacy model, events and goals, data retention. Confirm the license, who will operate the install, and how you will export your data from Google Analytics.

Repository activity is a signal, not a security or quality guarantee.