qmetrics.net

Best Open-Source Alternatives to Google Analytics

Google Analytics by Google is a commercial product. These open-source projects say they can replace it.

The most popular open-source alternative to Google Analytics is Plausible, with 30k GitHub stars. Other open-source alternatives to Google Analytics are Matomo, OpenShip, Rybbit and Fathom (10 more below). Most Google Analytics alternatives here are Web & Product Analytics tools, some are Build & Deployment. The first 13 say in their own README or website that they can replace Google Analytics (the quote is shown under each one); the other 2 do the same job, shown with their own description.

Stars and activity updated 27 November 2026.

Sort:Most starsRecentA–Z

Plausible

Privacy-first lightweight open-source website analytics

Plausible Analytics collects aggregated, cookie-free website statistics with a simple dashboard. It is available as managed cloud hosting or a self-hosted Community Edition.

★ 30k⟳ yesterdayAGPL-3.0
“Plausible is for people who want to replace Google Analytics with a simple tool that respects visitors without reducing analytics to a short-lived traffic report.”

Matomo

Privacy-oriented web and app analytics platform

Matomo collects, visualizes, and analyzes traffic from websites and apps with emphasis on data ownership and privacy controls. You install it on your server or use Matomo Cloud.

★ 22.1k⟳ todayGPL-3.0
Open Source Alternative to:FathomFathom AnalyticsGoogle Analytics+4
“Matomo Analytics is the ethical alternative for Google Analytics Google Analytics is a great free analytics tool, but there’s no clarity when it comes to grey areas like privacy and data ownership.”

OpenShip

Self-hostable deployment platform with integrated CI/CD

OpenShip builds, routes, and TLS-terminates applications from Git or local sources, managed through a desktop app, web dashboard, or CLI.

★ 15.4k⟳ todayApache-2.0
Build & DeploymentSelf-hostable
Open Source Alternative to:Fly.ioGoogle AnalyticsHeroku+4
“Privacy-friendly, cookie-free web analytics — a self-hosted alternative to Google Analytics.”

Rybbit

Cookieless open-source web and product analytics

Rybbit collects web and product analytics without cookies, offers session replay and funnel views, and can be used as a hosted service or on your own server.

★ 13.4k⟳ 6 days agoAGPL-3.0
“Rybbit is the modern open source and privacy friendly alternative to Google Analytics.”

Fathom

Self-hosted privacy-focused website analytics

Fathom Lite is an open-source, self-hosted web analytics stack with a dashboard and tracking snippet. It is a maintained earlier edition of the hosted Fathom Analytics product.

★ 8k⟳ 8 months agoMIT
Open Source Alternative to:Google AnalyticsPirsch
“A GDPR compliant, Google Analytics alternative.”

OpenPanel

Open-source web and product analytics platform

OpenPanel tracks website and product usage with funnels, cohorts, session replay, and dashboards. It offers cookieless GDPR-oriented tracking, optional self-hosting, and SDKs for web and mobile.

★ 7.3k⟳ 2 days agoAGPL-3.0
“Openpanel is an open-source web and product analytics platform that combines the power of Mixpanel with the ease of Plausible and one of the best Google Analytics replacements.”

Tianji

Combined web analytics, uptime, and server status

Tianji bundles website analytics, uptime monitoring, and server status reporting in one open-source application for lightweight operations insight.

★ 3.1k⟳ todayApache-2.0
“Tianji: Insight into everything, Website Analytics + Uptime Monitor + Server Status. not only another GA alternatives”

OpenWebAnalytics

Self-hosted open-source web analytics server and tracker

Open Web Analytics collects traffic and behavior data from your sites through a JavaScript tracker and an OWA Server you install. It offers dashboards, APIs, and optional heatmaps and session recordings.

★ 2.7k⟳ 9 days agoGPL-2.0
“Open Web Analytics is an open source alternative to commercial web analytics tools such as Google Analytics.”

Aptabase

Privacy-first open-source analytics for mobile, desktop, and web

Aptabase collects minimal, session-oriented usage data for apps through many SDKs. It offers a managed cloud service or hosting on your own servers with a built-in dashboard

★ 1.9k⟳ 3 days agoAGPL-3.0
Open Source Alternative to:FirebaseGoogle AnalyticsGoogle Analytics 4+1
“Aptabase is an open-source alternative to Firebase/Google Analytics, specifically built for Mobile, Desktop and Web apps.”

Litlyx

Cookie-free self-hostable web analytics with AI dashboard

Litlyx is a web analytics product that tracks visits and custom events without cookies. You can use a hosted cloud account or run the dashboard yourself with Docker.

★ 1.7k⟳ 11 months agoApache-2.0
“Both are privacy-conscious alternatives to Google Analytics, but Litlyx is lighter, faster to set up, and cookieless by default — while Matomo offers more legacy features for enterprise use cases.”

Swetrix

Privacy-first open-source web analytics with monitoring built in

Swetrix offers cookieless, GDPR-oriented website analytics with traffic stats, funnels, and custom events. You can use hosted Swetrix Cloud or deploy the Community Edition yourself with Docker.

★ 1.2k⟳ yesterdayAGPL-3.0
Open Source Alternative to:Google AnalyticsGoogle Analytics 4
“Swetrix is a cookieless, GDPR-compliant analytics platform — a privacy-respecting alternative to Google Analytics.”

OpenAnalytics

Privacy-first cookieless self-hosted web analytics platform

OpenAnalytics tracks page views, events, funnels and Stripe revenue with a small script, ClickHouse storage and an optional MCP server.

★ 651⟳ 1 month agoAGPL-3.0
Open Source Alternative to:Google Analytics
“Open Analytics is a privacy-first Google Analytics alternative: realtime visitors, funnels and revenue attribution from one lightweight, cookieless script.”

Prisme Analytics

Self-hosted privacy-focused web analytics service

Prisme Analytics is an open-source web analytics service written in Go. It offers dashboards, custom events, and cookie-less tracking with options to self-host or use Prisme Cloud.

★ 136⟳ 9 months agoAGPL-3.0
Open Source Alternative to:Google Analytics
“Prisme Analytics | Customizable, privacy-friendly Google Analytics alternative”

Also does the same job as Google Analytics

These projects don't call themselves a Google Analytics alternative, but two independent checks of their own description found they do the same main job.

Betterlytics

Cookieless web analytics, replay, errors, and uptime

Betterlytics combines web analytics, session replay, error tracking, Core Web Vitals, and uptime monitoring in one dashboard. It offers a managed EU cloud option or self-hosted deployment.

★ 198⟳ 2 days agoAGPL-3.0
Open Source Alternative to:Google Analytics
“Open-source web analytics with session replay, error tracking, Core Web Vitals and uptime monitoring in one tool. Cookieless, EU-hosted cloud or self-hosted.”

HitKeep

AI-native cookieless web analytics in one binary

HitKeep is privacy-first web analytics that unifies traffic, conversions, Search Console, and AI visibility. You can run it as a single Go binary or use managed Cloud in EU or US regions.

★ 108⟳ 2 days agoMIT
Open Source Alternative to:Google AnalyticsPirsch
“100% open-source, AI-native web analytics with cookieless tracking, open exports, custom domains, and SSO—self-hosted as one Go binary or managed in EU/US cloud.”

Compare Google Analytics alternatives

Questions about Google Analytics alternatives

Is there an open-source alternative to Google Analytics?

Yes. 15 open-source projects can replace Google Analytics, for example Plausible, Matomo and OpenShip. 13 of them say so in their own documentation; the other 2 do the same job.

What is the best open-source alternative to Google Analytics?

Plausible (30k GitHub stars) is the most popular open-source alternative to Google Analytics on GitHub. OpenShip has the most recent code changes. The best choice depends on your needs: compare them side by side, for example Plausible vs Matomo.

Are the open-source alternatives to Google Analytics free?

All of the 15 projects listed here are free to use under an open-source license, with no license fee: 5 permissive (such as Apache-2.0), 10 copyleft (such as AGPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.

Related commercial products

Google Analytics 4

Google

12 open-source alternatives

Vercel

Vercel

12 open-source alternatives

Google Drive

Google

11 open-source alternatives

Heroku

Salesforce

11 open-source alternatives

Firebase

Google

10 open-source alternatives

Gemini

Google

10 open-source alternatives