PostHog logo

PostHog

Category:

Product Analytics, Session Replay and Feature Flags Platform - PostHog

What is PostHog?

PostHog is an all-in-one product OS combining analytics, session replays, feature flags, and AI observability into a single platform. It helps engineering and product teams pinpoint bugs, fix conversion funnel drop-offs, and ship features faster without juggling multiple tools.

Features

Overview

PostHog is an all-in-one product analytics platform that combines session replay, error tracking, feature flags, experiments, and AI observability. Teams use one SDK instead of several separate tools.

The platform captures events, user actions, network logs, and LLM traces. You can query this data with SQL (HogQL), natural language chat, or MCP agents inside Cursor, VS Code, and Claude Code.

A data warehouse connects 120+ external sources such as Stripe, Postgres, and HubSpot. This lets teams combine business data with product usage in one place.

PostHog also offers an MIT-licensed open-source option. It targets product engineers, product managers, growth teams, and AI engineers.

Pricing

The free plan includes 1M analytics events, 5,000 recordings, 1M feature flag requests, and 100K error exceptions monthly. It covers 1 project with 1-year data retention, and unused allowances do not roll over. Pay-as-you-go adds 6 projects and 7-year retention, billed per use (for example $0.00005 per event and $0.005 per recording). SSO, audit logs, and custom roles require platform packages, and volume discounts need a sales contact.

* Disclaimer: Please note that pricing information may not be up to date. For the most accurate and current pricing details, refer to the official website.

Key Features

  • ✓

    Autocapture of pageviews, clicks, and form submissions

  • ✓

    Session replay with console logs and network requests

  • ✓

    LLM tracing with token, latency, and cost tracking

  • ✓

    Replay Vision scanners that score session frustration

  • ✓

    A/B tests and feature flags with gradual rollouts

  • ✓

    Error tracking linked directly to session recordings

Use Cases

01

Debugging Production User Errors

Engineers pair exception stack traces with the matching session replay. This helps reproduce bugs that never appear locally.

02

Fixing Checkout Funnel Drop-Off

Product managers build funnels from landing page to paid signup. They jump from a drop-off step into recordings to see why users left.

03

Controlling LLM Application Costs

AI engineers trace calls across OpenAI, Anthropic, and Google Gemini. They compare model costs and attribute token spend to features or customers.

04

Scaling Qualitative UX Research

Designers configure Replay Vision to classify user intent and dead ends. Thousands of sessions become structured, queryable observations.

05

Validating Feature Rollouts

Growth teams release changes behind flags and run experiments. They check retention impact and watch replays from each variant before full launch.

Strengths & Weaknesses

Strengths

+

Analytics, replay, flags, and error tracking share one SDK and one bill.

+

The free tier renews monthly and needs no credit card.

+

MCP support lets you query product data inside Cursor or VS Code.

+

You can set a separate billing limit for each product.

+

The data warehouse syncs 120+ sources, including Stripe and Postgres.

Weaknesses

–

Free retention is 1 year for events and 1 month for recordings.

–

Events past a free or billing limit are permanently dropped.

–

SSO, audit logs, and custom roles require paid platform packages.

–

Mobile recording needs native SDK setup, unlike web autocapture.

Who Is This For?

●

Product engineers: debug production errors and query metrics from a code editor.

●

Product managers and founders: track funnels and retention without waiting on a data team.

●

Growth engineers: measure conversion paths and run A/B experiments.

●

AI engineers: trace multi-step LLM calls and monitor token costs.

Frequently Asked Questions

How can I estimate my PostHog bill?

Set your billing limit to $0 and install PostHog. After a few days you get a usage projection.

Does PostHog charge for data storage?

No. You pay only for what you capture, ingest, or sync each month.

How long does PostHog keep my data?

Events are kept 1 year on free and 7 years on paid plans. Recordings last 1 month on free and 90 days on pay-as-you-go.

What happens when I exceed the free limit?

On the free plan, extra events are permanently dropped and feature flags return a quota-limited response. Pay-as-you-go bills usage above the allowance.

Is there a time-limited free trial?

No. A permanent monthly free tier replaces the trial, though paid features need a credit card.

Can I cap spending on individual products?

Yes. Each product has its own billing limit in the billing settings. PostHog will not charge beyond it.

How do I install PostHog?

Run the terminal wizard (npx @posthog/wizard) or add the tracking snippet to your web app. Mobile apps need native SDKs.

Does PostHog support HIPAA requirements?

PostHog offers a BAA for HIPAA compliance through a conversation with its team. It is not included automatically.

Is there a self-hosted option?

PostHog offers an MIT-licensed open-source product. The hosted PostHog Web platform includes the full feature set.

PostHog provides SDKs for Next.js, React, Vue.js, Svelte, Node.js, Python, Ruby, Go, Java, PHP, Rust, Django, Laravel, and Rails. Mobile SDKs cover Android, iOS, Flutter, and React Native. It also connects to WordPress, Shopify, Webflow, Stripe, Postgres, HubSpot, Zendesk, Linear, and GitHub. AI Observability supports OpenAI, Anthropic, and Google Gemini.

Integrations