Google Analytics alternatives compared
| Project | Licence | Type | Self-host | Cloud option | GitHub stars |
|---|---|---|---|---|---|
| Matomo | GPL-3.0 | Self-hosted | ✓ Yes | ✓ Yes | ★ 22.1k |
| Plausible Analytics | AGPL-3.0 | Self-hosted | ✓ Yes | ✓ Yes | ★ 30k |
| Umami | MIT | Self-hosted | ✓ Yes | ✓ Yes | ★ 40.6k |
| Rybbit | AGPL-3.0 | Self-hosted | ✓ Yes | ✓ Yes | ★ 13.4k |
| GoatCounter | EUPL-1.2 | Self-hosted | ✓ Yes | ✓ Yes | ★ 6.2k |
| Swetrix | AGPL-3.0 | Self-hosted | ✓ Yes | ✓ Yes | ★ 1.2k |
| OpenPanel | AGPL-3.0 | Self-hosted | ✓ Yes | ✓ Yes | ★ 7.4k |
The 7 open source alternatives to Google Analytics
Matomo (formerly Piwik) is a full-featured web analytics platform with 100% data ownership, used by more than a million websites. It offers goals, funnels, e-commerce tracking, heatmaps and Google Analytics import.
- Full Google Analytics feature set
- Google Analytics data import
- Cookieless mode for GDPR
- Self-host or Matomo Cloud
Plausible is a lightweight analytics tool from Estonia that doesn't use cookies, so no consent banner is needed in most cases. Its script is under 1 KB, and the dashboard fits on one page.
- No cookies, GDPR-friendly
- Script under 1 KB
- One-page dashboard
- Self-hosted Community Edition
Umami is a lightweight, cookieless web analytics tool with a clean dashboard, custom events, funnels and team sharing. It runs on PostgreSQL and is easy to self-host or use as Umami Cloud.
- Cookieless tracking
- Events, funnels and retention
- Unlimited websites
- Self-host or cloud
Rybbit is a cookieless analytics tool with web stats, funnels, user journeys, session replay and error tracking, built on ClickHouse.
- Cookieless tracking
- Funnels and journeys
- Session replay
- Hosted or self-hosted
GoatCounter is a simple web analytics service that is free for non-commercial use on its hosted version. It doesn't track personal data and can even work without JavaScript.
- No personal data tracking
- Works without JavaScript
- Free hosted plan for non-commercial use
- Single binary
Swetrix is privacy-first web analytics from Europe, with traffic stats, custom events, page speed monitoring and error tracking in one dashboard.
- No cookies
- Performance monitoring
- Error tracking
- Hosted in the EU or self-hosted
OpenPanel combines Mixpanel-style product analytics with Plausible-style web stats: events, funnels, retention and user profiles, with a privacy-friendly setup.
- Events and funnels
- Retention and cohorts
- Web analytics dashboard
- Hosted or self-hosted
How to choose an open source alternative to Google Analytics
Check cookieless tracking, the size of the tracking script, Google Analytics import, goals and funnels, and whether you self-host or use the hosted version.
If you want your data on your own server, look at Matomo, Plausible Analytics and Umami. Don't want to run a server? Matomo, Plausible Analytics and Umamioffer an official hosted version.
Not sure where to start? Browse all analytics & bi projects, or see our google alternatives list.
Google Analytics alternatives: FAQ
What is the best open source alternative to Google Analytics?
Matomo is the most complete open source alternative to Google Analytics on our list, followed by Plausible Analytics and Umami. The best choice depends on what you need: Check cookieless tracking, the size of the tracking script, Google Analytics import, goals and funnels, and whether you self-host or use the hosted version.
Is there a free alternative to Google Analytics?
Yes. Every alternative listed here is open source, so the software itself is free to use. Some, such as Matomo, Plausible Analytics and Umami, also sell an optional hosted version if you don't want to run it yourself.
Can I self-host an alternative to Google Analytics?
Yes: Matomo, Plausible Analytics, Umami, Rybbit and GoatCounter can all be installed on your own server, so your data stays on infrastructure you control.
Why switch from Google Analytics to open source software?
Google Analytics is proprietary software owned by Google (Alphabet): you can't see the code, and pricing, features and terms can change at any time. Open source alternatives publish their code under licences such as GPL-3.0, AGPL-3.0 and MIT, can be audited by anyone, and can't lock you in, because the software can always be forked or self-hosted.