Analytics · guide

PostHog: an analytics platform for product teams

PostHog is an open-source product analytics platform. Event analytics, session recordings, feature flags, A/B tests and surveys come together in one product. For web app and SaaS teams it is more product-focused than GA4.

Type
Product analytics
Price
Free tier, then usage-based
Hosting
Cloud and self-hosted
Code
Open source

What is PostHog?

PostHog records every step a user takes in the product as an event and ties it to that user's profile. Alongside funnel, retention and trend reports you can jump to that user's session recording to see the problem.

Its biggest strength is having it all in one place: you release a new feature to 10% of users with a feature flag, measure its effect in the same platform and roll it out to everyone based on the result.

What PostHog makes possible

  1. Funnels and retention

    Activation and return analysis.

  2. Session recordings

    Watching the moment the problem happens.

  3. Feature flags

    Gradual feature roll-outs.

  4. A/B tests

    Experiments with statistical results.

  5. In-product surveys

    Asking users at the right moment.

  6. Warehouse export

    Export to BigQuery and other warehouses.

What PostHog works with

  • GrowthBook

    An open-source feature flag and A/B testing platform.

    Open the guide
  • Google BigQuery

    A serverless data warehouse. GA4 raw data and large-scale SQL analysis.

    Open the guide
  • Supabase

    An open-source backend on Postgres: auth, storage, API.

    Open the guide
  • Google Tag Manager

    Managing tracking tags and the dataLayer without code.

    Open the guide

My experience

Projects where I used PostHog:

  • [Project: brand, what I built, result %]
  • [Project: brand, what I built, result %]
See the cases

PostHog resources

  • GA4 event plan

  • UTM builder and naming convention

  • Google Analytics 4 guide

Questions about PostHog

Is PostHog free?

Each product has a monthly free tier. Beyond it you pay for usage.

How is it different from GA4?

GA4 is strong on marketing and traffic sources. PostHog is strong on in-product behaviour, user profiles and experiments.

Is there a self-hosted version?

Yes, but at large volumes I recommend Cloud: running the infrastructure is a job of its own.

Other tool guides