Star us on GitHubStar

  • Solutions
  • Plans
  • Developer resources
  • Newsroom
  • Investor relations
Talk to sales

Themoderndigitaloptimizationplatform

Product solutions reimagined for the 21 century

Contact SalesContact enterprise sales

Or

  • Product

  • Marketing

  • Support

    Sales

  • AI

  • Data

  • Engineering

Each product offers the lowest pricing vs. every competitor at scale.

Just starting out? Explore our founder stack.

Product analytics

Understand user behavior with event-based analytics, cohorts, and conversion funnels. Includes auto capture & SQL access.

  • Funnels
  • Graphs & trends
  • User paths
  • Stickiness
  • Lifecycle
  • Retention
  • SQL

Monthly free tier

1 million events

Starts at

$0.00005/event

Explore

These customers increase shareholder value with

    Y Combinator
    Customer story →
    Customer story →
  • Mistral AI
  • ElevenLabs
    Customer story →
    Customer story →
  • Raycast
  • Airbus
  • DHL
  • StartEngine
  • Assembly AI
    Customer story →
    Customer story →
    Hasura
    Customer story →
    Customer story →
  • Trust Wallet
  • ResearchGate
    Customer story →
    Customer story →
    PostHog - so meta!
    How we use PostHog →
    How we use PostHog →

10+ products in one

Product engineering has never been so lit. Trade in your product & data stack for a single platform where everything is built to work together.

Learn why this matters

We ship weirdly fast

We started with product analytics, but we've shipped 10+ products since then.

  • January
  • February
  • March
  • April
  • May
  • June


  • July
  • August
  • September
  • October
  • November
  • December

January 2020

PostHog joins YC W20 batch

PostHog was founded by James and Tim on January 23rd, 2020. We got into Y Combinator's W20 batch, moved to San Francisco, and just a couple of weeks after starting realized that we needed to build PostHog!

Hogflix mobile

SDKs for web and mobile

Web (frontend)

Use autocapture to collect client-side events without any special instrumentation.

  • JavaScript
    JavaScript
  • React
    React
  • Next.js
    Next.js
  • Vue
    Vue
  • More

Server-side libraries

Capture server-side events - best used in conjunction with a frontend web library

  • Node.js
    Node.js
  • Python
    Python
  • Java
    Java
  • PHP
    PHP
  • Ruby
    Ruby
  • C#/.NET
    C#/.NET
  • More

Mobile libraries

Send custom events and identify users. Record mobile sessions and use feature flags.

  • Android
    Android
  • iOS
    iOS
  • React Native
    React Native
  • Flutter
    Flutter
Browse all libraries

Mmmm, code examples

Here's what you can do with the PostHog JS code snippet and your product.

(Not using JavaScript?)

Track an event

Use the capture method to send custom events from your codebase. Use this data in PostHog for building cohorts, filtering insights, watching specific session replays, triggering feature flags, adding a user to an A/B test, and more.

Your code

12345678910
posthog.capture('Plan purchased', {
price: 12.99,
planId: 'XYZ12345',
term: 'monthly',
features: {
'Quality': 'HD',
'Seats': 2,
'Downloads': false,
},
});

Available in PostHog

12345678910
"event": { 8 items
"created_at": "2023-06-28T10:12:38.789-07:00"
"distinct_id": "1193056043057"
"elements_chain": ""
"event": "Plan purchased"
"properties": {...} 57 items
"team_id": 1234
"timestamp": "2023-06-28T08:57:37.083-07:00"
"uuid": "018902b9-797d-78df-a85e-73422079fcb5"
}

You can also use autocapture to retroactively define events from the DOM structure with the toolbar.

You'll LOVE PostHog if...

  • You enjoy "jumping on a quick call" with sales
  • You love needlessly wasting company money
  • You'd rather buy before you try
  • You think your email is a good trade for that free whitepaper
  • You give out your credit card details to strangers
  • You're desperate for commitment
  • You loathe new features, and bug fixes
  • You'd rather buy disparate tools and mangle them together
  • You like buying a whole product suite to get access to one tool
  • You think CSMs are your friends
  • You enjoy sitting through hours of training more than using the product
  • Data privacy isn't a big deal to you. (GDP-what now?)
  • Networking events are your things
  • You love being out of the loop
  • Your CRM is a Rolodex

So glad we picked @posthog

Hard to quantify just how much time we've saved by reducing complexity of our data pipeline and using a single tool as a source of truth for almost every customer related data question

Gajus KuizinasCo-founder, CTO

API

We built PostHog on our API. This means you get full access to anything you want with your event and customer data that's ingested by PostHog. Here are some examples.:

  • query

    User-facing analytics

    Query data captured into PostHog to show analytics for your users. Create your own visualizations and let PostHog fill in the data.

  • capture

    Use event-based functionality

    Send events, track behavior, identify users, combine them, update person properties, modify groups, and more all via the API.

  • flags

    Evaluate feature flags anywhere

    Even if you don't use one of our SDKs, you can get a flag status for a user from the API on-the-fly. Works for all types of flags from boolean to multi-variate.

  • batch

    Migrate from other tools

    Batch events to move them en masse from your old tool for use in PostHog (for free). Visualize them in PostHog alongside your newly captured events.

  • query

    Create custom reports

    Show stats like active users, pageviews, or daily signups (like we use near the bottom of this page). Import data in our data warehouse and query together.

  • annotations

    Notate when a feature is released

    Annotations are useful for understanding inflection points in insights. You can programmatically create annotations like when a PR is merged.

Explore the API

SQL access included

PostHog provides complete SQL access to your data. Use SQL expressions to use JOINs and subqueries, filter event lists, and write complex queries (that aren't supported by the PostHog UI) to analyze data in any way you want.

A hog standing in front of mission control controls

For example...

  • Double (or even triple?) breakdowns

    concat(properties.name,' ; ',properties.$current_url)
  • Advanced date filtering, relative times, weekly/monthly reports

  • Custom SQL insights directly accessing data

  • Custom scoring or "group/bin" events

  • NPS score, superhuman score calculations

  • Access JSON, object, list data

Learn more about SQL access

Join our
open source
community

We work in the open. Check out our company strategy, business model, or even our source code.

campfire-lightcampfire-dark

One platform, thousands of use cases

PostHog grows with you – from startups to growth stage and beyond.

  • Drake Hog

    Replaces the modern data stack

    With 10+ products on one platform, you'll spend less time engineering your data integrations and more time building your product.

  • Ballmer Hog

    Tutorials, tutorials, tutorials!

    Our community members use PostHog in ways we never imagined. (Some have even built entire products on our API.) Maybe we’ll write about yours next?

  • Graduate Hog

    Guides for hockey-stick growth

    We cover how products like ours went from pre-revenue to $100 million ARR - all in the open.

Full control of your customer data

  • Privacy controls

    Track users without cookies, anonymize users, configure a reverse proxy

  • Choose your hosting location

    Store user data in the US or EU depending on your needs

  • Full access to customer data

    API offers total access to customer and event data

  • Check out the source code

    Audit the entire PostHog codebase on GitHub for compliance or just peace of mind

US Cloud

Hosted in Virginia

EU Cloud

Hosted in Frankfurt

Here's what's cookin', good lookin'

The future of PostHog depends on you

We publish our product roadmap. Tell us what we should build next – and get early access.

Explore our roadmap
Under consideration
  • Product tours
  • End-user facing analytics (B2B2B/B2B2C)
  • Cookie banner product
  • Surveys in emails
  • Customer support product
  • Product roadmaps
  • Event-based flag targeting
  • Alternative to Google Tag Manager
  • Issue tracker
  • Clip recordings to the relevant parts + export as video/gif
  • Correlation analysis for cohorts
  • Prompt evaluation
  • Logs product
  • Feature flag code references
  • AI docs chat
  • Link Tracking
  • Auto rollback for feature flags
  • Web Uptime Monitoring
  • Prompt engineering product
  • Integration with code editors
In progress
  • Messaging
  • No-code A/B testing
  • PostHog CRM
  • Revenue Analytics
  • Webhook destination
  • Surveys for Mobile
  • Feature flags for Java
  • Cookieless web analytics
  • Unified role-based access control (RBAC)
  • Marketing Measurement
  • Deep research
  • Leverage saved insights to answer product questions
  • Customizable insight and dashboard colors
  • Session summaries
  • Universal filtering with Max
  • Query / API / in app analytics
  • PostHog Customer Data Platform
  • AI Wizard Installer
  • Per-page reports
  • Full-screen survey forms
A billboard with Dalton Caldwell extolling how great PostHog is

Startup program

Get to product market-fit with the most popular analytics toolkit used by YC startups

  • Huuuuge free tier

    30M events tracked + 50K recordings free, per month

  • Exclusive founder merch

    Now you can look as lit as our engineers

  • Pre-product/market fit guides

    We literally wrote a book on how to get product-market fit

  • Used and recommended by
Learn more

This is the call to action.

If nothing else has sold you on PostHog, hopefully these classic marketing tactics will.

Eco-friendly

PostHog Cloud

Digital download*

PostHog Cloud
People on G2 think we're great

Notendorsed
by Kim K

*PostHog is a web product and cannot be installed by CD.
We did once send some customers a floppy disk but it was a Rickroll.

Eco-friendly

PostHog Cloud

Digital download*

  • Select your cloud
  • Starts at:
    $0Free>1 left at this price!!
Get started

Hurry: Tons of companies signed up .
Act now and get $0 off your first order.

  • Products

  • All products
  • Max AI
  • Product analytics
  • Web analytics
  • Session replay
  • Feature flags
  • Error tracking
  • Experiments
  • Surveys
  • Product OS
  • Data connections
  • Customer stories
  • PostHog vs...
  • For startups
  • Pricing
  • How we do "sales"
  • Founder stack
  • Product OS

  • New? Start here.
  • SDKs
  • Framework guides
  • Data management
  • SQL access
  • Toolbar
  • API
  • Docs

  • Product analytics
  • Session replay
  • Feature flags
  • Error tracking
  • Experiments
  • Surveys
  • CDP
  • Data warehouse
  • Migrate
  • Community

  • Questions?
  • Guides
  • Integrations
  • Dashboard templates
  • Founders
  • Product engineers
  • Tracks
  • Merch
  • Contributors
  • Newsletter
  • PostHog FM
  • PostHog on GitHub
  • Cool tech jobs
  • Handbook

  • Why we're here
  • Our story
  • How we work
  • Values
  • Tips for working here
  • Team structure
  • Engineering
  • Brand
  • Marketing
  • Company

  • About
  • Roadmap
  • Changelog
  • People
  • Small teams
  • Blog
  • Investors
  • Press
  • FAQ
  • Security
  • Support
  • Careers
© 2025 PostHog, Inc.
  • System status
  • 👉Generate a DPA👈(It's guaranteed fun!)
  • SOC 2
  • HIPAA
  • Privacy policy
  • Terms

PostHog.com doesn't use third party cookies - only a single in-house cookie.

No data is sent to a third party.

Ursula von der Leyen, President of the European Commission
  • Solutions
  • Plans
  • Developer resources
  • Newsroom
  • Investor relations

    We're listening: Tell us about your experience

    We're always trying to improve our web site for you. Please rate your experience before continuing.

    GoodGreat