Self-hosted alternatives to Google Analytics

Last updated · 5 options

Quick answer: PostHog has the most stars on its repository of the 5 options here (★ 40.3k), followed by Umami (★ 39.5k). Stars show popularity, not fit, so check formats, platforms and licence for your own work.

Google's website analytics. Here are 5 self-hosted options, most-starred first.

PostHog

Analytics

Product analytics, session recording, feature flagging and a/b testing that you can self-host (alternative to Mixpanel, Amplitude, Heap, HotJar,…

Stars
★ 40.3k
Licence
MIT
Updated

Alternative to Google Analytics

Umami

Analytics

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

Stars
★ 39.5k
Licence
MIT
Updated
  • Docker

Alternative to Google Analytics

Plausible Analytics

Analytics

Simple, lightweight (< 1 KB) and privacy-friendly web analytics.

Stars
★ 29.4k
Licence
AGPL-3.0
Updated
  • Runs on ARM

Alternative to Google Analytics

Matomo

Analytics

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

Stars
★ 22k
Licence
GPL-3.0
Updated
  • Runs on ARM

Alternative to Google Analytics

GoatCounter

Analytics

Easy web statistics without tracking of personal data.

Stars
★ 6.1k
Licence
EUPL-1.2
Updated

Alternative to Google Analytics

FAQ

Is there a self-hosted alternative to Google Analytics?

Yes. SelfHostAlts lists 5 options: PostHog, Umami, Plausible Analytics, Matomo and GoatCounter.

Which Google Analytics alternatives are open source?

PostHog (MIT), Umami (MIT), Plausible Analytics (AGPL-3.0), Matomo (GPL-3.0) and GoatCounter (EUPL-1.2).

Which Google Analytics alternatives can run with Docker?

Umami. The others listed here aren't listed for Docker.

Related categories: Analytics

Self-hosted apps are rarely drop-in replacements. Check the import options, mobile apps and requirements before you move your data, and keep backups.

SelfHostAlts Weekly

Every week: the best new self-hosted alternatives to the SaaS tools you pay for, with what you need to run them. Free. More about it →