PostHog logo

PostHog

Product Analytics
Ideal for:
Startups
B2B SaaS
Product Teams
Data Teams
Mobile Apps

All-in-one open-source product analytics platform with session replay, feature flags, and A/B testing for engineers.

190,000+ users
Founded 2020

Pros & Cons

Pros
Open-source and self-hostable option for complete data control
All-in-one platform combining analytics, replays, and feature flags
Generous free tier (1M events/month) that resets monthly
Direct SQL access (HogQL) for advanced data querying
Autocapture feature tracks all events without manual instrumentation
Cons
Steep learning curve for non-technical users
Self-hosting requires significant engineering resources to maintain
Can become expensive at high volume if not optimized
Visualization options are less flexible than dedicated BI tools

Integrations

Slack
Stripe
HubSpot
Salesforce
Sentry
Segment
Zapier
RudderStack
Hightouch
BigQuery

Use Cases

Reducing Infrastructure Failure Rates

Phantom, a crypto wallet, used PostHog's feature flags as 'kill switches' for their backend RPC endpoints. By toggling these flags in real-time based on performance data, they reduced transaction failure rates by **90%**, keeping errors below 1% even during high-traffic beta launches.

Optimizing User Onboarding Funnels

Hasura, an open-source GraphQL engine, used PostHog's funnel analysis to identify a major drop-off point in their onboarding flow. By moving complex configuration steps to later in the journey based on this data, they improved their onboarding conversion rate by **10-20%**.

Automating Customer Feedback Loops

BuildBetter integrated PostHog to centralize user feedback and link it directly to GitHub issues. This automation resulted in a **50% reduction in manual workload** for the product team and a **2x increase** in the number of customer interactions captured and analyzed.

Data-Driven UX Redesign

A product team discovered a **40% churn rate** on a specific 'Robot Setup' step using PostHog's path analysis. The data revealed that users weren't seeing the confirmation buttons, leading to a redesign that fixed the visibility issue and recovered the lost conversions.

Who Uses This
Pricing
Free - Usage-based
Free tier available
Special Offer
Startup program ($50k credits), Non-profit discounts

About PostHog

Overview

PostHog is an open-source “Product OS” built specifically for engineers and technical product teams. Unlike traditional analytics tools that focus solely on marketing funnels or vanity metrics, PostHog combines product analytics, session replay, feature flags, and A/B testing into a single integrated platform. This allows teams to not only track what users are doing but also control how they experience the product from the same interface.

Founded in 2020 by James Hawkins and Tim Glaser, PostHog was born out of Y Combinator (W20) with a mission to give engineers better tools for understanding user behavior. It has since grown to serve over 190,000 customers, including high-growth startups like AssemblyAI and Hasura. Its key differentiator is its “all-in-one” approach and its open-source nature, offering a self-hosted version for companies that need complete control over their user data for privacy or compliance reasons.

Key Features

All-in-One Product Analytics

PostHog eliminates the need to stitch together separate tools for analytics, session recording, and experimentation. Its core analytics engine uses “autocapture” to track every click, pageview, and form submission automatically, meaning you don’t need to write tracking code for every single event.

  • Technical details: Built on ClickHouse for high-performance querying. Supports both autocapture (frontend) and robust server-side SDKs (Node, Python, Go, etc.).
  • Use cases: Engineering teams use it to trace a bug report from a specific user, watch the session replay of that error, and then immediately check if the user had a specific feature flag enabled—all in one tab.

Feature Flags & Experimentation

Instead of treating feature management as a separate discipline, PostHog integrates it directly with your data. You can roll out features to specific cohorts (e.g., “Power Users” or “Beta Testers”) and instantly see how that feature impacts conversion rates or usage metrics without exporting data to a third-party tool.

  • Technical details: Supports multivariate flags, JSON payloads for remote configuration, and instant rollbacks. Flags are evaluated locally in the SDK for low latency.
  • Use cases: A B2B SaaS company can safely test a new pricing page on 10% of traffic, measuring not just clicks but downstream retention, before rolling it out to everyone.

Session Replay with Console Logs

PostHog’s session replay goes beyond simple video-like playback by capturing the “under-the-hood” technical context. It records console logs, network requests, and DOM events synchronized with the user’s screen interactions.

  • Technical details: diverse privacy controls allow you to mask sensitive text or elements automatically. Recordings are indexed by user properties and events, making them searchable.
  • Use cases: Developers use this to reproduce “heisenbugs” that only happen for specific users. Instead of asking for a screenshot, they can watch the session and see the exact API error that occurred in the console at the moment of frustration.

HogQL (Direct SQL Access)

For advanced users, PostHog offers direct access to the underlying data via HogQL, a SQL-like variant designed for product analysis. This allows data teams to build complex, custom visualizations that standard dashboards can’t handle.

  • Technical details: Write SQL queries directly against your event data in the UI. You can create “Insights” from these queries and pin them to dashboards.
  • Use cases: A data analyst can write a query to correlate “Time to First Action” with “Long-term Retention” for a specific cohort of users who signed up via a specific marketing campaign, bypassing standard report limitations.

Pricing

PostHog operates on a transparent, usage-based pricing model with a generous free tier that resets every month. This makes it extremely accessible for early-stage startups and indie developers.

Free Tier:

  • Product Analytics: First 1,000,000 events/month are free.
  • Session Replay: First 5,000 recordings/month are free.
  • Feature Flags: First 1,000,000 requests/month are free.
  • Surveys: First 250 responses/month are free.
  • Includes access to all core features, unlimited team members, and community support.

Paid Plans: Once you exceed the free limits, you pay only for what you use. Prices decrease significantly as volume increases.

  • Analytics: Starts at ~$0.00005 per event (approx. $50 for the next million).
  • Session Replay: Starts at ~$0.0050 per recording.
  • Enterprise: Custom pricing is available for massive volume, which includes advanced permissions, SSO enforcement, and dedicated support.

Special Programs: PostHog offers a generous PostHog for Startups program, providing $50,000 in free credits (valid for one year) for eligible early-stage startups (typically those backed by YC or other partners). They also offer discounts for non-profit organizations.

Field Notes & Testing

Hands-on experiments and discoveries with PostHog

Ready to try PostHog?

Visit their website to learn more and get started

Visit PostHog Website

More Product Analytics Tools

Explore similar tools in this category

Amplitude logo
Amplitude
Product Analytics

Comprehensive digital analytics platform combining behavioral insights, experimentation, and session replay to drive user retention.

From Free - Custom
0
Kissmetrics logo
Kissmetrics
Product Analytics

Person-based analytics platform that connects individual user behavior to revenue, helping SaaS and e-commerce teams optimize funnels and reduce churn.

From Free - $499+/mo
0
Mixpanel logo
Mixpanel
Product Analytics

Self-serve product analytics platform that converts user actions into insights via deep event tracking, metric trees, and retention cohorts.

From Free - Custom
0