# PostHog vs Mixpanel: an all-in-one suite or focused product analytics?

Published 2026-11-23 · Updated 2026-11-23

**Short answer:** Pick PostHog if you want product analytics, web analytics, session replay, feature flags, surveys, error tracking and a data warehouse in one open source platform, with usage pricing that stays low as events grow. Pick Mixpanel if event analysis is the job, you want a mature funnel, retention and flows interface for a whole company to use, and 2 years of data on the free plan. Both start free at 1M events a month.

PostHog and Mixpanel both answer the product team's core questions: which users convert, which features they use, and who comes back. Both are built on events, both include session replay, heatmaps, feature flags and experiments, and both have a free plan of 1M events a month. They differ in scope, in how the bill grows, and in whether you can read and run the code yourself.

Every PostHog and Mixpanel figure here was read from the two pricing pages and their docs on 23 November 2026. For our own head-to-head, see [CrispStats vs PostHog](/vs/posthog); for more options, see [PostHog alternatives](/alternatives/posthog-alternatives) and [Mixpanel alternatives](/alternatives/mixpanel-alternatives). Related pairs: [Mixpanel vs Amplitude](/compare/mixpanel-vs-amplitude), [PostHog vs Amplitude](/compare/posthog-vs-amplitude) and [Heap vs Mixpanel](/compare/heap-vs-mixpanel).

## The differences that matter

### What each product covers

- **PostHog:** A product suite: product and web analytics, session replay, feature flags, experiments, surveys, error tracking and a data warehouse you query with SQL. The web analytics dashboard runs on the same events and includes Core Web Vitals.
- **Mixpanel:** Event-based product analytics with funnels, retention, flows and cohorts at the centre, plus session replay, heatmaps, experiments and feature flags on every plan, within limits.

If you would otherwise buy a separate error tracker, survey tool or warehouse, PostHog folds them into one bill. If those already exist in your stack and you want the analysis itself to be the best part, Mixpanel's narrower scope is easier for people outside engineering to adopt. PostHog's own list of limits says the breadth takes time to learn when all you need is traffic and conversions.

### How the price grows with events

- **PostHog:** Usage based per product, with no per-seat charges. Product analytics is free for the first 1M events, then [falls by tier](https://posthog.com/pricing): $0.00005 per event up to 2M, $0.0000343 up to 15M, $0.0000295 up to 50M, and lower after that. Events that update person profiles (identified events) are a separate add-on with its own 1M free and tiered price.
- **Mixpanel:** Growth is billed by event volume above the first 1M free, with [published tier prices](https://mixpanel.com/pricing/): $259 a month at 2M events billed monthly ($185 billed yearly), $1,176 at 10M ($840), $2,289 at 20M ($1,635). Above 20M you contact sales.

Worked example, computed from PostHog's published rates: 2M events a month cost $50 (1M free, then 1M at $0.00005); 10M cost about $324 ($50 plus 8M at $0.0000343); 20M cost about $643. Mixpanel's list prices for the same volumes are $259, $1,176 and $2,289 with monthly billing. The units are not identical, because PostHog bills replays, flags and surveys on their own meters while Mixpanel Growth includes 20k replays, and these totals are for anonymous events: if your events identify users, as most product analytics does, PostHog's identified events add-on is billed on top. On anonymous event analytics alone, PostHog's list price is lower at every volume we checked.

### Free plan limits

- **PostHog:** 1M events, 5,000 session recordings, 1M feature flag requests, 1,500 survey responses and 100,000 exceptions a month, with no card. The free plan has 1 project and 1 year of data; the [paid plan](https://posthog.com/pricing) has 6 projects and 2 years.
- **Mixpanel:** 1M events, unlimited seats, 10k session replays, up to 10 active feature flags and up to 1k experiment users a month, with no card. Data is kept for 2 years by default.

Mixpanel's free plan gives twice the replays and twice the data history. PostHog's gives far more flag requests and adds surveys and error tracking. Pick on the limit you will hit first: replays for a design-led team, flags for an engineering-led one.

### Open source and self-hosting

- **PostHog:** Open source under MIT outside the ee/ directory, with a free Docker Compose deployment. PostHog says self-hosting is officially unsupported, with no tagged releases and no guarantees.
- **Mixpanel:** Hosted only and not open source; only SDKs and tools are public on GitHub.

If you need to read the code or keep data on your own servers, PostHog is the only one of the two that allows it, with the caveat that you run it without support. For most teams the hosted versions are the realistic choice either way.

### Cookies and consent

- **PostHog:** By default the JavaScript library stores a first-party cookie and localStorage. A cookieless mode can be switched on, and PostHog says that with it you need no banner just for web analytics.
- **Mixpanel:** The JavaScript SDK sets a first-party cookie by default, kept for 365 days; localStorage is an option.

With default settings both would usually sit behind a consent banner for EU visitors. PostHog documents a cookieless mode for web analytics, at the cost of recognising returning users. See [cookieless tracking](/glossary/cookieless-tracking) and [cookie consent](/glossary/cookie-consent); this is not legal advice.

### Revenue and attribution

- **PostHog:** Revenue analytics connects to Stripe today, or works from revenue events you send. Stripe is the only connected payment platform so far.
- **Mixpanel:** Revenue Analytics runs through warehouse connectors, with attribution models for channels. UTM parameters are kept on events, and multi-touch attribution is on Growth.

If you bill with Stripe and have no warehouse, PostHog's direct connection is the shorter route. If payments already land in Snowflake or BigQuery, Mixpanel reads them there and offers more attribution models. For the general trade-offs, read [attribution models](/glossary/attribution-model) and [Stripe revenue attribution methods](/blog/stripe-revenue-attribution-methods).

### AI and integrations

- **PostHog:** PostHog AI and a hosted MCP server that lets agents query and change the same project, and a public API. [SDKs](https://posthog.com/docs/libraries) cover the web, iOS, Android, React Native, Flutter and servers.
- **Mixpanel:** Mixpanel AI and Mixpanel Agent on every plan, a hosted MCP server, and ingestion, query and export APIs. SDKs cover web, iOS, Android, Flutter and servers.

Both connect to AI assistants over [MCP](/glossary/mcp), and both instrument mobile apps as well as websites, so neither rules itself out on platform. PostHog says its MCP server can change the project as well as query it, which matters if you want agents to act, not only answer.

## Choose PostHog if

- You want analytics, replay, flags, experiments, surveys and error tracking in one tool and one bill.
- You expect to grow past 2M events and want low published per-event rates you can forecast.
- You want open source code, or the option to self-host.
- You want a cookieless mode for web analytics without a second tool.
- You bill with Stripe and want revenue next to product usage without a warehouse.

## Choose Mixpanel if

- Event analysis is the job, and you want funnels, retention and flows that a whole company can use.
- You want 2 years of data and 10k replays a month on the free plan.
- Your data already lives in a warehouse that Mixpanel connects to.
- You want multi-touch attribution models on a self-serve plan.
- You want a single published price per volume tier rather than several meters.

## The facts side by side

|  | PostHog | Mixpanel | CrispStats |
| --- | --- | --- | --- |
| Hosting | both | hosted | hosted |
| Open source | Yes (MIT) | No (Only SDKs and tools are public on GitHub) | No |
| Free plan | 1M events a month (Plus a free tier on every other product; 1 project and 1 year of data on Free) | 1M events a month (Unlimited seats, 10k session replays a month, no card) | No (14-day free trial, no card) |
| Priced by | events | events | events |
| Lowest paid plan | $0 base (Pay as you go above the free tiers) | $0 (Growth starts at $0 with the first 1M events free) | $5 (Starter, 250k events) |
| At 10k a month | $0 (Inside the first 1M free product analytics events. Computed from the published per-event rates.) | $0 (Free plan, read from the pricing page) | $5 (Starter) |
| At 100k a month | $0 (Inside the first 1M free product analytics events. Computed from the published per-event rates.) | $0 (Free plan, read from the pricing page) | $5 (Starter) |
| At 1M a month | $0 (Exactly the 1M free events; the next million is $0.00005 per event. Computed from the published per-event rates.) | $0 (Free plan covers up to 1M events, read from the pricing page) | $12 (Growth) |
| Works without cookies | Optional (Cookie and localStorage by default) | No (Cookie by default, localStorage optional) | Yes (No cookies, no stored IP addresses) |
| Cookie consent needed in the EU | Depends on setup (PostHog says the cookieless option avoids a banner for web analytics) | Not verified | No cookies set (Nothing is stored on the device by default) |
| Revenue attribution | Yes (Revenue analytics from Stripe or from revenue events; Stripe is the only connected payment platform so far) | Yes (Revenue Analytics through warehouse connectors, with attribution models for channels) | Yes (Stripe, Polar, Paddle, Dodo Payments, Creem, Whop, Razorpay, Freemius, Lemon Squeezy, Shopify, RevenueCat, Superwall, App Store, Shopify App Store) |
| Funnels | Yes | Yes | Yes |
| Goals and custom events | Yes (Custom events and autocapture) | Yes (Custom events and autocapture) | Yes |
| Custom event properties | Yes | Yes | Yes |
| Visitor profiles and journeys | Yes (User paths and person profiles) | Yes (Flows reports and user profiles) | Yes |
| Realtime globe or map | Not verified | Not verified | Yes (Live 3D globe) |
| UTM campaign reports | Yes | Yes (UTM parameters kept on events; attribution models) | Yes |
| AI traffic | Not verified | Not verified | Yes |
| AI chat over your data | Yes (PostHog AI) | Yes (Mixpanel AI and Mixpanel Agent on every plan) | Yes |
| MCP server | Yes (Hosted MCP server, free to connect) | Yes (Hosted MCP server) | Yes |
| API | Yes | Yes (Ingestion, query and export APIs) | Yes (REST API on every plan) |
| Web vitals from real visits | Yes (Core Web Vitals in web analytics) | Not verified | Yes |
| JavaScript error tracking | Yes (100,000 exceptions a month free) | Not verified | Yes |
| Uptime monitoring and status page | Not verified | Not verified | Yes |
| Session replay | Yes (5,000 recordings a month free) | Yes (10k a month on Free, web and mobile) | No |
| Heatmaps | Yes | Yes (Heatmaps and clickmaps on every plan) | No |
| Feature flags | Yes (1M requests a month free) | Yes (Up to 10 active flags on Free) | No |
| A/B testing | Yes (Billed with feature flags) | Yes (Up to 1k experiment users a month on Free) | No |
| Surveys | Yes (1,500 responses a month free) | Not verified | No |
| Data warehouse | Yes (Query Stripe, HubSpot, Postgres and more with SQL) | Not verified | No |
| Free plan | 1M events a month (Then usage based) | 1M events a month | No (14-day free trial, no card) |
| Every feature on every plan | Not verified | Not verified | Yes |
| Sites | 1 project on Free, 6 on paid (Unlimited with the Boost package) | Not verified | 10 on Starter (Unlimited from Growth) |
| Trial of paid plans | Not verified | Not verified | 14 days (No card required, every feature) |
| If you go over the plan | Not verified | Not verified | Paid: keeps recording (Paid plans stay open at $1 per extra 100k; the trial pauses at 25k a month) |
| Open source | Yes (MIT outside ee/) | Not verified | No |
| Self-hosting | Yes (Docker Compose deploy, officially unsupported) | Not verified | No (Hosted only) |
| Works on any host | Not verified | Not verified | Yes |

Sources:

- PostHog, checked 2026-11-23: [Pricing](https://posthog.com/pricing), [Pricing (Markdown)](https://posthog.com/pricing.md), [Web analytics](https://posthog.com/web-analytics), [Docs: JavaScript persistence and cookies](https://posthog.com/docs/libraries/js/persistence), [Docs: revenue analytics payment platforms](https://posthog.com/docs/revenue-analytics/payment-platforms), [Docs: self-host](https://posthog.com/docs/self-host), [Docs: heatmaps](https://posthog.com/docs/toolbar/heatmaps), [Docs: PostHog AI](https://posthog.com/docs/posthog-ai), [MCP server](https://posthog.com/mcp), [Docs: API](https://posthog.com/docs/api), [License](https://github.com/PostHog/posthog/blob/master/LICENSE)
- Mixpanel, checked 2026-11-23: [Pricing](https://mixpanel.com/pricing/), [Docs: JavaScript SDK](https://docs.mixpanel.com/docs/tracking-methods/sdks/javascript), [Docs: Revenue Analytics](https://docs.mixpanel.com/docs/features/revenue-analytics), [Docs: traffic attribution](https://docs.mixpanel.com/docs/tracking-best-practices/traffic-attribution), [Docs: funnels](https://docs.mixpanel.com/docs/reports/funnels), [Docs: MCP server](https://docs.mixpanel.com/docs/mcp), [Docs: API overview](https://docs.mixpanel.com/reference/overview), [GitHub organisation](https://github.com/mixpanel)
- CrispStats, checked 2026-11-23: [CrispStats pricing](https://crispstats.com/pricing), [CrispStats docs](https://docs.crispstats.com)

## Where CrispStats fits

We make CrispStats, and it is not a substitute for PostHog or Mixpanel inside a product: no mobile SDKs, session replay, heatmaps, feature flags, experiments, surveys or data warehouse, and no self-hosting. A team on either tool could add it for the website and marketing funnel, where a cookieless dashboard with funnels, revenue from Stripe and seven other payment providers, web vitals, error tracking and uptime checks is easier to share with people who never open the product analytics tool. Paid plans start at 5 a month. It launched in November 2026.

## Frequently asked questions

### Is PostHog cheaper than Mixpanel?

On event analytics list prices, yes, above the shared 1M free events. Computed from PostHog's published rates, 2M anonymous events cost $50 a month and 10M about $324; Mixpanel Growth lists $259 and $1,176 with monthly billing. PostHog bills identified events, replays, flags and surveys on separate meters, so add those. Checked on 23 November 2026.

### Is PostHog a good Mixpanel alternative?

For many teams, yes: it covers funnels, retention, user paths, replay, flags and experiments, and adds surveys, error tracking and a warehouse. Teams that chose Mixpanel for its analysis interface or warehouse connectors should test their key reports in PostHog before switching.

### Can I self-host PostHog or Mixpanel?

PostHog, yes: it is open source under MIT outside the ee/ directory and has a Docker Compose deployment, which PostHog says is officially unsupported. Mixpanel, no: it is hosted only.

### Do PostHog and Mixpanel need a cookie banner?

With default settings both set a first-party cookie, so most sites with EU visitors ask for consent. PostHog has a cookieless option and says it removes the need for a banner just for web analytics. This is general information, not legal advice.

### Can I move my Mixpanel data into PostHog?

PostHog's migration docs list Mixpanel, with Amplitude and S3 buckets, among the sources it offers managed migrations from, so historical events do not have to stay behind. Checked on 23 November 2026.
