
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.
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.

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.
“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.”

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.
“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.”

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.
“Privacy-friendly, cookie-free web analytics — a self-hosted alternative to Google Analytics.”

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.
“Rybbit is the modern open source and privacy friendly alternative to Google Analytics.”

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.
“A GDPR compliant, Google Analytics alternative.”

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.
“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.”

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.
“Tianji: Insight into everything, Website Analytics + Uptime Monitor + Server Status. not only another GA alternatives”

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.
“Open Web Analytics is an open source alternative to commercial web analytics tools such as Google Analytics.”

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
“Aptabase is an open-source alternative to Firebase/Google Analytics, specifically built for Mobile, Desktop and Web apps.”

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.
“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.”

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.
“Swetrix is a cookieless, GDPR-compliant analytics platform — a privacy-respecting alternative to Google Analytics.”

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.
Google Analytics“Open Analytics is a privacy-first Google Analytics alternative: realtime visitors, funnels and revenue attribution from one lightweight, cookieless script.”

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.
Google Analytics“Prisme Analytics | Customizable, privacy-friendly Google Analytics alternative”
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.

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.
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.”

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.
“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.”
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.
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.
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.