PostHog
All-in-one open-source platform for product analytics, web analytics, session replay, and feature flags.
Overview
PostHog is an all-in-one, open-source platform that bundles product analytics, web analytics, session replay, and feature flags. Founded in 2020 and headquartered in San Francisco, it is MIT-licensed (with a separate proprietary enterprise directory) and can be self-hosted via Docker for free, or run on its managed cloud.
Its web analytics is deep rather than minimal: a real-time dashboard, custom event tracking, conversion goals, multi-step funnels with drop-off analysis, revenue and ecommerce tracking, and heatmaps all ship in the platform. It is built to scale, with a 1M-events-per-month free tier and no time-limited trial, plus a comprehensive REST API, raw event-level export, and 84 months of data retention on paid plans.
On privacy, PostHog claims GDPR compliance and offers EU data residency (Frankfurt) at no extra cost, plus an optional cookieless tracking mode. By default, though, it uses cookies and requires a consent banner; cookieless mode is opt-in, not the standard configuration.
Best for
- Teams that want web analytics alongside product analytics, session replay, and feature flags in one platform rather than stitching tools together.
- Engineering-led teams that want to self-host: the core is MIT-licensed, open source, and free to run on your own infrastructure via Docker.
- Conversion- and revenue-focused sites needing funnels, goal tracking, and ecommerce/revenue analytics with Stripe-style monetary capture.
- Buyers with EU compliance needs who want GDPR-compliant hosting in Frankfurt at no extra charge and an optional cookieless mode.
- Data teams that want full ownership of their data through a REST API, raw event-level export, and GA migration tooling.
Less ideal for
- Sites wanting privacy-by-default analytics: the default configuration uses cookies and requires a consent banner, with cookieless mode opt-in rather than standard.
- WordPress users wanting plug-and-play setup — there is no official PostHog WordPress plugin, only manual snippet insertion or third-party community plugins.
- Teams needing the lightest possible page weight: the initial tracking script is 66.7 KB, heavier than minimal trackers, though it lazy-loads further modules.
- Organizations requiring indefinite data retention — paid plans cap event retention at 84 months and retention is not unlimited.
Pricing
Analytics capabilities
Privacy & compliance
Data ownership & deployment
Platform & integrations
Alternatives to PostHog
Clicky Real-time, privacy-friendly web analytics with per-visitor tracking and heatmaps.
View profile
Cloudflare Web Analytics Free, privacy-first web analytics that tracks page views without cookies or fingerprinting.
View profile
Fathom Analytics Privacy-first, cookieless web analytics with a simple dashboard and forever data retention.
View profileSources · 23 verified references
Affiliate disclosure. DecisionWire may earn a commission when you sign up through outbound links on this page, at no extra cost to you. Commissions never influence our data, scores, or rankings. Full disclosure.