Skip to content

PostHog

PostHog is an open-source platform providing product analytics, session replay, and feature flags to analyze, test, observe, and deploy new features.

Freemium · Web, API

PostHog in short

PostHog offers a comprehensive open-source product analytics platform, but its all-in-one nature might be overkill for simpler needs.
stork
I am a 3D character.
One 3D character and one typed sentence.
This 3D character was never animated.
A photo, a cartoon, a painting or a 3D character. From 10 cents a minute. Free to try.
Make a photo talkDevelopers: there is an API

What is PostHog?

PostHog is an AI-enhanced product analytics and experimentation platform developed by PostHog (company) that enables engineering and product teams to analyze, test, observe, and deploy new features. It consolidates product analytics, session replay, feature flags, and experimentation into a single open-source ecosystem. The platform provides comprehensive behavioral insights and streamlines the product development lifecycle through a suite of functionalities. These include detailed product analytics for tracking user events, session replay for qualitative user experience insights, and feature flags with A/B testing for controlled feature rollouts and experimentation. Additionally, PostHog offers in-app surveys for direct user feedback, error tracking for real-time issue diagnosis, and functions as a central customer data platform (CDP) for data aggregation and routing to over 60 destinations. Main use cases involve debugging products faster, uncovering user friction by linking funnel drop-offs to session replays, targeting new features to specific user segments, and running A/B tests for data-driven product decisions.

Key Features of PostHog

PostHog offers a comprehensive suite of tools designed to provide deep insights into user behavior and streamline product development, consolidating multiple functionalities into a single platform.

  • Product Analytics: Tracks user events (clicks, pageviews, custom events) for analysis of trends, funnels, retention, and user paths, supporting both autocapture and explicit event tracking.
  • Session Replay: Records and replays user sessions on websites and applications, including event timelines, console logs, and network requests, for qualitative insights and debugging.
  • Feature Flags & A/B Testing (Experiments): Enables controlled rollout of new features to specific user segments, A/B testing for impact measurement, and comprehensive feature release management.
  • Surveys: Facilitates deployment of in-app surveys (NPS, CSAT, custom forms) to collect direct user feedback at critical points in the user journey.
  • Error Tracking: Provides automated error tracking for front-end and back-end applications, capturing errors and stack traces for real-time diagnosis and resolution.
  • Data Warehouse and CDP: Functions as a central hub for customer data, allowing synchronization from external sources like Stripe and HubSpot, and routing data to over 60 destinations.
  • LLM Analytics Module: Tracks prompt/completion pairs, token consumption, and latency specifically for AI product instrumentation, launched in 2026.
  • HogQL: Offers direct SQL access for querying PostHog data, introduced in June 2023.
  • Open-Source Platform: Provides the flexibility of self-hosting the core platform, ensuring data ownership and customization.

Who Should Use PostHog?

PostHog is primarily designed for technical and product-focused teams seeking an integrated platform to understand user behavior, manage features, and optimize product development cycles.

  • Product Engineers: Utilize PostHog for debugging and shipping products faster by tracking errors, understanding user behavior through analytics, and managing feature rollouts.
  • Product Managers: Leverage the platform to uncover user friction by linking funnel drop-offs to session replays, target new features to specific user segments, and make data-driven decisions via A/B tests.
  • Data Analysts: Employ PostHog as a unified data warehouse to aggregate user and error data from various sources, enabling comprehensive analysis and reporting.
  • Founders: Benefit from an all-in-one solution to gain comprehensive insights into product usage and growth, reducing the need for multiple disparate tools.
  • SRE / Platform Engineers: Use error tracking capabilities to monitor and diagnose issues in real-time, ensuring product stability and performance.

PostHog Pricing & Plans

PostHog operates on a freemium business model, offering a robust open-source core for self-hosting and flexible usage-based pricing for its cloud services. The platform provides a generous free tier that includes core analytics, session replay, and feature flags up to specific usage limits, making it accessible for startups and individual developers. For higher volumes and advanced features, cloud plans are available with usage-based billing, allowing users to scale according to their needs. Notably, PostHog significantly reduced session replay costs by up to 50% in July 2024, enhancing the affordability of qualitative user insights. While the open-source core is free for self-hosting, PostHog shifted its focus in February 2023 to mass adoption in high-potential startups, emphasizing its open-source and cloud projects.

  • Free Tier: Includes core product analytics, session replay, and feature flags up to specified monthly event and session limits.
  • Cloud Plans: Usage-based pricing model, billed according to events ingested, session replays recorded, and other feature consumption.
  • Self-Hosted: The open-source core is available for free deployment on private infrastructure, providing full data ownership.

PostHog vs Competitors

PostHog positions itself as an open-source, all-in-one 'Product OS' for engineering-led teams, emphasizing data ownership and flexibility through both self-hosting and cloud options. It differentiates by consolidating multiple tools into a single ecosystem, contrasting with competitors that often specialize in a single area.

PostHog

Freemium · Web, API

From the Stork blog

Enjoying this? Get one like it in your inbox each morning.

one email a day · unsubscribe in two clicks · no third-party tracking

Stork Quadrant

Becomes the API· 46/100

Replaceable as a UI, but kept alive as the API the agents call.

“PostHog's core value is not the analysis UI — it's the instrumented pipeline sitting inside your product, collecting proprietary behavioral data that no LLM can access without it. The coordination moat is real: PostHog ties together event ingestion, session replay, feature flags, and A/B testing into one system that multiple teams depend on simultaneously. An LLM alone can reason about data but cannot capture it, store it, or gate features in production. The open-source angle and self-hosting option add switching friction that SaaS-only competitors lack.”

— Claude Sonnet 4.6, scored 2026-05-27

Defensibility · 30/100

  • Physical-world coupling
  • Regulatory moat
  • Network liquidity
  • Proprietary refreshing data
  • High-trust catastrophic workflows
  • Multi-party coordination
  • Brand / community / taste

An LLM alone could replace

  • Write SQL queries to analyze user behavior from a description
  • Interpret a funnel chart or retention graph and summarize findings
  • Draft a feature flag rollout strategy or experiment design
  • Generate insight from a CSV export of event data

Agent-Readiness · 65/100

  • Verified MCP— Stork MCP listing: posthog-mcp (confirmed)
  • Listed on agent surfaces— anthropic_directory, cursor + Stork:posthog-mcp
  • Usage-based pricing— pricing page heuristic match: https://posthog.com/pricing
  • Headless agent auth
  • Public OpenAPI
  • Active changelog
  • llms.txt— https://posthog.com/llms.txt

Score history · +29 pts over 3 re-scores

How to defend

Double down on being the data layer agents call, not the dashboard humans click. Expose richer MCP and API surfaces so AI agents can query PostHog directly — the tool that owns the behavioral data pipe wins when every product team runs an AI analyst.

  • Expose API-key auth with a self-serve sandbox tier; remove sales-call gates (+15).
  • Publish an OpenAPI spec at /openapi.json or /.well-known/openapi (+10).
  • Publish a public changelog and ship in the last 90 days — silence reads as abandonment (+10).