The alternatives
umami
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
Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
plausible/analytics Updated 2026-05-05 matomo
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
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.