Top 3 Self-Hosted Open-Source Alternatives to Google Analytics 4 / Mixpanel (2026)
Google Analytics 4 / Mixpanel costs Growth Analytics ($89/mo) ($89/mo or $1,068/year for 10 seats). Switch to one of the verified open-source Docker replacements below.
Plausible CE
Lightweight (<1KB script), cookie-free, GDPR-compliant web analytics on a single clean dashboard
- ✓No cookie banner required anywhere in EU/UK
- ✓UTM, funnel & revenue goal tracking
- ✓1KB script loads 45x faster than GA4
ghcr.io/plausible/community-edition:v2.1
TCO & Docker Compose →
Umami
Simple, fast, privacy-focused web & product event analytics built on Next.js and Postgres
- ✓Runs right on your existing Postgres instance
- ✓Unlimited websites & custom events
- ✓True MIT license + public shareable dashboards
ghcr.io/umami-software/umami:postgresql-latest
TCO & Docker Compose →
PostHog
All-in-one open-source product analytics, session replay, feature flags, and A/B testing
- ✓Replaces Mixpanel + Hotjar + LaunchDarkly
- ✓Session recordings & heatmaps
- ✓SQL insights directly on events
posthog/posthog:latest
TCO & Docker Compose →