Open-source alternatives to Google Analytics

Google Analytics measures website traffic. These open-source analytics tools are lighter, privacy-focused and can run on your own server, so visitor data stays with you.

✓ checked by a person, 30 Nov 2026GitHub numbers refresh daily
4 projects, most relevant firstGoogle Analytics's own website
  1. Replaces Google AnalyticsPlausible Analytics

    Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

    plausible/analytics
    Stars
    30k
    Licence
    AGPL-3.0
    Language
    Elixir
    Last commit
    3 days ago
  2. Replaces Google AnalyticsUmami

    Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

    umami-software/umami
    Stars
    40.5k
    Licence
    MIT
    Language
    TypeScript
    Last commit
    6 days ago
  3. Replaces Google AnalyticsMatomo

    Empowering People Ethically 🚀 — Matomo is hiring! Join us → https://matomo.org/jobs Matomo is the leading open-source alternative to Google Analytics, giving you complete control and built-in privacy. Easily collect, visualise, and analyse data from websites & apps. Star us on GitHub ⭐️ – Pull Requests welcome!

    matomo-org/matomo
    Stars
    22.1k
    Licence
    GPL-3.0
    Language
    PHP
    Last commit
    today
  4. Replaces Google AnalyticsOpenPanel

    OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

    Openpanel-dev/openpanel
    Stars
    7.3k
    Licence
    AGPL-3.0
    Language
    TypeScript
    Last commit
    4 days ago
✓ still maintainedListed only with a commit in the last six months.
✓ really open sourceWe check the licence, not just the marketing. "(core)" means some extra features use a separate commercial licence.
✓ live from GitHubStars, licence and last commit come from the GitHub API.