Mixpanel vs Microsoft Clarity

Mixpanel fits event-level funnels, cohorts and retention analysis on metered plans. Clarity fits free heatmaps and session recordings if Azure hosting and consent rules work for you. Self-hosted PostHog or Matomo fits when data must stay in your own infrastructure.

On this page

Mixpanel vs Microsoft Clarity: which fits your analytics question

Choose Mixpanel when the question is what individual users did, in what order, and whether they came back. Event funnels, cohorts and retention over time all depend on named events with properties, which is the model Mixpanel is built around. Its Growth plan starts at $0 with the first 1M events free and scales to 20M events a month before custom pricing applies, so the fit depends on whether your team accepts metered pricing, where cost rises with event volume. Retention is the second condition. Default data retention is 2 years on Free, Growth and Enterprise, and only Enterprise lets you customize it. Confirm that this window covers your cohort analysis, and enable US or EU data residency at project creation, since it is not on by default.

Choose Microsoft Clarity when the question is where visitors click, scroll and abandon pages. Clarity offers heatmaps and session recordings at no license cost, with no traffic limits and no sampling, according to Microsoft's Clarity FAQ. It does not build event funnels or cohort retention reports, and its limits sit in retention and hosting. Recordings are kept for 30 days, favorite recordings and a random sample for up to 9 months, and each heatmap is limited to 100,000 page views. Clarity data is stored in Microsoft Azure, and EU customers contract with Microsoft Ireland Operations Limited. Since October 31, 2025, Clarity enforces consent signals for visitors from the EEA, the UK and Switzerland, so it fits only if Microsoft hosting and that consent model are acceptable to your privacy team.

The decision turns on four questions. First, is event-level analysis required, meaning funnels, cohorts and retention built from named events? If yes, Clarity is built around heatmaps and recordings, so it is unlikely to answer that question, and Mixpanel or another event tool becomes the candidate. Second, where must the data sit? Clarity is hosted on Azure, while Mixpanel offers US or EU residency as a project setting. Third, what consent obligations apply to EEA, UK and Swiss visitors, and can your consent banner and tags meet them for each tool? Fourth, how much history must you keep? Compare that against Clarity's 30-day recording window and Mixpanel's 2-year default. Write the answers into a one-page brief so procurement, privacy and engineering review the same facts.

Which tool fits which situation, and why

This table maps common situations to the tool that fits better, with the condition under which that choice holds. Read each row against your event volume, consent obligations, data location and whether you need session replay alongside event analytics. The main takeaway: Mixpanel and Clarity each fit a narrow case, and the gaps around self-hosting and consent point to a self-hosted route.

ScenarioBetter fitWhy
Product teams tracking funnels and retention on event historyMixpanel, if monthly events stay within the chosen planEvent-level funnels and retention, with 2-year default data retention on Free, Growth and Enterprise.
Marketing or UX teams wanting heatmaps and recordings with no budget lineMicrosoft Clarity, if 30-day recording retention is enoughClarity is free with no traffic limits or sampling; recordings are kept 30 days and heatmaps cap at 100,000 page views each.
EU-facing sites where consent is requiredClarity or Mixpanel, only with valid consent confirmed for EU visitorsClarity enforces consent signals for EEA visitors; CNIL says most large offerings fall outside the consent exemption.
Teams whose policy requires analytics data inside their own infrastructureNeither. Self-hosted PostHog or Matomo fits this caseClarity stores data in Azure and Mixpanel offers US or EU residency; neither runs on your servers.
Teams needing event analytics and session replay in one self-hosted toolSelf-hosted PostHog, with a PostHog license for ee/ featuresPostHog's README lists product analytics and session replay together, but ee/ premium features need a PostHog license.
Teams that require fully free softwareSelf-hosted PostHog from the posthog-foss repositoryThat repository is purged of all proprietary code and features, so check it covers what you need.

What Mixpanel measures and what Clarity records

Mixpanel is built around tracked events. Each event is a named action with properties, and its reports, cohorts and funnels are computed over the history of those events. That history matters most for product questions that span months, such as whether a change to onboarding moved retention in the quarters after release. On the Free, Growth and Enterprise plans, default data retention is 2 years, and only Enterprise lets you customize it. Session replay keeps data for a shorter period, 30 days on Free and Growth. Check these terms against the plan you would actually buy, using Mixpanel's pricing page, because a retention window that fits a pilot may not fit a year-over-year analysis.

Microsoft Clarity records sessions and produces heatmaps. Its recordings are kept for 30 days from the time of recording, while favorite recordings and a random sample are kept for up to 9 months. Each heatmap is limited to 100,000 page views. These limits define what you can look back on. A question about how users behaved on a page last spring will only be answered if you saved a favorite or the session happened to fall in the random sample. The advantage is specific: if your question is where users click, how far they scroll or where they stall on a page, recordings and heatmaps show that directly. Event-level history answers a different question, so the two tools serve different decisions.

The supplied facts for this comparison do not establish whether Clarity offers funnels, cohorts or custom event reporting, and this is the first thing to confirm. Ask Microsoft or check the Microsoft Clarity FAQ for the current feature set. If Clarity lacks these features, the choice depends on whether you need event history over months or page-level behavior, and many teams will need both. Also confirm how consent applies to your visitors. Starting October 31, 2025, Clarity enforces consent signal requirements for visitors from the European Economic Area, the United Kingdom and Switzerland, and it limits data collection without valid consent. Your consent process will shape how complete any recording dataset is, so settle that before comparing the two tools' numbers.

Mixpanel vs Microsoft Clarity capabilities side by side

This table compares Mixpanel's event analytics with Microsoft Clarity's free session recording and heatmaps across pricing, retention, residency, consent and export. Read each row against your traffic volume, regulatory position and reporting needs, since the two tools cover different jobs. Where a cell says to confirm, ask the vendor in writing before you depend on that capability.

CapabilityMixpanelMicrosoft Clarity
Primary purposeEvent-based product analytics with reports, funnels and cohorts over tracked eventsSession recordings and heatmaps for web pages; confirm event funnels with Microsoft before relying on them
Pricing modelEvent-based tiers per Mixpanel's pricing page: Free to 1M events a month, Growth to 20M, Enterprise custom up to 1TFree forever, with no traffic limits, no sampling and no paid version (Microsoft Clarity FAQ)
Event data retentionDefault of 2 years on Free, Growth and Enterprise; customizable only on EnterpriseAsk Microsoft for the event data retention period before relying on it
Session recording retention30 days on Free and Growth plans, per Mixpanel's pricing page30 days from recording; favorites and a random sample kept up to 9 months
Heatmap limitsConfirm heatmap availability and limits with Mixpanel before relying on itLimited to 100,000 page views per heatmap
Data residency optionsChoose US or EU at project creation; it is off by default. India residency is also offeredStored in Microsoft Azure; EU customers contract with Microsoft Ireland Operations Limited. Confirm region options
Consent handlingConfirm consent tooling and EU setup with Mixpanel before relying on itEnforces consent signals for EEA, UK and Swiss visitors from October 31, 2025; Consent Mode on by default
Export pathRaw Event Export API returns JSONL, one event per line; 60 queries an hour, 3 a secondData Export API returns dashboard metrics as JSON for the previous 1 to 3 days; 10 requests per project daily
HostingVendor-hosted SaaS, with EU and India residency endpoints; confirm any self-hosted option with MixpanelVendor-hosted on Microsoft Azure; confirm any self-hosted option with Microsoft

Mixpanel vs Microsoft Clarity pricing: what drives each bill

Mixpanel charges by event volume, plan tier and retention, while Clarity has no paid version and self-hosted options move the bill to servers and staff. The cards below name each published figure with its source, then explain what drives each bill. Check every number against the current pricing page before you build a budget.

Mixpanel Free plan

Mixpanel's pricing page lists the Free plan at up to 1M events a month, with session replay kept for 30 days. Size the plan against your busiest month, since a launch or campaign can push a team past the cap. Session replays are kept for far less time than event data, so teams that rely on replays for support or debugging should plan their own exports. Ask Mixpanel what happens to collection once the monthly limit is reached.

Mixpanel pricing page

Mixpanel Growth plan

Mixpanel's pricing page says Growth starts at $0 with the first 1M events free and scales to 20M events a month. Its published monthly and annual figures are $185 per month billed yearly ($259 monthly) for 2M events, $438 ($613) for 5M, $840 ($1,176) for 10M and $1,635 ($2,289) for 20M, with custom pricing above 20M. Annual billing lowers every published tier, so the billing period is a budget decision as well as the event count. Event volume drives the bill, so model your event count before you choose a tier.

Mixpanel pricing page

Mixpanel Enterprise plan

Enterprise uses custom pricing for volumes up to 1T events a month. Retention can be customized only on this tier, and US or EU data residency is available on all plans but is not enabled by default (Mixpanel's pricing page). Residency is enabled at project creation, so settle it before the first event is sent. Ask for the retention length, residency region, export terms and support level as separate lines in the quote, so you can compare it with a self-hosted cost model on equal terms.

Mixpanel Startup plan

Mixpanel's pricing page offers eligible early-stage companies a first free year on its Startup Plan, which includes 1 billion events. Check the eligibility criteria before you plan around the offer. Model the bill for the year after the free period using the Growth figures above, and ask Mixpanel which plan you move to, whether your retention and residency settings carry over and what the price is then. A team that instruments many events in year one should confirm it can afford the later tier before the free year ends.

Microsoft Clarity free tier

Microsoft's Clarity FAQ says Clarity is free forever, with no traffic limits, no sampling and no paid version to upgrade to. The trade-off appears in limits: recordings are kept 30 days, favorites and a random sample for up to 9 months, and heatmaps are capped at 100,000 page views each. Consent is the cost to plan for in Europe: since October 31, 2025, Clarity enforces consent signals for visitors from the EEA, the UK and Switzerland, and without valid consent it limits data collection there. Confirm the consent setup with your privacy team and check how Consent Mode is configured for those visitors.

Clarity FAQ

Self-hosted Matomo or PostHog

Matomo is GPLv3 licensed and PostHog's core is MIT licensed, so the core has no license fee. PostHog's ee directory needs a PostHog license for premium features, and posthog-foss is the fully free option. The recurring bill is servers, storage, upgrades and the people who run them. Matomo's requirements FAQ sizes a single server at 4 CPUs, 8 GB of RAM and 250 GB of SSD for up to 1 million pageviews a month, and PostHog's hobby deployment recommends 4 vCPU and 16 GB of RAM. Staff time recurs for patching, backups and upgrades.

PostHog self-host docs

Mixpanel vs Microsoft Clarity data control and exit

Data control and exit depend on what each tool lets you take out, how long it keeps history, and which dependencies you must map first. The cards cover Mixpanel's raw export path, Clarity's limited reporting export, the retention limits that shape how much history exists, and the steps to complete before leaving.

Mixpanel raw event export

Mixpanel's Raw Event Export API returns JSONL with one event per line. Both from_date and to_date are inclusive, so adjacent windows that share a boundary day can return the same events twice, and deduplication belongs in the plan. Limits are 60 queries per hour, 3 per second and 100 concurrent, and the limit parameter cannot exceed 100,000 events. EU and India residency projects are served from regional endpoints, so confirm the host for your project. Ask Mixpanel to confirm whether these limits apply to your plan before sizing the extraction.

Raw Event Export docs

Clarity export covers dashboards only

Microsoft Clarity's Data Export API returns dashboard metrics in JSON for the previous 1 to 3 days only. Each project gets 10 requests per day, each request accepts up to three dimensions, and responses cap at 1,000 rows without pagination. It cannot serve as a bulk history path. Plan for the Clarity side of an exit by saving the dashboards you depend on into your own store on a schedule, starting before any decision, because the API cannot reach back further than three days.

Clarity Data Export API

Retention limits how much history moves

Mixpanel's default data retention is 2 years on Free, Growth and Enterprise, and only Enterprise lets you customize it. Session replay retention is 30 days on Free and Growth. Clarity keeps recordings for 30 days from the time of recording, while favorite recordings and a random sample stay for up to 9 months. Data that a tool has already deleted cannot be exported, so older history may be gone before a migration starts. Confirm whether raw Clarity recordings can be exported at all, because the FAQ describes retention, not export.

Clarity FAQ

Plan extraction before any contract change

Leaving starts with a full-history extraction from Mixpanel and Clarity, run and verified before any renewal, downgrade or cancellation notice. Record which dashboards, reports and alerts depend on each tool, since those are the first things to break when data stops flowing. Confirm export terms in writing with each vendor, covering export format, rate limits, what happens to data after termination and whether exported copies carry any retention obligations on the vendor side.

When PostHog or Matomo fits better than either product

Neither Mixpanel nor Microsoft Clarity is the right answer in three cases: when analytics data must stay in your own infrastructure, when one tool must cover both event analytics and session replay, or when metered event pricing is the cost you need to avoid. Clarity is free with no traffic limits, but its data is stored in Microsoft Azure and its recordings are kept for 30 days from the time of recording, so retention and location are set by the vendor. Mixpanel can keep data in the US or EU, but residency is not enabled by default and must be switched on during project creation. Start with a short list: the events, replay and retention you need, the regions where data may sit, and the team that will run the servers.

PostHog is the option to test first when one tool must cover product analytics, web analytics and session replay. The repository is MIT licensed except the ee directory, and premium features from that directory on a self-hosted instance need a PostHog license, so check which of your features sit in ee before you commit. Teams that need fully free software can use the posthog-foss repository, which is purged of all proprietary code and features, but confirm which of your features it includes. The PostHog self-host documentation describes a Docker Compose hobby deployment under the MIT license, installed with a deploy-hobby script, and recommends a server equivalent to 4 vCPU, 16 GB of RAM and more than 30 GB of storage. Treat the hobby deployment as an evaluation environment, and confirm with PostHog that your production scale is supported before you plan the rollout.

Matomo fits best when web analytics is the core need. It is licensed under GPLv3, and the CNIL's analytics guidance points publishers to open-source software they can configure themselves. Sizing starts with a single server of at least 4 CPUs, 8 GB of RAM and 250 GB of SSD for up to 1 million pageviews a month, with separate app and database servers of 8 CPUs and 16 GB each for up to 10 million. The changelog lists 5.14.1 as the latest stable version, while 6.0.0 is in beta and needs PHP 8.1 or newer and MySQL 8.0 or newer or MariaDB 10.6 or newer, so confirm which version to install. Before Clarity is replaced, confirm heatmap and session recording coverage with the Matomo project, since you must check which Clarity features carry over.

What moving between Mixpanel, Clarity and a self-hosted option involves

The sequence starts with an inventory of what each tool collects and ends with retired tags and confirmed vendor data terms. Done in this order, it keeps historical analytics, consent settings and recording coverage accounted for before any traffic moves to the new platform.

  1. Inventory events, properties, dashboards and consent

    Your analytics owner lists every event and property in Mixpanel, every Clarity dashboard and recording use, and every consent setting and tag running on each site and app. The data residency setting of each Mixpanel project (US or EU, which must be chosen at project creation) belongs on this list, as does the consent behavior for EEA, UK and Swiss visitors. Your privacy lead confirms the purpose of each tool. The step is done when every event has an owner, a purpose and a keep or drop decision, and the team can name the consent setting for each market.

  2. Export or import Mixpanel history

    Your data engineer pulls raw events with the Raw Event Export API, which returns JSONL with one event per line and requires inclusive from_date and to_date parameters. Plan around the published limits of 60 queries per hour, 3 per second and 100 concurrent queries, and use the regional endpoint for EU projects. Alternatively, if PostHog is the target, its managed migration imports Mixpanel history directly, with at most one year per import job, so your partner needs the credentials the migration requires. The step is done when event counts for a sample period match between the source project and the exported or imported data.

  3. Plan recording replacement for Clarity

    Your product owner should assume there is very little Clarity recording history to move. Microsoft's FAQ states that recordings are kept for 30 days from the time of recording, while favorite recordings and a random sample are kept for up to 9 months. Your engineering lead then plans session replay in the new tool, including which pages and user flows to record and how sensitive fields are masked. Clarity heatmaps are limited to 100,000 page views each, so note which pages depend on them. The step is done when the team has a written list of recording coverage to rebuild, with a named owner for each page.

  4. Replace SDKs, configure consent and run in parallel

    Your engineers replace the Mixpanel SDK and the Clarity tag with the new platform's SDK in a staging build, then release it. Consent must be configured before any tracking runs for visitors in the EEA, UK and Switzerland. Clarity's Consent Mode sets cookies only after valid consent and is enabled by default for those visitors. Run Mixpanel and the new tool side by side, then compare daily event counts and funnel results over an agreed period. The step is done when the differences are explained and the analytics owner signs off on them.

  5. Cut over and confirm vendor deletion terms

    After parity is signed off, your engineers switch production traffic to the new platform and remove the Mixpanel SDK and Clarity tag from every site and app. Your procurement or legal contact asks Mixpanel and Microsoft in writing how stored and exported data is deleted, and confirms the data processing terms that apply, including where Clarity data is hosted and which contracting entity serves EU customers. Your security team revokes the old keys and service accounts. The step is done when a production scan finds no old tags firing, the deletion confirmations are on file and the old credentials are revoked.

Questions buyers ask before comparing Mixpanel and Clarity

Is Microsoft Clarity really free, and what are its limits?

Yes, Microsoft's Clarity FAQ states that Clarity is free forever, with no traffic limits, no sampling and no paid version to upgrade to. It still has operating limits that shape what you can analyze. Recordings are kept for 30 days from the time of recording, while favorite recordings and a random sample are kept for up to 9 months. Heatmaps are limited to 100,000 page views each. The Data Export API returns dashboard metrics only for the previous 1 to 3 days, allows 10 requests per project per day and caps responses at 1,000 rows without pagination. Clarity also limits data collection in consent-required jurisdictions unless valid consent is in place, so visitors in the EEA, the UK and Switzerland depend on your consent setup. Confirm these limits against the current FAQ before you plan retention and exports.

What drives Mixpanel's bill, and which published tier figures apply?

Mixpanel's price is set mainly by monthly event volume and the plan you choose, according to its pricing page. The Free plan covers up to 1M events a month. Growth starts at $0 with the first 1M events free and scales to 20M events a month. The page lists Growth at $185 per month billed yearly ($259 monthly) for 2M events, $438 ($613) for 5M, $840 ($1,176) for 10M and $1,635 ($2,289) for 20M events a month, with custom pricing above 20M. Enterprise pricing is custom and reaches up to 1T events a month. Default data retention is 2 years on Free, Growth and Enterprise, and it is customizable only on Enterprise. Billing cadence changes the monthly figure, so compare yearly and monthly rates for your own volume. Prices change, so confirm the current figures on the pricing page before you build a budget.

Does self-hosted analytics meet EU consent rules under CNIL guidance?

Self-hosting alone does not settle consent. CNIL's sheet 16 lists conditions under which analytics trackers can be exempt from consent: the purpose must be limited to audience measurement and A/B testing, the scope must be a single publisher, the data must not be cross-checked with other processing, the last byte of the IP address must be truncated, and the tracker lifetime must be at most 13 months. CNIL also notes that most large audience measurement offerings fall outside the exemption regardless of configuration. It points to open-source software such as Matomo, which the publisher can configure itself. The configuration is what gets tested against these conditions, so review your setup with counsel or your data protection officer before go-live. Clarity's own consent requirements, enforced from October 31, 2025, also apply to its visitors in the EEA, the UK and Switzerland.

How much migration effort does a move from Mixpanel involve?

Effort depends on how much history you keep, how many events and properties you carry over, how cleanly event names map to the new schema, and how consent changes what you can collect going forward. Mixpanel's Raw Event Export API returns JSONL with one event per line and requires inclusive from_date and to_date values. It is limited to 60 queries per hour, 3 queries per second and 100 concurrent queries, and its limit parameter cannot exceed 100,000 events. PostHog's managed migrations import historical Mixpanel events with at most one year of data per import job, so multi-year history means several jobs. Identity preservation, SDK replacement and dashboard rebuilding add work on top. Ask for an inventory of events, properties and years of history before you estimate the work.

What does the work need from our team in owners and sign-off?

The work needs named owners for four areas. The event catalog owner decides which events and properties are kept, renamed or retired, and signs off on naming. The consent owner decides which visitors are asked, what the consent banner records and whether session recordings run for EEA, UK and Swiss visitors. The hosting owner controls the cloud account or data center, network access, SSO, backups and the on-call path. A security or compliance lead signs off on data flows, retention periods and the analytics configuration before go-live, and product owners confirm that the dashboards they rely on still answer their questions. Name these owners before the scope is written, because each one changes the deliverables, the timeline and the acceptance criteria.

Can our own engineers run this migration, or do we need outside help?

A team with the right skills can run the migration in-house, and the core of PostHog is MIT licensed. PostHog's self-host documentation describes a free Docker Compose (hobby) deployment under the MIT license, installed with a deploy-hobby script, and recommends a server with 4 vCPU, 16 GB of RAM and more than 30 GB of storage. Production use also means hosting, upgrades, backups, monitoring and access control. Premium features in the ee directory require a PostHog license on self-hosted instances, so check that before you design the architecture. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted platforms inside your own cloud accounts, data centers or air-gapped networks. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen does not publish a price list, so a quote follows from that written scope.

How DeployOpen helps you evaluate and run the option you choose

DeployOpen is a Chainscore Labs company that plans, implements, hardens and supports self-hosted open-source platforms inside your own infrastructure. For Mixpanel vs Microsoft Clarity, we start from a written scope that separates event analytics from session recordings, then build, document and hand over the option you choose. Security testing and compliance readiness support are available alongside the build, though we do not issue audit reports or certifications.

How we scope

  • Written scope lists which Mixpanel reports, events and Clarity recordings move, and which stay.
  • We confirm whether your team needs event analytics, session recordings or both before choosing an option.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • We deploy the self-hosted platform you select in your own cloud account, data center or air-gapped network.
  • We configure SSO, access control, audit logging and data handling controls so your security team can review them.
  • Event schemas, Mixpanel data export jobs and consent settings are built and tested against your agreed scope.

How we hand over

  • You receive configuration documentation, runbooks and the evidence list for your compliance and security reviews.
  • Consent behavior for Clarity in EEA, UK and Swiss traffic is documented, so your legal team can verify it.
  • Any security testing in scope comes with written findings, fixes and a retest.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Retainers can cover the self-hosted platform and its dependencies as new versions ship.
  • Ask for the support scope, response expectations and exit assistance in writing before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.