Mixpanel vs Heap: which fits your analytics team
Mixpanel fits teams that plan analytics around explicit events and want two years of default history, while Heap fits teams whose questions start from user sessions and who can accept shorter history limits on lower tiers. The split is less about features than about how each product counts and keeps data. Mixpanel counts events and keeps history for two years by default on Free, Growth and Enterprise. Heap counts sessions and keeps six months on Free and twelve months on Growth, with one year by default on Pro and Premier. If neither hosted model meets your data control requirements, a self-hosted option such as PostHog or Matomo belongs on the shortlist from the start.
Start by measuring your own volume in each product's unit. Mixpanel prices by monthly events, and its Mixpanel pricing page lists Growth at $185 per month billed yearly for 2M events. Heap prices by monthly sessions, with Free covering up to 10k sessions, while Pro and Premier use custom session pricing with no published dollar figures, so get a written quote. Next, confirm the retention window your analysts need. Mixpanel's two-year default is customizable only on Enterprise, and Heap's add-on extends history to three years. Last, settle data residency before the first event is collected. Mixpanel offers US or EU residency on all plans, but it must be enabled during project creation and is not on by default, so confirm the setting and ask Mixpanel whether a project can be moved later. Get Heap's data location options in writing before you sign.
Plan the exit path before you adopt either tool. Mixpanel's Raw Event Export API returns JSONL with one event per line and serves EU projects from data-eu.mixpanel.com, but it is limited to 60 queries per hour, so schedule extraction jobs around that limit. Heap Connect syncs behavioral data to Redshift, BigQuery, Snowflake or S3, yet it is not included on Free or Growth, is an add-on on Pro and is included on Premier. Heap announced on September 28, 2023 that it had agreed to become part of Contentsquare, so ask in writing how roadmap, support, contract and data processing terms will work inside the combined company. Your decision turns on five points: whether you count events or sessions, the retention window you need, whether EU residency must be set at project creation, how data reaches your warehouse, and whether you accept Heap's position inside Contentsquare.
Which Mixpanel vs Heap scenario fits your team
This table compares Mixpanel and Heap across the situations that usually decide the choice, from event volume and warehouse sync to residency, retention and vendor ownership. Each row states the condition under which the better fit holds and where your own volume or contract changes the answer. The main takeaway: Mixpanel's published tiers suit event-based teams, while Heap Connect suits teams that need users and sessions in a warehouse.
| Scenario | Better fit | Condition and where the answer depends |
|---|---|---|
| Event-based tracking with a predictable monthly budget | Mixpanel | Holds when your monthly events fit a published Growth tier, from 2M to 20M. Your own event count decides the tier. |
| Session-based analysis at a smaller scale | Heap | Holds when sessions are your unit and traffic fits Free's 10k monthly sessions. Higher volume needs a quote from Heap. |
| Warehouse sync of users and sessions | Heap | Heap Connect syncs to Redshift, BigQuery, Snowflake or S3. It is an add-on on Pro and included on Premier. Confirm terms in writing. |
| EU residency with data kept in one region | Mixpanel | Mixpanel offers EU residency on all plans, but it must be enabled at project creation. Confirm Heap's regional hosting options in writing. |
| Retention beyond two years | Mixpanel Enterprise | Only Enterprise can customize Mixpanel retention. Heap add-ons reach three years. For longer needs, confirm options or plan an export. |
| Vendor ownership changes or change-of-control clauses | Depends on your contract | Heap agreed in 2023 to join Contentsquare. Check change-of-control and exit terms in both contracts before renewal. |
| Self-hosting in your own infrastructure | PostHog (self-hosted) | The hobby deployment is MIT licensed. Premium features in the ee directory need a PostHog license. |
| Early-stage company eligible for a startup program | Mixpanel | Eligible early-stage companies get a first free year on the Startup Plan, including 1 billion events. Confirm eligibility on the pricing page. |
Why Mixpanel bills events and Heap bills sessions
Mixpanel charges by events and Heap charges by sessions, so the two bills cannot be compared line by line. Count your own monthly events and sessions over a representative period before you compare the published tiers. The four cards set out each vendor's plan structure and the volume that drives each bill.
Mixpanel's plan structure
Mixpanel's pricing page lists a Free plan up to 1M events a month and Growth, which starts at $0 with the first 1M events free. The published Growth tiers are $185 a 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. Eligible early-stage companies can get a first free year on the Startup Plan, so confirm its eligibility conditions with Mixpanel before you plan around it.
Mixpanel pricingHeap's plan structure
Heap's pricing page lists Free, Growth, Pro and Premier, with Free covering up to 10k monthly sessions. No dollar prices are published for Pro and Premier, which use custom session pricing, and Growth is estimated only after the snippet is installed. Ask Heap for a written quote on Pro or Premier that covers your session count, data history and Heap Connect needs before comparing it with Mixpanel's tiers.
Heap pricingWhat drives the Mixpanel bill
Mixpanel bills on monthly events, so event volume sets the tier, and each step from 2M to 5M, 10M and 20M moves the price up. Monthly billing costs more than yearly billing on each listed tier, which makes the commitment term a cost decision alongside volume. Confirm with Mixpanel which automatically captured and session replay events count toward monthly volume, and note that default retention is 2 years, with customization limited to Enterprise.
What drives the Heap bill
Heap bills on sessions, so session count drives the bill, and Growth can only be sized once the snippet runs on your site. Data history adds cost on Pro and Premier, where one year is the default and add-ons extend it to three years, while Heap Connect is an add-on on Pro and included on Premier. Confirm how Heap defines a session before converting your Mixpanel event counts, because the two units do not map one to one.
Heap Connect pageHow Mixpanel vs Heap compare on capabilities and retention
This table compares Mixpanel and Heap on free tier limits, default data retention, session replay retention, data residency and export paths. Read each row against your own event or session volume and the plan you would need to keep the history you rely on. The main takeaway is that Heap ties retention and warehouse export to plan level, while several Heap residency and replay details must be confirmed directly with the vendor.
| Capability | Mixpanel | Heap |
|---|---|---|
| Free tier limit | Up to 1M events a month on the Free plan | Up to 10k monthly sessions on the Free plan |
| Default data retention | 2 years on Free, Growth and Enterprise plans | 6 months on Free, 12 months on Growth, 1 year on Pro and Premier |
| Extended history | Custom retention available only on Enterprise | Add-ons extend Pro and Premier history to 3 years |
| Session replay retention | 30 days on Free and Growth plans | Confirm session replay retention for your plan with Heap |
| Data residency | US or EU residency on all plans, off by default, set at project creation | Not covered in published facts; confirm regional hosting options with Heap |
| Warehouse export | Confirm any native warehouse connector with Mixpanel before planning | Heap Connect syncs to Redshift, BigQuery, Snowflake or S3 |
| API export | Raw Event Export API returns JSONL, limited to 60 queries per hour | Heap Connect is the documented export path; confirm any separate export API |
| Export by plan | Confirm export entitlements for your plan with Mixpanel | Heap Connect is not included on Free or Growth, an add-on on Pro, included on Premier |
Where Mixpanel and Heap keep data and how you get it out
Mixpanel and Heap differ on where data can be placed, how long history stays queryable and how data leaves the tool. The four cards cover residency, retention, export and the ownership questions raised by Heap's move into Contentsquare. Use them as a checklist to confirm with each vendor before a renewal or pricing change.
Data residency options
Mixpanel offers US or EU data residency on all plans, but it must be enabled during project creation and is not on by default, so check the setting before the first event arrives. For Heap, confirm in writing where each dataset is hosted and which regions your plan supports. If EU personal data reaches a US-based vendor, the transfer depends on that vendor's participation in the EU-US Data Privacy Framework, which you should verify for both tools.
EU-US transfer pageRetention limits by plan
Mixpanel keeps data for two years by default on Free, Growth and Enterprise, and only Enterprise lets you customize that period. Session replay is kept for 30 days on Free and Growth. Heap's history is shorter on entry plans: six months on Free and twelve months on Growth, with one year by default on Pro and Premier. Add-ons extend Heap history, so ask which add-on a multi-year analysis requires. Set the history your reports need before you pick a plan, and export anything older before it ages out.
Mixpanel pricingExport paths and API limits
The Raw Event Export API returns JSONL and requires inclusive from_date and to_date parameters. Each call caps the limit parameter at 100,000 events, and rate limits of 60 queries an hour, 3 a second and 100 concurrent mean a full-history pull runs as a scheduled job. EU residency projects use data-eu.mixpanel.com. Heap Connect syncs behavioral data to Redshift, BigQuery, Snowflake or S3, retroactively and organized around users and sessions. It is an add-on on Pro, included on Premier and absent from Free and Growth.
Raw Event Export docsContract and ownership exposure
Heap announced on September 28, 2023 that it had agreed to become part of Contentsquare, and its homepage now says it has joined forces with Contentsquare. A change of owner can alter the contracting entity, data processing terms, subprocessors and product roadmap, so confirm contract, data processing and roadmap terms with the vendor in writing. Ask for the current agreements and confirm them again at each renewal. Run the same check on Mixpanel's entity, subprocessors and roadmap before you renew.
Heap's announcementWhen PostHog or Matomo fits better than either product
PostHog is the better fit when event analytics must run inside your own infrastructure and the team also wants product analytics tools beside it. The PostHog repository is MIT licensed except for the ee directory, and running premium features from ee on a self-hosted instance requires a PostHog license. Teams that need fully free software should evaluate the posthog-foss repository, which the project describes as purged of all proprietary code and features. Before you commit, list the Mixpanel reports, cohorts and funnels you depend on and confirm with PostHog which of them need features from ee. The PostHog self-host documentation offers a free Docker Compose hobby deployment, 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 a test environment until your own sizing and support plan is agreed.
Matomo fits better when the main need is web analytics and consent-sensitive measurement in the EU. Its code is licensed under the GNU General Public License version 3, so the software itself carries no license cost, and the team controls where the data is stored. Requirements depend on the release line: Matomo 6.0.0 needs PHP 8.1 or newer and MySQL 8.0 or newer or MariaDB 10.6 or newer, while the 4.16 and 5 lines run on PHP 8 with MySQL 5.5 or later or MariaDB behind a web server such as Apache, Nginx, IIS or LiteSpeed. The requirements FAQ sizes a single server with at least 4 CPUs, 8 GB of RAM and 250 GB of SSD for up to 1 million pageviews a month. Count your monthly pageviews before sizing, and ask your security team which release line it will approve for production.
Consent is often the deciding factor for EU teams. France's CNIL states that most large audience measurement offerings fall outside the consent exemption regardless of configuration, and it points to self-hosted software such as Matomo that the publisher can configure itself. Read the CNIL analytics sheet and test your setup against each exemption condition before you rely on one. Either route carries ongoing work: hosting, upgrades, backups, SSO, access control and retention settings all become your team's responsibility. For history, PostHog's managed migrations import Mixpanel events in jobs of at most one year of data, so plan one job per year. Heap history follows a scripted path that uses Heap Connect, which is an add-on on Pro and included on Premier, so confirm your Heap plan includes it before you plan the export.
How to route the decision between Mixpanel, Heap and self-hosting
The flowchart starts with one question: must the analytics data stay in your own infrastructure? A yes answer routes to PostHog for product analytics or Matomo for web analytics and consent-sensitive measurement, both self-hosted. A no answer asks whether the team counts events or sessions. Events lead to Mixpanel, where you check default retention, residency settings and the Raw Event Export API. Sessions lead to Heap, where you check the warehouse sync tier, data retention and the terms of its Contentsquare contract. Both cloud branches end at one step: confirm the export path and exit plan before committing.
Routing starts at data location, then splits by events or sessions for the cloud options.
What moving between Mixpanel and Heap involves
This sequence moves event definitions, historical data and dashboards from Mixpanel to Heap without losing track of what each report measures. Each step closes with a check that the receiving tool matches the source, so the team cuts over with a known list of gaps. Work and cost depend on event volume, custom properties and the number of dashboards.
Inventory events, properties, users and dashboards
List every tracked event, its properties, the user and account identifiers, and each dashboard, funnel, cohort and saved report the teams rely on. Use the event and property views and saved reports in the current Mixpanel project to build the list, then store it in a spreadsheet owned by the analytics lead. Mark which items are business critical and which are unused, and name the owner of each critical report. The step is done when someone outside the analytics team can read the list and say which reports depend on each event. Ask the target vendor about any limits on event and property counts before you map anything.
Confirm historical import options with Heap
Ask Heap in writing whether historical data from Mixpanel can be loaded into a Heap project, for which date ranges, and at what cost. No direct Mixpanel-to-Heap import path can be confirmed from public information, so treat it as an open question until the vendor answers it. Your Heap history is also bounded by plan: the Heap pricing page lists six months on Free, twelve months on Growth and one year by default on Pro and Premier, with add-ons that extend it to three years. The step closes with a written answer on what can be imported and what history will be unavailable after cutover.
Export history from the source tool
Pull raw events from Mixpanel through the Mixpanel Raw Event Export API, which returns JSONL with one event per line and requires inclusive from_date and to_date values. Plan the extraction around the limits of 60 queries per hour, 3 per second and 100 concurrent queries, and the ceiling of 100,000 events per limit parameter. EU Data Residency projects use a separate regional endpoint. Export cannot reach past the retention your Mixpanel plan still holds, so confirm that first. If you are moving out of Heap instead, Heap Connect syncs behavioral data to Redshift, BigQuery, Snowflake or S3, but it is an add-on on Pro, included on Premier and not offered on Free or Growth. The step closes when daily event counts in the export match the counts in the destination store.
Re-instrument the SDK and map names
Replace the Mixpanel SDK calls in web and mobile code with the target tool's equivalents, then map each event and property name from the inventory to its new name. Decide how user identities carry over, including anonymous identifiers and the IDs sent at login, so one person does not appear as two users in the new tool. Record the mapping in a version-controlled file with an owner for each row. The step is done when every event in the inventory has a mapped name and a test event arrives in the target tool with the expected properties. Keep the Mixpanel SDK calls in place until the parallel run in the next step begins.
Run both tools in parallel and compare
Send production traffic to both tools for an agreed overlap period, and rebuild each critical dashboard in the target tool. Compare totals, conversion rates and cohort sizes for the same date ranges, and note where definitions differ, such as session boundaries, time zones and bot filtering. Each difference needs a written explanation before cutover. Cutover happens when the owner of each critical report signs off on the numbers, and the Mixpanel subscription and export jobs stay active until historical data is archived. Cost rises with event volume, custom properties and dashboard count, because each one adds instrumentation, mapping and comparison work.
What buyers ask before choosing Mixpanel vs Heap
Which costs more, Mixpanel or Heap, and why do the units differ?
Mixpanel bills by monthly event volume, while Heap bills by monthly sessions, so the same traffic can produce very different invoices. Mixpanel's pricing page lists Growth at $185 per month billed yearly for 2M events, $438 for 5M, $840 for 10M and $1,635 for 20M events, with custom pricing above 20M. Heap's Free plan covers up to 10k monthly sessions, while Pro and Premier use custom session pricing with no dollar prices published. Products that fire many events per visit raise the Mixpanel count, while long, interaction-heavy sessions raise the Heap count. Ask both vendors to model a full month of your own traffic, and request the event and session counts behind each estimate in writing.
Can EU data residency be turned on in Mixpanel after a project exists?
Mixpanel's pricing page says US or EU data residency is available on all plans, but it is not enabled by default and is chosen when a project is created. The published information does not say whether an existing project can move to EU residency later, so confirm that in writing before you plan around it. If it cannot, the route is a new EU project with new SDK keys, a fresh historical export and identity mapping repeated from the start. Ask Heap the same question about where its data is stored. For transfers from the EU to US-based vendors, the European Commission's EU-US data transfers page explains the Data Privacy Framework, which applies only to participating US companies, so ask counsel which basis fits your data.
How hard is it to move from Mixpanel to Heap or back?
The hard parts are event definitions, user identities and historical data, so the SDK change is usually the smallest piece. Mixpanel's Raw Event Export API returns JSONL with one event per line, requires inclusive from and to dates, and is limited to 60 queries per hour, so a full-history extraction has to run as a scheduled job in batches. Heap's data history depends on plan, with six months on Free, twelve months on Growth and one year by default on Pro and Premier, so a move into Heap may leave older history behind. Heap Connect, which syncs behavioral data to Redshift, BigQuery, Snowflake or S3, is an add-on on Pro and included on Premier, so settle the export path before you cancel. Run both tools in parallel for a period so dashboards and cohorts can be compared before you switch.
Can our own team run the migration without an outside partner?
Often yes for a small event set, but the answer depends on how many dashboards, cohorts and users rely on the current setup and whether someone owns the data model. PostHog documents managed migrations that import historical events directly from Mixpanel and Amplitude, with at most one year of data per import job, plus a scripted path from Heap through Heap Connect. Those steps help an in-house team, but mapping event and property names, checking identity merges and replacing the SDK in every product surface still take careful work. DeployOpen plans, implements, documents and supports self-hosted platforms inside your own infrastructure, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ask any partner for a written list of what changes in your tracking code, dashboards and stored data.
What does the migration need from our team before work starts?
The work needs four inputs from your side: an event inventory, named data owners, consent decisions and access. The inventory lists each event, its properties, the teams that send it and the dashboards, cohorts or experiments that read it, because renamed events are a common cause of broken reports. Data owners approve each mapping and decide which events to retire. Consent decisions cover which identifiers, IP handling and retention periods apply in each region, and they should be settled before any historical import, since imported history carries the same obligations. For French analytics, CNIL's sheet 16 sets a maximum tracker lifetime of 13 months for analytics that qualifies for the consent exemption. Access means admin rights on the source tool for export, credentials for the destination and a named approver for production changes.
Does self-hosting lower the cost of Mixpanel or Heap?
Self-hosting can lower the software bill, but it swaps vendor usage fees for infrastructure, upgrades, backups and on-call effort, so the saving depends on volume and staffing. Among the open-source options here, PostHog's Docker Compose hobby deployment is MIT licensed and installed with a deploy-hobby script, and PostHog recommends a server with 4 vCPU, 16 GB of RAM and more than 30 GB of storage. Premium features in PostHog's ee directory need a PostHog license on a self-hosted instance, while the posthog-foss repository is purged of all proprietary code. Matomo's requirements FAQ sizes one server at 4 CPUs, 8 GB of RAM and 250 GB of SSD for up to 1 million pageviews a month. Budget for version upgrades, database tuning, storage growth, monitoring and a named person who owns the platform.
What does Contentsquare owning Heap mean for our contract and roadmap?
Heap agreed on September 28, 2023 to become part of Contentsquare, and its homepage now says the two have joined forces, so your contract is with a larger vendor whose product plans may change. Public information does not say how existing Heap agreements, pricing or data terms will be handled after the change, so ask for the current order form, the data processing terms and any written roadmap commitments. Check whether renewal terms, sub-processors and data locations have changed since the announcement. Write down the features you depend on, such as Heap Connect, and ask which ones are committed in writing. Hotjar, also part of Contentsquare, no longer lets new accounts be created, so ask Heap to set out its direction for your account.
How DeployOpen helps you evaluate and run the options
DeployOpen plans and implements self-hosted analytics inside your own cloud accounts, data centers or air-gapped networks, so the Mixpanel vs Heap comparison is checked against your own environment. We start with a written scope, test the options against your event volumes, retention needs and data residency rules, and build only what the scope agrees.
How we scope
- Written scope that names the Mixpanel or Heap features, event volumes and retention periods in use.
- Data residency needs confirmed up front, including whether Mixpanel US or EU residency must be enabled at project creation.
- Fixed-scope agreements set deliverables and timelines in writing before any work starts, with a quote following from that scope.
How we build
- Self-hosted analytics platform deployed in your own cloud, data center or air-gapped network, as the scope defines.
- Integration plan for moving event history, covering a Raw Event Export extraction and event and property name mapping.
- Testing of tracking changes and SDK replacements, with the Heap Connect export path tested if Heap data is in scope.
How we hand over
- Written documentation of the deployed architecture, access model, data flows and retention settings.
- Evidence prepared for compliance and security reviews, which independent auditors or certification bodies assess.
- A cutover checklist with a documented rollback path and a named owner for each open item.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Backups, upgrades and hardening documented so your team can run the platform after handover.
- Retesting after upgrades or changes to tracking, residency or access settings, where the retainer covers it.

