Mixpanel vs Matomo

Matomo fits web analytics on servers you run, and Mixpanel fits event-level product analysis when hosting control matters less. The decision turns on consent rules, data residency, who operates the platform and how much event history you need to keep.

On this page

Mixpanel vs Matomo: which fits your analytics team

Choose Matomo when your team wants to own the analytics data path and a CNIL-style consent position drives the design. Choose Mixpanel when user-level event funnels and cohorts are central and a vendor-hosted, event-metered platform is acceptable. A renewal or a rising event bill is usually the trigger, so begin by listing the reports your team opens every week and whether each one follows individual users across sessions. Three conditions decide the fit: whether you need user-level event funnels and cohorts, whether EU or French consent exemption drives the choice, and who will run the server. Test each condition against those weekly reports before you compare feature grids.

Consent is where the two products diverge most sharply, so check it early. CNIL's sheet 16 sets out the conditions for an analytics tracker to be exempt from consent, including a purpose limited to audience measurement and A/B testing, a single publisher scope, no cross-checking with other processing, truncation of the last byte of the IP address and a tracker lifetime of at most 13 months. CNIL's guidance says most large audience measurement offerings fall outside that exemption regardless of configuration, and it points to open-source software such as Matomo that you can configure yourself. Matomo's own FAQ warns that adding User ID, heatmaps or session recordings removes the exemption, so ask whether your product team's per-user analysis would undo the benefit you are seeking. Mixpanel offers US or EU data residency on all plans, but it is off by default, so confirm the setting at project creation and record it in your data map.

Who runs the server sets most of the operating cost. Matomo's On-Premise Community edition is free forever with unlimited users and hits, so the license line is zero, but the cost moves to infrastructure, patching, backups and on-call time. Matomo's requirements FAQ sizes one server with at least 4 CPUs, 8 GB of RAM and 250 GB of SSD for up to 1 million pageviews a month, and recommends separate app and database servers with 8 CPUs and 16 GB of RAM each for up to 10 million. Mixpanel's Growth plan lists $185 per month billed yearly for 2M events and $438 for 5M, so compare those subscriptions with your own hosting and staff hours, and ask for every operating assumption in writing. Confirm your PHP and database versions against the Matomo release you select. If nobody can own patching and backups, Matomo Cloud, which stores data in Frankfurt, is a managed option to price alongside self-hosting.

Which scenario favors Matomo or Mixpanel

This table maps common scenarios to the better fit between Mixpanel and self-hosted Matomo, with the reason tied to published facts. Read each row for the condition that changes the answer, since several Matomo options depend on configuration or on in-house operations capacity. The main takeaway is that Mixpanel fits event-level product work and managed operation, while Matomo fits web measurement that must meet CNIL conditions and teams that run their own hosting.

ScenarioBetter fitReason
French or EU website needing consent-exempt audience measurementMatomo, if configured to CNIL conditionsCNIL's conditions include audience-only purposes, IP truncation and a 13-month tracker lifetime, and it says most large offerings fall outside the exemption.
Event-level product funnels and per-user journeysMixpanelMatomo's Google Analytics importer skips Funnels, and segmentation does not work on imported reports.
EU data residency requirementMatomo, if data must stay in systems you runMixpanel offers EU residency on all plans, but it is off by default and set at project creation.
Small team without operations staffMixpanel, unless you can staff Matomo operationsMatomo On-Premise means you run PHP, MySQL or MariaDB and a web server, and patch them.
Raw event exports into your own pipelineMixpanel for documented API exports; Matomo if raw hits must stay in your databaseMixpanel's export returns JSONL and allows 60 queries per hour. Confirm Matomo's export path for your version.
Session replay or heatmaps next to analyticsMixpanel, or Matomo only with consent collected for these featuresMatomo's heatmap and recording plugin is a paid add-on that removes the CNIL exemption. Mixpanel keeps replays 30 days on Free and Growth.
Long event history without Enterprise pricingMatomo, if you control storage; confirm its retention settings for your versionMixpanel's default retention is 2 years, and custom retention requires the Enterprise plan.
Lowest license cost at small volumeMatomo On-Premise, if you can fund servers and staffMatomo Community is free under GPLv3. Mixpanel Growth lists $185 per month billed yearly for 2M events (Mixpanel pricing page).

Why events and pageviews are different units to compare

A like-for-like comparison starts with the unit each tool counts. Mixpanel organizes data around tracked events, each carrying properties and attached to a user identity that your SDK or server sends. Matomo organizes data around visits, actions and pageviews, grouped into visitor sessions. The same user journey can therefore produce different totals in each tool, even on the same site, so a count of Mixpanel events and a count of Matomo actions are not interchangeable. Run a test on your own traffic before comparing numbers. Pick one representative week, instrument the same flows in both tools (signup, checkout and one core feature), and compare counts per flow. Confirm with your Matomo implementer which of your tracking calls become actions, goals or custom dimensions, and document that mapping before you decide.

Several of Matomo's most detailed views read individual visits and actions. The Visitor Log, Ecommerce Log, Custom Reports and Segmentation all depend on that raw visit data. Matomo's Google Analytics Importer brings over aggregated report data only, so these views do not work on history imported from Google Analytics, and some reports such as Funnels are not imported at all. Matomo's import limitations FAQ lists the affected features. If you plan to import history into Matomo, treat raw-visit history as a separate question from the importer. Confirm with your implementer whether a raw source exists for each period, and tell analysts which date ranges will only show aggregated reports, so dashboards built on the Visitor Log or segments are not read as complete for the full period.

Cohorts, retention curves and per-user journeys are central to many Mixpanel reviews, and they depend on the identity model you chose. Do not assume parity or absence on either side. Before you commit, ask for a written answer on which of these reports Matomo provides in the version you will run, which come from plugins or custom development, and whether each can be computed over data collected from the day tracking starts. Also confirm how Matomo handles a User ID across devices, because retention depends on it. Mixpanel's pricing page lists default data retention of 2 years on Free, Growth and Enterprise, which gives a yardstick for how long your own history should stay queryable on either platform. Write each product analytics question as a row in your evaluation sheet with an owner, a test query and a pass or fail result from your own traffic.

Mixpanel vs Matomo capabilities checked against published facts

This table compares Mixpanel and self-hosted Matomo on pricing, retention, residency, licensing, editions, raw export, Visitor Log and segmentation, add-ons and Google Analytics import. Where a cell says to confirm, the published sources did not settle the point, so check it with the vendor or in a trial environment before you decide. The main takeaway is that hosting control and the fate of imported history separate the two products most clearly.

CapabilityMixpanelMatomo
Pricing model (Mixpanel and Matomo pricing pages)Event-based tiers: Free up to 1M events a month; Growth from $185 per month billed yearly for 2M eventsFree On-Premise Community edition. Cloud plans from 29 per month, excluding tax; confirm currency on the pricing page
Default retention2 years on Free, Growth and Enterprise; customizable only on EnterpriseSet by the operator on self-hosted installs; confirm retention for raw visits and archived reports in a trial
Data residency optionsUS or EU residency on all plans, enabled at project creation and off by defaultWherever you host it; self-hosted on your servers. Matomo Cloud data is stored in Frankfurt, Germany
LicenseCommercial hosted service. Confirm license and data processing terms with the vendor.GPLv3 for the core repository; premium plugins under the InnoCraft EULA
EditionsFree, Growth, Enterprise, plus a Startup Plan with a first free year for eligible early-stage companiesOn-Premise Community (free) and Matomo Cloud tiers; Heatmap and Session Recording sold separately
Raw export accessRaw Event Export API returns JSONL, limited to 60 queries per hour and 3 per secondYou run the MySQL or MariaDB database, so raw data sits on your servers; confirm the export method you need
Visitor Log and segmentationConfirm in a trial environment which Visitor Log style views and segment filters you need are available.Visitor Log and segmentation work on natively tracked data, but not on imported Google Analytics history
Heatmap and session recording add-onsSession replay retention of 30 days on Free and Growth; confirm add-on scope and pricing with the vendorPaid premium plugin sold per number of users under the InnoCraft EULA, 30-day free trial; adding it removes the CNIL consent exemption
Google Analytics import limitsNot covered here; confirm any Google Analytics import path with the vendor before planning historyImporter brings aggregated reports only, so Funnels are not imported and raw-based views do not work on that history

Where the data lives and who controls it

The two products differ most in where event data is stored and who operates the systems that hold it. Mixpanel stores data in a region you choose when you create a project, while Matomo can run on servers you control or on Matomo Cloud in Frankfurt. The cards cover residency, self-hosting, licensing, the CNIL consent exemption and transfers to US vendors.

Mixpanel's region is a creation-time choice

Mixpanel offers US or EU data residency on all plans, but you must enable it during project creation, and it is not enabled by default. Any project created without that choice does not get EU residency, so the setting belongs in the rollout checklist. Ask Mixpanel in writing which region each existing project uses, whether that can change later, and where support and sub-processor access takes place.

Mixpanel pricing

Matomo runs on infrastructure you control

Matomo On-Premise runs on a server, cloud account or data center that you choose, so event data stays in that environment unless you send it elsewhere. Your team then owns the PHP and MySQL or MariaDB stack, backups, patching and capacity. The 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. Before rollout, confirm identity, SSO and audit logging for your chosen version, since these depend on the release and on plugins.

Matomo requirements

Matomo Cloud keeps data in Frankfurt

Matomo Cloud stores hosted data in Frankfurt, Germany, which places storage in the EU without your team running the servers. Plans are sized by hits per month, with tiers from 50,000 to 10 million hits. Matomo still operates the service, so your review covers the data processing terms, the sub-processors and which Matomo staff can access the instance. Cloud suits teams that want operations handled, while self-hosting suits teams that must hold the servers themselves.

Matomo pricing

GPLv3 and what self-hosting changes

Matomo's repository is licensed under GPLv3, so the On-Premise core has no license fee, and you can inspect, change and run it. The obligations shift to you: if you distribute a modified build, the GPLv3 terms apply to that distribution. Heatmap and Session Recording is a separate paid plugin licensed under the InnoCraft EULA, with a 30-day free trial, so cost it separately and read its terms before you depend on it for session data.

Matomo LICENSE file

CNIL exemption and what removes it

France's CNIL exempts analytics trackers from consent only within narrow limits: audience measurement or A/B testing, a single publisher scope, no cross-checking with other processing, the last byte of the IP address truncated, and a tracker lifetime of at most 13 months. User ID, heatmaps or session recordings remove the exemption, according to Matomo's ePrivacy guidance. Most large audience measurement offerings fall outside the exemption regardless of configuration, so check each condition against your own tag setup before relying on it.

CNIL sheet 16

EU-US Data Privacy Framework transfers

The European Commission adopted its adequacy decision for the EU-US Data Privacy Framework on July 10, 2023 (decision 2023/1795), so personal data can flow from the EU to US companies that participate in the framework. Mixpanel is a US vendor, and EU residency may still involve US access, so ask whether it participates, which transfer mechanism covers your contract, and where support staff can reach project data. Matomo on your own servers avoids this question only if no data leaves your environment.

EU-US data transfers

What each side costs, one time and recurring

Mixpanel's cost is a recurring subscription that grows with event volume. Mixpanel's published pricing page lists Growth at $185 per month billed yearly ($259 monthly) for 2M events a month, with higher tiers at $438 ($613) for 5M and $840 ($1,176) for 10M events. The first 1M events are free on Growth, and Enterprise is quoted separately. Because the bill follows the event tier you select, measure your monthly event volume from the SDK calls before comparing tiers. Ask for a written quote that states the tier, whether US or EU data residency is enabled (it is off by default and must be selected at project creation), the retention period and any overage terms. Default retention is 2 years, and it is customizable only on Enterprise, so confirm that before you plan a longer history.

Matomo On-Premise Community has no license fee, since Matomo is licensed under GPLv3 and the Community edition is listed as free with unlimited users and hits. Your costs are therefore servers, storage, the database, backups, upgrades, any plugin licenses and staff time. The Matomo requirements FAQ gives two sizing tiers: 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, and separate app and database servers with 8 CPUs and 16 GB of RAM each for up to 10 million pageviews a month. Hardware is a recurring cost if you run it yourself, and a one-time cost if you buy it. Staff time covers installation, configuration, migration, backup restore tests and each major upgrade, which must meet the current PHP and MySQL or MariaDB minimums listed in the same FAQ. Confirm the cost of your own hosting and on-call coverage before comparing totals.

Costs rise with monthly pageviews, the length of history you keep, the number of sites on one instance, backup retention and how quickly you need restores. Plugins change the total. Heatmap and Session Recording is a premium plugin sold per number of users under the InnoCraft EULA, a license separate from Matomo's GPL, with a 30-day free trial, so add its license to the comparison if you need session replay. The Google Analytics Importer is free under GPL v3+, but it imports only aggregated reports, so keep a separate export of any raw Mixpanel events you still need. In a quote, ask for sizing for your pageview tier, backup and restore testing, a yearly estimate of upgrade and patch effort, and a separate line for each plugin license. Ask Mixpanel's account team to confirm current Growth or Enterprise pricing in writing before you compare totals.

How a self-hosted Matomo stack fits your network

The diagram starts with visitor browsers, which send tracking requests to a web server running PHP and Matomo. That server stores hits in a MySQL or MariaDB database. A smaller installation can keep both on one server, while higher traffic can move the application and the database onto separate servers. Everything inside the trust boundary stays under your control. The Mixpanel Raw Event Export API is a separate path: a job you run pulls raw events out of Mixpanel and writes JSONL files to your own storage, so the export never passes through the Matomo stack. Check where the boundary sits for your team, who can read the export files, and which layout your traffic actually needs.

Tracking flows into Matomo inside your network, exports leave separately.

What moving from Mixpanel to Matomo involves

This sequence moves Mixpanel's event history, tracking and consent setup into a Matomo instance that your team runs in its own infrastructure. Each step closes with a written output, so you can confirm what was kept, rebuilt and reconciled before Mixpanel is retired. Confirm the historical loading method early, because Matomo's Google Analytics importer brings in only aggregated reports.

  1. Inventory events, properties and reports

    Your analytics owner and an engineer list every tracked event and property, along with the dashboards, funnels, cohorts and alerts that depend on them and the teams that read each one. For each item, note whether Matomo can express it through standard reports, custom dimensions or goals, or whether it is a gap that you must accept or rebuild. Matomo's Visitor Log and segmentation depend on raw visit data, so flag any Mixpanel analysis that relies on raw events. The step is done when the owners of each report have signed off on the inventory.

  2. Decide which event history to keep

    Mixpanel's default data retention is 2 years on Free, Growth and Enterprise plans, and only Enterprise lets you customize it, so first confirm what each Mixpanel project actually holds. Legal, compliance and the reporting owners then choose the date ranges to export, based on audit needs, year-over-year reporting and the consent rules that apply to your visitors. Record each range as inclusive from and to dates and agree on the timezone used. The step is done when a signed decision lists each project, date range and owner.

  3. Export raw events as JSONL

    Call the Raw Event Export API with inclusive from_date and to_date values for each range, saving the response as JSONL, which writes one event per line. Use data-eu.mixpanel.com for EU Data Residency projects and data-in.mixpanel.com for India Data Residency projects, and confirm each project's residency because it is not enabled by default. Plan around the limits of 60 queries per hour, 3 queries per second and 100 concurrent queries, and a limit parameter capped at 100,000 events, so split large ranges into smaller requests. The step is done when each file's line count is reconciled against a figure you verify in Mixpanel for the same range.

  4. Stand up Matomo and its requirements

    Your platform or infrastructure team installs Matomo On-Premise, which is free under the GPLv3 license, on servers you control. The 5.x line runs on PHP 8 with MySQL 5.5 or later or MariaDB, behind a web server such as Apache, Nginx, IIS or LiteSpeed. 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 suggests separate app and database servers with 8 CPUs and 16 GB of RAM each for up to 10 million. Matomo 6.0.0 is in beta and needs PHP 8.1 or newer, so confirm which line you will run. The step is done when the instance serves its login page over TLS and a backup restore has been tested.

  5. Rebuild tracking and consent settings

    Developers replace Mixpanel SDK calls with Matomo tracking on each site and map event and property names to Matomo's actions, events and custom dimensions. The privacy owner then configures consent. If you collect data in France, CNIL's sheet 16 exemption requires audience-measurement purposes only, truncation of the last byte of the IP address, no cross-checking with other processing and a tracker lifetime of at most 13 months. Adding User ID, heatmaps or session recordings removes that exemption, so keep those features out of an exempt setup. Confirm the rules for each country with counsel. The step is done when a staging test confirms the events and consent behavior you designed.

  6. Confirm how historical events will load

    Matomo's Google Analytics importer brings in only aggregated reports from a Google Analytics property, with no raw visit and action data, so it cannot carry over Mixpanel's event history. Confirm with Matomo or your implementation partner whether your installed version can load exported raw events with their original timestamps, and what that does to the Visitor Log and segmentation. Test the chosen method on a small date range in staging before you rely on it. The step is done when a written note records the method, its limits and the test result, including which Mixpanel reports can and cannot be reproduced.

  7. Run both tools in parallel

    Keep Mixpanel collecting while Matomo collects from the same sites, so both tools see live traffic. Compare headline counts, funnels and key cohorts for matching windows, and log each difference with its cause, such as timezone, bot filtering, session definitions or consent opt-outs. The two tools define visits and users differently, so agree in advance which gaps are acceptable. Give each dashboard owner a sign-off window on the reports they use. The step is done when every key report has a signed reconciliation note and each remaining gap has a documented cause.

  8. Archive the export and retire Mixpanel

    Store the JSONL exports, the event inventory, the retention decision and the reconciliation notes in an archive you control, with checksums and a manifest that lists each file and its date range. Check access controls and encryption on the archive, and set a retention period that your compliance owner approves. Confirm the terms of your Mixpanel agreement before cancelling, including what happens to stored data after cancellation. The step is done when the archive manifest is signed, Matomo is the agreed system of record and Mixpanel SDK calls are removed from production.

Questions buyers ask before switching from Mixpanel to Matomo

How long does a move from Mixpanel to Matomo take?

No single duration applies, because the time depends on a few drivers. The main ones are how many sites and apps send events, how many Mixpanel reports, dashboards and funnels your teams need to reproduce, how much history you plan to carry over, and how much tracking code must change when Mixpanel SDK calls are replaced. Consent configuration and a legal review of the new setup add time, especially when they run after the build and need a second pass. Ask any implementation partner for a written timeline tied to a written scope list. In a trial, rebuild one funnel from start to finish and time it, then scale that result across your sites.

Can an in-house team move from Mixpanel to Matomo on its own?

An in-house team can do the move if it already runs PHP web applications with MySQL or MariaDB, and if one person owns the tracking code and the consent setup. Matomo On-Premise is free under the GPLv3 license, so the team pays for staff time, servers, storage and backups, and no license fee applies. Matomo's requirements FAQ lists PHP 8.1 or newer and MySQL 8.0 or newer, or MariaDB 10.6 or newer, for version 6.0.0, while the 4.16 and 5 lines run on PHP 8 with older database versions. Gaps usually appear in event mapping, consent configuration and the upgrade routine. If those skills are missing, a fixed-scope engagement can cover planning, implementation and documentation, with scope agreed in writing before work starts.

What happens to Mixpanel history after switching to Matomo?

Mixpanel history does not move into Matomo on its own, so plan the export before your Mixpanel subscription ends. Mixpanel's pricing page lists default data retention of 2 years on Free, Growth and Enterprise, and that window keeps moving forward, so older events drop out over time. Raw events can be pulled through the Raw Event Export API as JSONL, with one event per line, inclusive from_date and to_date parameters, a limit of 100,000 events per request and a cap of 60 queries per hour. EU and India residency projects use separate regional endpoints. Matomo's Google Analytics importer brings in aggregated reports only, so the Visitor Log and segmentation do not work on imported data. Confirm with Matomo whether a Mixpanel importer exists. If none does, a script that maps exported events into Matomo tracking requests is usually the path, and that mapping belongs in the scope.

Does Matomo cover cohorts and retention analysis like Mixpanel?

Confirm this in a trial before you commit. Matomo is built mainly around web analytics reports, while cohort and retention views in Mixpanel are product analytics features that need checking report by report. Ask which cohort definitions you use, such as first event, property value or signup date, and what retention window each one needs. Check whether Matomo produces the same tables, or whether you need a custom report or a query against exported data. Segmentation does not apply to imported history, so test your cohorts on data collected after cutover. If you rely on session replay or heatmaps, note that Matomo's Heatmap and Session Recording plugin is a paid premium plugin sold per number of users, with a 30-day free trial.

Does Matomo keep the consent exemption after switching from Mixpanel?

It can, but only if the new setup stays within the conditions that France's CNIL sets for analytics trackers to be exempt from consent. Those conditions include limiting the purpose to audience measurement and A/B testing, a single publisher scope, no cross-checking with other processing, truncating the last byte of the IP address and a tracker lifetime of at most 13 months. CNIL suggests open-source tools such as Matomo that you can configure yourself, but it also notes that most large audience measurement offerings fall outside the exemption regardless of configuration. Matomo's ePrivacy FAQ says that adding User ID, heatmaps or session recordings removes the exemption, so check whether your Mixpanel setup sends identify calls that would carry over. Other EU countries have their own rules, so have counsel confirm the final configuration.

How does Matomo Cloud compare with self-hosting on cost?

Matomo On-Premise has no license fee, so its cost is the servers, storage, backups, upgrades and staff time. Matomo Cloud is a subscription, with plans starting at 29 per month (excluding tax) for tiers from 50,000 to 10 million hits a month, according to Matomo's pricing page, and its data is stored in Frankfurt, Germany. For self-hosting, 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 separate app and database servers with 8 CPUs and 16 GB of RAM each for up to 10 million pageviews a month. Mixpanel counts events and Matomo counts hits, so convert your monthly volume into both units before comparing. Ask for a written quote covering hosting, backups, upgrade effort and support hours.

How DeployOpen helps evaluate and move the analytics stack

DeployOpen plans, implements, integrates, hardens and documents self-hosted open-source analytics inside your own infrastructure. For Mixpanel vs Matomo, we start with a written scope that tests which Mixpanel reports, event volumes and consent conditions Matomo must cover. Engagements are fixed-scope, so deliverables and timelines are agreed in writing before any migration work begins.

How we scope

  • Inventory the Mixpanel reports, funnels and cohorts your teams use, and map each to a Matomo feature or gap.
  • Size the Matomo hosting from your monthly pageviews, using Matomo's published single-server and split app and database guidance.
  • Record which features, such as heatmaps or session recordings, would change the consent position before scope is signed.

How we build

  • Deploy Matomo in your own cloud or data center, checking PHP, database and web server versions against Matomo's requirements.
  • Script the Mixpanel Raw Event Export API pulls and document the field mapping for each event you keep.
  • Test which Matomo reports work on any history you import, since the Visitor Log depends on raw visits.

How we hand over

  • Deliver written runbooks, architecture notes and configuration documentation for the Matomo deployment and its tracker settings.
  • Provide the evidence set for hosting location, access control, backups and tracker configuration for your review.
  • Hand over an exit checklist covering export completion checks, retention settings and Mixpanel decommissioning steps.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover, including Matomo major-version moves.
  • Review each Matomo upgrade against your PHP, database and plugin requirements before changes go live.
  • Treat paid plugins, such as heatmaps and session recording, as separate scope with their own consent and licensing review.

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.