stackpicks.dev
All alternatives
Analytics

Best Open-Source Alternatives to Google Analytics

Google Analytics is free but invasive (tracks users with cookies, requires GDPR cookie banner, slows your site). OSS alternatives are privacy-first, GDPR-safe, and faster.

TL;DR — top pick

Plausible

Plausible is the privacy-first, cookie-free analytics that GDPR/DPDP-conscious sites use. 1KB script, no cookies, no consent banner needed.

github.com/plausible/analytics

All 3 alternatives ranked

#1

Plausible

AGPL-3.0Self-hostable★ ~22k
github.com/plausible/analytics

Plausible is the privacy-first, cookie-free analytics that GDPR/DPDP-conscious sites use. 1KB script, no cookies, no consent banner needed. Self-host (free) or cloud ($9/mo). The default pick for new sites in 2026.

Pick Plausible if

You want simple, fast, GDPR-safe analytics with no cookie banner.

Skip if

You need session replay, funnels, or product analytics — PostHog is the answer.

#2

Umami

MITSelf-hostable★ ~26k
github.com/umami-software/umami

Umami is fully OSS Plausible — same privacy-first model, but completely free if you self-host. Slightly less polished UI but battle-tested. The pick if you want zero recurring cost.

Pick Umami if

You want Plausible-style analytics but fully self-hosted for free.

Skip if

You want managed cloud — Plausible's cloud is worth $9/mo for the convenience.

#3

PostHog

MITSelf-hostable★ ~23k
github.com/PostHog/posthog

PostHog is full product analytics — page views, funnels, retention, session replay, feature flags, A/B testing, in-app surveys, error tracking. Way more than GA. Self-host or use the very generous cloud free tier.

Pick PostHog if

You're building a SaaS and need product analytics (not just marketing site stats).

Skip if

You only need page-view counting — PostHog is overkill.

Want the full curated stack?

StackPicks members get 100+ open-source tools across 22 categories with curator takes, 13 stack bundles, and 12 skill tracks. ₹99 lifetime.

See pricing
Best Open-Source Google Analytics Alternatives on GitHub (2026) — Plausible & more — StackPicks — StackPicks