opensourcestartups

> /v1/alternatives/google-analytics

Open source alternatives to Google Analytics[012]

Google Analytics measures website traffic, acquisition channels, audiences and conversions through Google's hosted tag and reporting suite. Below are 12 self-hostable open source alternatives, ranked by GitHub popularity.

// ANALYTICS№ 001
Umami

Umami

TYPESCRIPT

Umami is a simple, fast, privacy-focused alternative to Google Analytics

★ STARS

36.6k

⑂ FORKS

7.1k

OPEN PROJECT→
// ANALYTICS№ 002
PostHog

PostHog

PYTHON

Open-source product analytics, session recording, feature flagging and A/B testing

★ STARS

34.4k

⑂ FORKS

2.7k

OPEN PROJECT→
// ANALYTICS№ 003
Plausible Analytics

Plausible Analytics

ELIXIR

Simple, open source, lightweight and privacy-friendly web analytics alternative to Google Analytics

★ STARS

24.8k

⑂ FORKS

1.4k

OPEN PROJECT→
// DATABASE№ 004
Matomo

Matomo

PHP

Empowering People Ethically — Matomo is hiring! Join us → 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 &…

★ STARS

21.5k

⑂ FORKS

2.8k

OPEN PROJECT→
// ANALYTICS№ 005
Rybbit

Rybbit

TYPESCRIPT

Open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

★ STARS

12.1k

⑂ FORKS

653

OPEN PROJECT→
// ANALYTICS№ 006
Fathom Analytics

Fathom Analytics

GO

Fathom Lite - simple website analytics

★ STARS

8.0k

⑂ FORKS

381

OPEN PROJECT→
// AI & ML№ 007
Countly

Countly

JAVASCRIPT

Countly is a privacy-first, AI-powered analytics and engagement platform for understanding and optimizing customer journeys across digital applications, from desktop and mobile to IoT and connected environments.

★ STARS

5.9k

⑂ FORKS

980

OPEN PROJECT→
// ANALYTICS№ 008
OpenWebAnalytics

OpenWebAnalytics

PHP

Official repository for Open Web Analytics which is an open source alternative to commercial tools such as Google Analytics. Stay in control of the data you collect about the use of your website or app. Please consider sponsoring this…

★ STARS

2.7k

⑂ FORKS

484

OPEN PROJECT→
// AI & ML№ 009
Litlyx

Litlyx

TYPESCRIPT

Powerful Analytics Solution. Setup in 30 seconds. Display all your data on a Simple, AI-powered dashboard. Fully self-hostable and GDPR compliant. Alternative to Google Analytics, MixPanel, Plausible, Umami & Matomo.

★ STARS

1.7k

⑂ FORKS

112

OPEN PROJECT→
// ANALYTICS№ 010
Aptabase

Aptabase

TYPESCRIPT

Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps

★ STARS

1.7k

⑂ FORKS

125

OPEN PROJECT→
// DATABASE№ 011
Vemetric

Vemetric

TYPESCRIPT

Simple, yet powerful Web- & Product Analytics.

★ STARS

348

⑂ FORKS

33

OPEN PROJECT→
// ANALYTICS№ 012
Betterlytics

Betterlytics

TYPESCRIPT

Privacy-first analytics built with Rust, ClickHouse & Next.js

★ STARS

156

⑂ FORKS

17

OPEN PROJECT→

// EDITOR'S TAKE

Matomo is the closest feature-for-feature swap, including goals, segments and e-commerce reporting, but it is the heaviest to host and several of its best features are paid plugins. Plausible Analytics and Umami cover most needs with a cookieless script and one readable dashboard, while PostHog is a different product entirely, aimed at product analytics rather than marketing reporting.

// FREQUENTLY ASKED

What is the best open source Google Analytics alternative?

Umami is the most popular open source Google Analytics alternative by GitHub stars (36,551 stars). The other 11 options are ranked above.

Are these Google Analytics alternatives self-hostable?

Yes — every project listed here is open source and runs on your own infrastructure. Click into a project to see its license, stars, language, and current health status.

Are they free?

All projects shown are free and open source. Check each project's license page for the terms — most are MIT, Apache 2.0, or AGPL.

Best Open Source Google Analytics Alternatives (12+ projects) | Open Source Startups