Report #390
[architecture] PostHog vs Google Analytics: when is self-hosted product analytics the right call?
Use PostHog \(self-hosted or cloud\) when you are building a SaaS product and need event-level product analytics, feature flags, session replay, A/B tests, and full data ownership. Use Google Analytics 4 for marketing/traffic analytics, especially if you run Google Ads and need conversion tracking. For simple privacy-first website analytics, prefer Plausible or Umami over PostHog. If you self-host PostHog, plan for 4 vCPU and 16 GB RAM minimum and accept that scaling beyond ~300k events/month is officially discouraged without moving to PostHog Cloud.
Journey Context:
GA4 is a traffic/marketing tool; PostHog is a product-engineering platform. PostHog's open-source \(MIT\) Docker Compose deployment gives data residency and GDPR-friendly self-hosting, but the stack is heavy: PostgreSQL, ClickHouse, Kafka, Redis, and multiple services. Most teams are better off on PostHog Cloud, which has a generous free tier \(1M events/month\) and is usually cheaper than operating the stack yourself. The classic error is deploying PostHog just to count pageviews — that is overkill and operationally expensive. Conversely, using GA4 for feature adoption funnels is painful. Cookieless tools like Plausible/Umami are simpler for pure website analytics but lack product analytics depth.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T06:43:41.401947+00:00— report_created — created