Skip to main content

What is PostHog?

PostHog is an all-in-one platform that helps teams build better products. Unlike traditional analytics tools that require multiple separate services, PostHog provides everything you need in a single platform to understand user behavior, test new features, and make data-driven decisions.

All Your Product Tools in One Platform

PostHog combines multiple product tools into a unified platform:

Product analytics

Track user behavior, analyze trends, funnels, retention, and user paths

Session replay

Watch recordings of real user sessions to understand behavior and debug issues

Feature flags

Roll out features safely with targeting, multivariate flags, and instant rollbacks

Experiments

Run A/B tests and multivariate experiments with statistical significance

Surveys

Collect user feedback with in-app surveys and NPS scores

Error tracking

Monitor and debug errors with stack traces linked to session replays

Data warehouse

Import, transform, and query data from external sources alongside product data

CDP

Send data to external tools and destinations with the customer data platform

Quickstart

Get started with PostHog in minutes

Installation

Set up PostHog Cloud or self-hosted

SDKs

Integrate with your tech stack

Key Features

Built for Privacy and Compliance

  • Self-hosting option: Keep all your data on your own infrastructure
  • EU and US Cloud regions: Choose where your data is stored
  • GDPR compliant: Built-in tools for privacy compliance
  • SOC 2 Type II certified: Enterprise-grade security

Powerful and Flexible

  • SQL access: Query your data directly with HogQL (our SQL-like language)
  • API-first: Full REST API for programmatic access
  • Open source: Transparent codebase you can inspect and contribute to
  • Integrations: Connect with 50+ data sources and destinations

Developer-Friendly

  • 15+ SDKs: Support for JavaScript, Python, Ruby, Go, iOS, Android, and more
  • Local evaluation: Feature flags that work without API calls
  • Webhooks: Real-time notifications for events and changes
  • Custom apps: Extend PostHog with your own functionality

Why Teams Choose PostHog

One platform, one bill: Stop paying for separate analytics, session replay, feature flags, and testing tools. Own your data: With self-hosting or EU/US cloud options, you control where your data lives. Ship faster: Make decisions based on real user data instead of guesswork. Feature flags let you test in production safely. Debug better: See exactly what users experienced with session replay linked to events and errors.

PostHog Cloud vs Self-Hosted

The fastest way to get started. We handle infrastructure, scaling, and updates.
  • Generous free tier with 1M events/month
  • Automatic updates and new features
  • 99.9% uptime SLA for paid plans
  • Available in US and EU regions
Get started with Cloud →

Self-Hosted

Full control over your data and infrastructure.
  • Deploy on your own servers
  • Complete data ownership
  • Air-gapped installation option
  • Hobby and enterprise licenses available
Self-hosting guide →

Next Steps

1

Sign up for PostHog Cloud

Create a free account and start capturing events in minutes.
2

Install a library

Add PostHog to your app with one of our SDKs.
3

Create your first insight

Build dashboards and analyze user behavior.
4

Set up feature flags

Roll out features safely with targeting and experiments.

Get Help

Build docs developers (and LLMs) love