
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
Google Analytics for Firebase by Google is a commercial product. These open-source projects say they can replace it.
The most popular open-source alternative to Google Analytics for Firebase is PostHog, with 41.2k GitHub stars. Other open-source alternatives to Google Analytics for Firebase are Umami, Matomo, Rybbit and OpenPanel (2 more below). Most Google Analytics for Firebase alternatives here are Web & Product Analytics tools, some are Marketing & Customer Engagement. The first 1 say in their own README or website that they can replace Google Analytics for Firebase (the quote is shown under each one); the other 6 do the same job, shown with their own description.
Stars and activity updated 27 November 2026.

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 easy to use and open source alternative to Google Firebase Analytics for Mobile and Desktop applications.”
These projects don't call themselves a Google Analytics for Firebase alternative, but two independent checks of their own description found they do the same main job.

Open-source product analytics and context layer for apps
PostHog ingests analytics, session replays, errors, logs, and related product data so teams and agents can query and act on it. It ships feature flags, experiments, surveys, and warehouse tooling in one platform.
“Product analytics: Autocapture or manually instrument event-based analytics to understand user behavior.”

Privacy-first open-source web and product analytics platform
Umami tracks acquisition, behavior, conversion, retention, and revenue in one dashboard without cookies. You can self-host it or use Umami Cloud.
“Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.”

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.
“Empowering People Ethically 🚀 — Matomo is hiring! Join us → https://matomo.org/jobs 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 & apps. Star us on GitHub ⭐️ – Pull Requests welcome!”

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

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, an open-source alternative to Mixpanel with optional self-hosting.”

Privacy-first product analytics and customer engagement platform
Countly collects and analyzes product data from mobile, web, desktop, and connected apps. Organizations can run it on their own infrastructure for analytics, engagement, and compliance.
“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.”
Yes. 7 open-source projects can replace Google Analytics for Firebase, for example PostHog, Umami and Matomo. 1 of them says so in its own documentation; the other 6 do the same job.
PostHog (41.2k GitHub stars) is the most popular open-source alternative to Google Analytics for Firebase on GitHub. The best choice depends on your needs: compare them side by side, for example PostHog vs Umami.
All of the 7 projects listed here are free to use under an open-source license, with no license fee: 2 permissive (such as MIT), 5 copyleft (such as GPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.