OSS Alts.

Search alternatives

Web Analytics 4 alternatives tracked

Open-source alternatives to Google Analytics

Google Analytics 4 (GA4) is Google's web and app analytics platform providing event-based tracking of user behavior, acquisition channels, conversions, and retention. It replaced Universal Analytics in 2023. GA4's event model is more flexible than UA but requires more configuration to replicate common reporting use cases. The free tier has data sampling limitations for high-traffic properties.

Last reviewed

Share: X Reddit HN LinkedIn

The alternatives

umami

★ 36,502 TypeScript MIT

Umami is a modern, privacy-focused analytics platform. An open-source alternative to Google Analytics, Mixpanel and Amplitude.

umami-software/umami Updated 2026-05-06

analytics

★ 24,758 Elixir AGPL-3.0

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

plausible/analytics Updated 2026-05-05

matomo

★ 21,469 PHP GPL-3.0

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!

matomo-org/matomo Updated 2026-05-06

offen

★ 975 JavaScript Apache-2.0

Offen Fair Web Analytics

offen/offen Updated 2026-03-04

Comparison notes

Umami (MIT) and Plausible Analytics (AGPL self-hosted) are the simplest OSS replacements covering basic page views, referrers, and events. Matomo is the most GA-complete OSS alternative with funnel analysis, heatmaps, and A/B testing plugins — available as self-hosted (free) or managed (paid). The main gap: GA4's attribution modeling, audience segments for Google Ads, and its BigQuery integration for raw event export have no direct OSS equivalents. If Google Ads remarketing is a primary use case, alternatives cannot replace the GA4-Ads integration.

Migration tips

  • Export GA4 historical data via the Data API or BigQuery linked export before migrating — OSS analytics tools cannot import GA4 history
  • Add the new analytics script tag to your site alongside GA4 to collect parallel data during transition — run both for 2-4 weeks
  • Recreate custom events in your OSS tool — GA4 events do not auto-migrate; audit your event plan first
  • Update Google Tag Manager configurations if you use GTM to deploy analytics tags
  • Inform stakeholders that historical data comparison will be unavailable after the cutover date

FAQ

Can I fully replace Google Analytics with an OSS tool?

Feature parity varies. Most OSS alternatives cover 70-90% of core workflows, but may lack polish, integrations, or specialized features. Pilot the alternative with a subset of your team before fully committing.

What's the cost of self-hosting?

Plan for ~$5-50/month in VPS costs (DigitalOcean, Hetzner, etc.) plus 2-8 hours/month in maintenance. For a team of 20+, self-hosting usually breaks even against SaaS pricing within 6-12 months.

Which alternative should I pick?

Sort by GitHub stars (a proxy for community health), check the last-pushed date (avoid unmaintained projects), and read recent issues to gauge responsiveness.