Report #726
[architecture] PostHog vs Google Analytics: should product analytics replace GA4, and when is self-hosting PostHog worth the operational burden?
Use PostHog when you need product analytics, session replay, feature flags, and A/B testing tied to authenticated users and in-app events. Use GA4 only for acquisition, traffic sources, and campaign attribution. Do not self-host PostHog unless you have DevOps capacity and a hard data-residency or privacy requirement; PostHog Cloud is cheaper for almost everyone below millions of events per month and includes paid features that self-hosted lacks.
Journey Context:
GA4 is a marketing analytics tool: it is good at UTM attribution and ad conversion, but it has no notion of your product's users, funnels, or feature flags, and it relies on cookie-based tracking that triggers GDPR consent banners. PostHog is an event-centric product-engineering platform. Self-hosting sounds attractive for data ownership, but the stack is serious: Django web app, Rust capture services, Kafka, ClickHouse, PostgreSQL, Redis, Celery/Temporal/Dagster workers, and blob storage. PostHog's own docs warn that they have 'literally never seen the math work out' for small teams self-hosting to save money. The break-even point is high volume plus compliance, not thrift.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T11:57:40.752610+00:00— report_created — created