Skip to content

Search tools

Analytics

Open source alternatives to Google Analytics

Google Analytics sends your visitors' data to Google; every tool here keeps it on a server you control. For a simple, cookie-free dashboard, Umami is the most-starred option, with nearly 40,000 GitHub stars, an MIT licence and a Docker image. Plausible Analytics takes the same lightweight approach with a script under 1 KB, under AGPL-3.0. If you need more than page views, HitKeep adds goals, funnels and e-commerce tracking in a single binary, Rybbit covers product analytics, and Countly adds mobile apps, crash reporting and push notifications. Matomo, written in PHP under GPL-3.0 with over 20,000 stars, suits teams who already run PHP. GoatCounter is a small Go app under EUPL-1.2. GoAccess and AWStats take a different route: they read your server's log files, so they need no script on your pages, but they see only what your server logs. The trade-off with all of them is that the database, its backups and its updates become your job.

updated Oct 2026 11 alternatives best health 98 ★ 139k combined 2,051 commits / 90d 6 with Docker

Top picks to replace Google Analytics

  • Healthiest

    Umami

    Health 98/100: 187 commits in 90 days, latest release v3.4.1, Docker image available.

  • Most active

    Countly Community Edition

    923 commits in the last 90 days, more than any other option here.

Licence family

Showing 11 of 11 tools

All 11 Google Analytics alternatives, ranked by health

  • Top pick · highest health

    Umami

    Simple, fast, privacy-focused alternative to Google Analytics.

    ★ 40k⟳ yesterdayv3.4.1MIT

    DockerNodejs
  • Rybbit

    Web and products analytics that is easy to setup and more intuitive (alternative to Google Analytics).

    ★ 13k⟳ 4 days agov2.9.2AGPL-3.0

    Docker
  • HitKeep

    Privacy-first web analytics with goals, funnels, ecommerce tracking, and team management in a single binary with embedded DuckDB (alternative to Google Analytics, Plausible, Umami).

    ★ 102⟳ 2 days agov2.15.1MIT

    DockerGo
  • Matomo

    Web analytics that protects your data and your customers' privacy (alternative to Google Analytics).

    ★ 22k⟳ today5.14.2GPL-3.0

    PHP
  • GoAccess

    Real-time web log analyzer and interactive viewer that runs in a terminal.

    ★ 21k⟳ 2 days agoGPL-2.0

    C
  • AWStats

    Generate statistics from web, streaming, ftp or mail server logfiles.

    ★ 439⟳ 12 months agoAWSTATS_8_0GPL-3.0

    Perl
  • Offen

    Fair, lightweight and open web analytics tool. Gain insights while your users have full access to their data.

    ★ 982⟳ 8 months agov1.4.2Apache-2.0

    DockerGo
  • Swetrix

    Web analytics which track your site's traffic, monitor your site's speed, analyse user sessions and pageflows, see the user flows and more (alternative to Google Analytics).

    ★ 76⟳ 2 months agoAGPL-3.0

    Docker

Google Analytics alternatives compared

We track 11 open-source Google Analytics alternatives, of which 6 currently score 70 or above on Repoly's GitHub health scale and 6 ship a Docker image. Umami leads on health at 98/100 with 187 commits in the last 90 days; across all 11 projects you are choosing between AGPL-3.0, Apache-2.0, EUPL-1.2 and 3 other licences.

Umami edges Rybbit 98 to 96, and most of the difference is stars: 40k stars against 13k stars. Rybbit is the busier codebase, though, with 212 commits in 90 days to 187.

The most recent release is HitKeep v2.15.1, published 2 days ago. GoAccess and Swetrix publish no tagged releases, which costs up to 25 of the 100 points. AWStats, Offen and Swetrix score under 40, so check recent activity before adopting them. By stack, Go (3), Nodejs (2) and C (1) are the most common. Umami, HitKeep and Offen are permissively licensed; Rybbit, Countly Community Edition, Plausible Analytics and 5 more are copyleft.

Open source alternatives to Google Analytics by health, stars, licence and last commit
Tool Health Stars Last commit Licence Self-hosting Best for
Umami Health 98 on 11 Sep, 98 nowSteady at 98 since 11 Sep 98 40k yesterday MIT Docker image Long-term use: health 98/100
Rybbit Health 96 on 11 Sep, 96 nowSteady at 96 since 11 Sep 96 13k 4 days ago AGPL-3.0 Docker image Quick setup: ships a Docker image
Countly Community Edition Health 95 on 11 Sep, 95 nowSteady at 95 since 11 Sep 95 5.9k today AGPL-3.0 Docker image Fast development: 923 commits in 90 days
Plausible Analytics Health 88 on 11 Sep, 88 nowSteady at 88 since 11 Sep, no release for 5 months 88 30k yesterday AGPL-3.0 Manual (Elixir) Community size: 30k stars
HitKeep Health 88 on 11 Sep, 88 nowSteady at 88 since 11 Sep 88 102 2 days ago MIT Docker image Fresh releases: v2.15.1, 2 days ago
Matomo 87 22k today GPL-3.0 Manual (PHP) PHP teams: the only PHP option here
GoatCounter 68 6.1k 1 month ago EUPL-1.2 Manual (Go) Go teams: health 68/100
GoAccess 62 21k 2 days ago GPL-2.0 Manual (C) C teams: the only C option here
AWStats 34 439 12 months ago GPL-3.0 Manual (Perl) Check activity first: health 34/100
Offen 32 982 8 months ago Apache-2.0 Docker image Check activity first: health 32/100
Swetrix 30 76 2 months ago AGPL-3.0 Docker image Check activity first: health 30/100

How to choose a Google Analytics alternative

  • Want the project most likely to keep shipping? Start with Umami: health 98/100 and 187 commits in the last 90 days.
  • Building it into a commercial product? Umami is MIT, a permissive licence, so changes you ship stay yours.
  • Want the quickest install? Umami, Rybbit, Countly Community Edition and 3 more ship a Docker image; the others install by hand on their own stack.
  • Planning to patch or extend it? Match your stack: Go (HitKeep, GoatCounter and 1 more), Nodejs (Umami and Countly Community Edition), C (GoAccess).
  • The score measures maintenance, not features: shortlist two and try them with your own data before you migrate.

Google Analytics alternatives: common questions

Is there an open source Google Analytics alternative on GitHub?

Yes. 11 of the 11 Google Analytics alternatives we track are on GitHub, led by Umami (github.com/umami-software/umami, health 98/100, 40k stars) and Rybbit (github.com/rybbit-io/rybbit, health 96/100). Each tool page links its repository and shows the health score we recompute from it every night.

What is the most maintained open source alternative to Google Analytics?

Umami scores highest at 98/100, with 187 commits in the last 90 days, 40k stars on GitHub and its latest release (v3.4.1) published 7 days ago. Countly Community Edition has the most raw commit activity at 923 commits in 90 days.

Which Google Analytics alternatives run in Docker?

6 of 11 publish a Docker image or Compose file: Umami, Rybbit, Countly Community Edition, HitKeep, Offen, Swetrix. Docker support contributes 10 of the 100 available health points, because it is the clearest signal that self-hosting is a supported path rather than an afterthought.

Is Umami or Rybbit the better Google Analytics alternative?

On measured health Umami leads, 98 to 96. Umami has 187 commits in 90 days, 40k stars and v3.4.1 from 7 days ago; Rybbit has 212 commits in 90 days, 13k stars and v2.9.2 from 6 days ago. Umami is ahead or level on every term Repoly measures.

Which Google Analytics alternatives use a permissive licence?

3 of 11 are permissively licensed (MIT, Apache, BSD or similar): Umami (MIT), HitKeep (MIT), Offen (Apache-2.0). 8 use copyleft licences such as GPL or AGPL, which require you to publish changes if you distribute a modified version.