PostHog
FreemiumAll-in-one open-source product analytics suite: analytics, session replay, feature flags, A/B testing, and surveys.
At a glance
All-in-one open-source product analytics suite: analytics, session replay, feature flags, A/B testing, and surveys. Price : Free then custom pricing. Rating : 4.5/5.
Try PostHogCategory
Analytics
Pricing
Free then custom pricing
Rating
4.5/5
Status
Verified ✓
Preview

What is PostHog?
PostHog is an all-in-one open-source product analytics platform designed for technical teams. Distributed under the MIT license, it combines product analytics, session replay, feature flags, A/B testing, surveys, error tracking, a data warehouse, and a CDP in a single tool.
Founded in 2020, PostHog can be self-hosted for complete data control or used in the cloud (US or EU hosting). The platform replaces Mixpanel + Hotjar + LaunchDarkly in a single interface, with a free tier that covers 98% of users.
Key Features
Product Analytics
Advanced event analysis with funnels, retention, cohorts, user journeys, and custom dashboards. Direct SQL access for complex analysis. Behavioral data visualization to understand how users interact with your product.
Session Replay
Video recordings of user sessions on web and mobile. Deep integration with analytics: you can go from a statistical trend to viewing an individual session in one click to diagnose a UX issue.
Feature Flags and A/B Testing
Progressive feature deployment with percentage-based rollouts, multivariate tests, and per-user overrides. No-code A/B testing with automatic event tagging to compare groups.
Data Warehouse and CDP
Data synchronization from 20+ sources (Stripe, HubSpot, Salesforce, Snowflake, BigQuery, Google/Meta Ads) to cross-reference with product data. Complete pipeline with sources, destinations, and transformations.
Error Tracking and Web Analytics
Error tracking with alerts and GitHub, GitLab, Linear, and Jira integration. Web analytics with session duration, bounce rate, and Web Vitals. New LLM Analytics module for AI products.
Surveys and Feedback
Collect feedback directly in-product with no-code templates. Target specific cohorts for contextual surveys.
Integrations
PostHog covers a broad ecosystem:
- Sources: Stripe, HubSpot, Salesforce, Snowflake, BigQuery, Google/Meta/LinkedIn Ads, PostgreSQL, MySQL
- Issue tracking: GitHub, GitLab, Linear, Jira
- Automation: Zapier, n8n, Make, Pipedream
- CDP: Segment (PostHog as destination)
- SDKs: JavaScript, React, React Native, iOS, Android, Python, Ruby, Go, Node.js, PHP, Flutter, Next.js, and 15+ others
Pricing
PostHog uses a usage-based model with generous free tiers for each product:
- Product Analytics: 1 million free events/month, then ~$50/million
- Session Replay: 5,000 free recordings/month, then ~$5/1,000
- Feature Flags: 1 million free requests/month, then ~$100/million
- Surveys: 250 free responses/month, then ~$0.10/response
- Enterprise: starting from $2,000/month (dedicated support, onboarding, audit logs)
Real-world cost examples: startup (1.5M events + 10K replays) ~$155/month, scale-up (3M events + 25K replays) ~$435/month. Self-hosting is free under MIT license for small volumes (<300K events/month).
Strengths
- All-in-one integrated platform: analytics + replay + feature flags + A/B testing + surveys + error tracking + data warehouse
- Extremely generous free tier: 1M events/month, 5,000 replays — 98% of users pay nothing
- Open-source and self-hostable under MIT license for complete data control
- EU hosting available with cookieless tracking for GDPR compliance
- Developer-first approach: direct SQL access, powerful API, SDKs for all languages
- Transparent and tiered pricing with discounts up to 90% based on volume
- Deep correlation between modules: from an analytics funnel to a session replay in one click
- Active open-source community and rapid development
Weaknesses
- Steep learning curve: properly designing events and dashboards requires time
- Clearly oriented toward technical teams: non-technical marketing profiles may feel lost
- Unpredictable costs at scale with usage-based model
- Self-hosting requires DevOps expertise and is only viable for small volumes
- Variable performance when running complex queries on large datasets
- Dashboard navigation can be confusing with so many features available
Our Verdict
PostHog has established itself as the go-to open-source alternative to Mixpanel, Amplitude, and Heap. Its strength: bringing everything together in a single, perfectly integrated platform, whereas most teams stack 4 to 6 tools. The free tier is among the most generous on the market, and EU hosting makes it an ideal choice for European companies concerned about GDPR.
It's the ideal tool for product and engineering teams that want to iterate quickly based on concrete data. However, it's not a tool for beginners or purely marketing-focused teams.
Average rating: 4.5/5 — based on G2 reviews (4.4/5) and the open-source community.
Frequently Asked Questions
Is PostHog really free?
Yes, the free tier includes 1M analytics events, 5,000 replays, and 1M feature flag requests per month. 98% of users pay nothing. Beyond that, pricing is usage-based with tiered discounts. You can set spending limits to avoid surprises.
Can PostHog replace Mixpanel and Hotjar?
Yes, that's its positioning. PostHog combines Mixpanel's analytics, Hotjar's session replay, and adds feature flags, A/B testing, surveys, and error tracking. The main advantage: native integration between modules allows you to go from an analysis to a replay in one click.
Can PostHog be self-hosted for GDPR compliance?
Yes, PostHog is MIT-licensed and deploys via Docker. Viable for small volumes (<300K events/month). Beyond that, the cloud with EU hosting and cookieless tracking is recommended.
Updated on March 20, 2026

Elliot Tram
Founder, GTM Stack
Passionate about growth and SaaS tools, I help GTM teams build an efficient stack without unnecessary complexity.
Follow on XOther tools in Analytics
Latest tools listed
Descript
★ 4.5/5All-in-one video and audio editor with AI transcription. Edit your podcasts and videos by editing text — like Google Docs for video.
Reviewflowz
★ 4.1/5Customer review management tool that allows you to collect, monitor, and respond to reviews across all platforms to improve your online reputation.
SocialBee
★ 4.3/5Social media management and planning tool with content categorization and automatic post recycling. Multi-platform support.