Microsoft Clarity vs Matomo: which fits your situation
If a data location requirement or a consent problem is driving your decision, self-hosted Matomo is the closer fit, because it lets you keep analytics on infrastructure you control and only requires that you run PHP and MySQL or MariaDB servers. Clarity fits teams that want free heatmaps and session recordings and can accept Microsoft hosting on Azure with 30-day recording retention. Microsoft's FAQ states that Clarity has no traffic limits, no sampling and no paid version to upgrade to, so license cost is not the deciding factor. A cost concern alone is a weaker reason to move. Matomo's On-Premise Community edition is also free, so your real cost is the servers and the people who run them.
Matomo's heatmap and session recording features come from a paid premium plugin, licensed per number of users under the InnoCraft EULA, with a 30-day free trial. Matomo's ePrivacy FAQ says heatmaps and session recordings remove the CNIL consent exemption that some privacy-focused analytics setups enjoy, so replay on Matomo brings consent back into scope wherever that exemption applied. Clarity has its own consent constraint: since October 31, 2025, it needs a valid consent signal for visitors from the European Economic Area, the United Kingdom and Switzerland, or it limits collection, and valid consent is required for session recordings there.
Three questions decide it: whether replay is required, the consent posture for each country you serve, and the operating capacity you have. If replay is optional, Matomo's core analytics avoids the paid plugin entirely. If replay is required on your own servers, price the plugin by user count and confirm its data handling with the vendor. 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, so check whether your team can patch, back up and monitor that stack on schedule. Ask compliance which countries require consent, then ask platform engineering who owns upgrades.
Which scenarios favor Clarity and which favor self-hosted Matomo
This table compares five common situations and names which option fits better, with the condition that makes that advantage hold. Read each row against your own traffic, consent setup and staffing before deciding. The main takeaway is that Clarity wins on zero-maintenance session replay, while Matomo wins where data location, consent exemption or in-house control is a hard requirement.
| Scenario | Better fit | Reason and condition |
|---|---|---|
| Small site that needs heatmaps now, with no servers | Microsoft Clarity | Clarity is free with no servers to run, if heatmap data up to 100,000 page views each and 30-day recordings are enough. |
| EU team that must keep analytics in its own infrastructure | Self-hosted Matomo | Matomo keeps data on servers you control, provided your team can run PHP, MySQL or MariaDB, backups and upgrades. |
| French site relying on the CNIL exemption for core measurement | Self-hosted Matomo | Matomo fits if core measurement meets CNIL's conditions, since heatmaps or recordings remove the exemption. Confirm with counsel. |
| Team that needs recordings across many pages | Microsoft Clarity | Clarity has no traffic limits or sampling, so recordings cover many pages if 30-day retention and EEA consent handling suit you. |
| Team with no operations staff | Microsoft Clarity | Clarity is hosted by Microsoft, so there is no server to patch or size, but consent for EEA, UK and Swiss visitors is still your job. |
How consent rules change the Microsoft Clarity vs Matomo choice
Since October 31, 2025, Microsoft Clarity needs a valid consent signal for visitors from the European Economic Area, the United Kingdom and Switzerland. Clarity's FAQ says that without proper consent it limits data collection in these jurisdictions, and that session recordings and behavioral analytics require valid consent there. Consent Mode sets cookies only after valid consent and is enabled by default for these visitors, so a site that has not connected its consent manager may see reduced collection. The first check is whether your consent banner sends the signal Clarity reads. Test recordings for EEA, UK and Swiss visitors after accepting and after declining, and confirm the behavior of your tag and consent manager against your own traffic, because the outcome depends on configuration.
Matomo's case rests on a different legal route. In France, CNIL Sheet n°16 describes analytics trackers that can be exempt from consent when they meet set conditions: the purpose is limited to audience measurement, the tracker operates for a single publisher, the data is not cross-checked with other processing, the last byte of the IP address is truncated, and the tracker lifetime is at most 13 months. Matomo's ePrivacy FAQ states that features such as heatmaps or session recordings remove that exemption. A Matomo setup limited to page analytics may fit the CNIL conditions, while the same instance with heatmaps or recordings enabled may not. CNIL also says that most large audience measurement offerings fall outside the exemption regardless of configuration, so the answer turns on what the tool actually collects and how it is set up.
For a replacement decision, start with two questions: which features you need, and which authority governs your visitors. Clarity recordings and heatmaps are the features most likely to need valid consent, so the consent work differs depending on whether you keep only exempt page analytics or also run replay. Matomo's ePrivacy FAQ names France, Italy, the Netherlands and Spain as authorities with exemption criteria and suggests following the CNIL configuration for Italy, the Netherlands and Spain, but other regulators may read the rules differently. Ask counsel or the relevant data protection authority to confirm the exact setup, including cookie lifetime, IP handling, consent banner behavior and whether heatmaps or recordings are enabled, before you rely on either path.
Microsoft Clarity vs Matomo capability by capability
This table compares Microsoft Clarity's free hosted service with the Matomo Community edition, which you run yourself, one capability per row. A row shows a gap when one side has no equivalent, and the notes name the terms you should confirm before deciding. The main takeaway is that Clarity covers recordings and heatmaps at no license cost, while Matomo covers core analytics in full on your servers and needs a paid plugin for heatmaps and session recordings.
| Capability | Microsoft Clarity (free service) | Matomo (Community edition) |
|---|---|---|
| Heatmaps | Included. Each heatmap is limited to 100,000 page views. | Not in Community edition. Requires the paid Heatmap and Session Recording plugin. |
| Session recordings | Included in the free service. | Not in Community edition. Available through the paid plugin under the InnoCraft EULA. |
| Recording retention | 30 days from recording. Favorites and a random sample are kept for up to 9 months. | Set by your own storage and policy. Confirm how the plugin handles retention before you buy. |
| Traffic limits and sampling | No traffic limits and no sampling. Heatmaps are capped at 100,000 page views each. | Unlimited users and hits on Community edition. Capacity depends on your server sizing. |
| Visitor log and segmentation | Dashboard reporting and filters. Confirm whether a visitor-level log is available. | Visitor Log and segmentation included. Neither works on data imported from Google Analytics. |
| Licensing | Free hosted service with no paid version to upgrade to. | GPLv3 for Community edition. The Heatmap and Session Recording plugin uses the InnoCraft EULA, with a 30-day free trial. |
| Hosting and data location | Microsoft Azure. EU customers contract with Microsoft Ireland Operations Limited. | Your own servers or cloud account. Per Matomo's requirements FAQ, one server suits up to 1 million pageviews a month. |
| Consent behavior | Since October 31, 2025, needs a valid consent signal for EEA, UK and Swiss visitors, or limits collection. | Some setups are exempt from consent under CNIL rules for audience measurement only. Adding heatmaps or recordings removes the exemption. |
| Vendor support and SSO | Free with no paid version. Confirm support options and single sign-on with Microsoft before you depend on it. | Forum support on Community edition. Confirm SSO options and any paid support tiers with Matomo before you plan. |
Where the data lives and who holds the keys in each option
Each option answers two questions differently: who processes visitor data, and where it is stored. The cards below cover Clarity's Azure hosting and transfer basis, Matomo's self-hosted and Frankfurt-hosted options, and the licensing that decides what you keep if you leave. Use them to build your list of contract and configuration questions before any move.
Clarity hosting on Azure
Clarity stores its data in the Microsoft Azure cloud service, so recordings and heatmap inputs sit in Microsoft's infrastructure, outside servers you select. EU customers contract with Microsoft Ireland Operations Limited, which holds standard contractual clauses with Microsoft Corporation in the United States. Ask which entity appears on your order, whether those clauses cover every transfer Clarity makes, and how Microsoft's terms handle deletion and subprocessors.
Clarity FAQEU-US Data Privacy Framework
The European Commission adopted its adequacy decision for the EU-US Data Privacy Framework on July 10, 2023 (decision 2023/1795). It allows personal data to flow freely from the EU to US companies that participate in the framework. Participation is the condition that matters, so confirm that Microsoft Corporation is a current participant and record which transfer basis your privacy notice and records of processing name for Clarity.
Commission transfers pageSelf-hosted Matomo on your servers
Matomo On-Premise runs on servers you provision, so you choose the country, data center and network path that visitor data crosses. Backups, retention and restore tests are yours to define, and so is access to the admin interface and the database behind it. Location, backups and access become part of your records, so settle them before go-live. Ask your platform team who patches the web server and database, since that role carries the exposure.
Matomo Cloud in Frankfurt
Matomo Cloud is the hosted option, with data stored in Frankfurt, Germany. Your team keeps the analytics configuration and the choice to leave, but Matomo operates the servers, so the operator changes from your staff to a vendor. Ask for the data processing agreement, the subprocessor list, the backup location and the deletion steps when you close the account, since storage location alone does not settle them.
Matomo pricingGPLv3 core and paid plugin
The Matomo core is licensed under GPLv3, so you can run, modify and keep the code without a license fee. The Heatmap and Session Recording plugin is different: it is sold per number of users under the InnoCraft EULA, with a 30-day free trial. Heatmaps and recordings are the features Clarity users depend on most, so price them separately. If you stop paying, you keep the core and your data, but lose access to the plugin's features and updates.
Matomo LICENSE fileCompliance evidence you produce
Your organization produces the evidence: configuration exports, retention settings, access lists and logs from Matomo, the web server and the database. DeployOpen prepares that evidence in your environment so your compliance and security teams can review it, but DeployOpen does not issue audit reports, attestations or certifications. An independent auditor or certification body makes that call, so agree on the evidence list with them before the review.
Where analytics data goes and where the trust boundary sits
The diagram starts at the visitor browser. Before any tag fires, a consent gate decides whether Clarity or Matomo may load. The Clarity branch sends recordings and events to Microsoft-hosted Azure storage, which sits outside your network. The self-hosted Matomo branch sends page hits to an application server and database inside the organization's network, which the trust boundary encloses. Matomo Cloud is a separate hosted option that moves the boundary to the vendor. The session replay plugin is its own recording path inside the boundary, so confirm how its recordings are stored and covered by your consent rules before you enable it.
Data paths for Clarity, self-hosted Matomo, Matomo Cloud and the replay plugin.
What each option costs to run, component by component
Clarity has no license fee. Microsoft's FAQ describes it as free with no traffic limits, no sampling and no paid version to upgrade to, so the spending sits in the work around the tag. One-time costs are the initial tag installation and the consent manager integration. Recurring costs are staff hours for reviewing recordings and maintaining consent signals as your banners and rules change.
- Consent management: Since October 31, 2025, Clarity needs a valid consent signal for visitors from the EEA, the UK and Switzerland, or it limits collection. Your consent platform, its configuration and its upkeep are paid for in internal time or vendor contracts.
- Tag and event work: Installing the tag and any custom tags is one-time effort. Changes to page templates or single-page app routing bring that work back.
- Review time inside the retention window: Recordings are kept for 30 days from the time of recording. Favorites and a random sample are kept for up to 9 months. Staff time to find and save relevant sessions before they expire is a recurring cost that grows with traffic.
- Export effort: The Data Export API returns dashboard metrics for the previous 1 to 3 days, allows 10 requests per project per day and caps responses at 1,000 rows without pagination. Long-term reporting needs a process your team owns.
Before you budget, confirm with your consent team how the Clarity consent signal is implemented and who maintains it after launch.
The Community edition of Matomo carries no license fee. Matomo's pricing page lists it as free forever with unlimited users and hits, with forum support. Your costs are the servers, the operating work and a one-time migration. 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. It recommends separate app and database servers with 8 CPUs and 16 GB of RAM each for up to 10 million.
- Compute and storage: Those sizes are a starting point. Traffic volume and retention period decide how much storage you need, and both drive the hosting bill every month.
- Uptime needs: A single server is cheaper, but a higher uptime target usually means a second app server, a database replica and monitoring, each with its own recurring cost.
- Number of sites: Each tracked site adds data and report load on the same servers, so the sizing and the upkeep grow as you add sites.
- Upgrades and backups: Matomo 5 runs on PHP 8 with MySQL 5.5 or later or MariaDB, behind Apache, Nginx, IIS or LiteSpeed. Version upgrades, backup runs and restore tests are recurring staff hours.
- Migration: The free Google Analytics Importer plugin brings over aggregated reports only. Visitor Log and segmentation do not work on the imported history, so plan the migration as one-time work.
Ask your hosting team to price the sizing tier that matches your monthly pageviews, and ask when your last restore test was run.
The Heatmap and Session Recording plugin is a paid premium plugin. It is sold per number of users under the InnoCraft EULA, which is separate from the GPL that covers the core software. A 30-day free trial is listed on the plugin marketplace. Because the price depends on your user count and the license terms, you need a written quote before you budget. It adds a license cost on top of the Community infrastructure.
- Per-user pricing: The license cost scales with the number of users. Confirm how the user count is measured, including analysts, administrators and read-only stakeholders.
- License terms: The EULA governs use, renewal and any restrictions on how the plugin is deployed. Have your legal team review it before purchase.
- Trial period: Use the 30-day trial on your own servers to test recording volume, storage growth and page performance. Plan the evaluation effort as one-time staff time.
- Consent impact: Matomo's ePrivacy FAQ states that adding heatmaps or session recordings removes the consent exemption that some privacy-focused analytics can use in France. Budget for consent management for this plugin, which is a recurring cost.
- Extra infrastructure: Recording storage and additional load stay on your servers, so the sizing for the Community edition may need to grow.
Ask the licensor for a written quote that states the user count basis, the renewal terms and what happens to stored recordings if you stop renewing.
Matomo Cloud moves hosting and upkeep into a subscription. According to Matomo's pricing page, plans are listed from 29 per month excluding tax, and tiers run from 50,000 to 10 million hits a month. The currency appears on the pricing page, so confirm it there before you compare with other costs. Cloud data is stored in Frankfurt, Germany. Your one-time work is the migration and consent setup, and your recurring work is the internal staff time that stays with you.
- Subscription tier: The price rises with the hit tier. Count hits, not only visitors, when you choose a tier, and check how traffic spikes affect the tier you need.
- Tax treatment: Prices exclude tax. Add the VAT or sales tax that applies in your country, and ask how invoices show it.
- Data location: Cloud data is stored in Frankfurt. Confirm that this fits your residency requirements and read the data processing terms that cover the storage.
- Add-on availability: The Heatmap and Session Recording plugin is separately licensed. Ask Matomo whether it is available on Cloud and at what price before you assume it is included.
- Retained staff work: Consent setup, tag work, user administration and report reviews stay with your team, so the hosting line is not the whole running cost.
Ask for the tier that matches your hit volume, the tax treatment for your country and the terms that cover Frankfurt storage.
What moving from Clarity to Matomo involves, step by step
This sequence takes a team from a complete inventory of its Clarity setup to a self-hosted Matomo instance with documented consent settings, a dated archive of Clarity metrics and the Clarity script removed. The closing decision record shows reviewers what was kept, what was dropped and why.
Inventory live Clarity tags and features
The web or analytics lead, with access to the tag manager and site templates, lists every site and app where the Clarity script loads, including tags added through a tag manager. For each one, record which Clarity features teams use: recordings, heatmaps, dashboard filters and any reports built on the Data Export API. Note which visitors come from the EEA, UK and Switzerland, because Clarity limits collection there without a valid consent signal. The output is an inventory with owners, features and the dashboards people open each week, which becomes the checklist for every later step.
Decide whether session replay is required
Product and analytics owners, with privacy input, decide whether session replay and heatmaps are required. Matomo's core product covers web analytics. Recordings and heatmaps come from the Heatmap and Session Recording plugin, a paid premium plugin sold per number of users under the InnoCraft EULA, which offers a 30-day free trial. Adding heatmaps or session recordings removes the CNIL consent exemption for the analytics tag, so this decision also sets your consent path. The output is a signed decision that names the replay option you will use, or records that replay is retired.
Size and deploy Matomo to requirements
The infrastructure owner deploys Matomo On-Premise in your own cloud account or data center. Check the requirements first: Matomo 6.0.0 needs PHP 8.1 or newer and MySQL 8.0 or newer or MariaDB 10.6 or newer, while Matomo 4.16 and 5 run on PHP 8 with MySQL 5.5 or later or MariaDB, behind Apache, Nginx, IIS or LiteSpeed. Confirm the current stable release on the Matomo changelog before you choose a version. Matomo's guidance starts a single server at 4 CPUs, 8 GB of RAM and 250 GB of SSD for up to 1 million pageviews a month. The output is a running instance on HTTPS with tested backups.
Configure consent, IP and retention settings
The privacy lead and the analytics owner set the configuration that matches the conditions the team adopts. Common settings include truncating the last byte of the IP address, keeping tracker data for no more than 13 months, limiting purposes to audience measurement, keeping the scope to one publisher and avoiding cross-checking with other processing. Connect the consent manager and tag manager so Matomo respects the same visitor choices Clarity does. Ask counsel to confirm the exemption fits your setup, since other EU authorities publish their own rules. The output is a configuration record naming each setting, its owner and its approval date.
Run both tags and save Clarity snapshots
Run the Matomo tag beside the Clarity script on the same pages for a period the team agrees in advance, then compare counts and reports. Expect differences, because Clarity limits collection for consent-required visitors without a valid signal and the two tools count visits differently. Clarity's Data Export API returns dashboard metrics for only the previous one to three days, allows 10 requests per project per day, takes up to three dimensions per request and caps responses at 1,000 rows without pagination. A scheduled job should pull the metrics every day and store the JSON with its date. The output is a comparison report and a dated archive of Clarity metrics.
Cut over and remove the Clarity script
The analytics owner makes the cutover on the date set in the decision record, removes the Clarity script from templates and the tag manager, and checks pages for leftover Clarity calls. Be clear about what does not move: Clarity recordings and heatmaps cannot be carried into Matomo, and Matomo's Google Analytics Importer does not apply to Clarity data because it imports only from Google Analytics properties. Keep the archived snapshots with a decision record that names the tools, settings, owners and reasons for the change. The output is a site with no Clarity script and a record that reviewers can read.
Questions buyers ask before moving from Microsoft Clarity to Matomo
What does self-hosted Matomo cost compared with Microsoft Clarity?
Clarity has no license fee: Microsoft's FAQ states it is free forever, with no traffic limits, no sampling and no paid version to upgrade to. Matomo On-Premise Community is also free to license, with unlimited users and hits and forum support, so your spend moves to infrastructure and people. The main cost drivers are the server, the database, storage that grows with retained data, backups, and administration time for upgrades and monitoring. 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 recommends separate app and database servers with 8 CPUs and 16 GB of RAM each for up to 10 million. Heatmaps and session recordings come from a paid premium plugin sold per number of users, with a 30-day free trial. If you prefer hosting, Matomo Cloud plans start at 29 (excluding tax) per month. Ask any quote to price hardware, storage, backups and admin hours separately.
How long does a migration from Clarity to Matomo take?
The duration depends on scope, and DeployOpen agrees the timeline in writing in a fixed scope before work starts. Several factors set it: how many sites and apps send Clarity data, how many tags need replacing, whether the consent setup must be rebuilt, whether heatmaps and session recordings are in scope, and whether the server, TLS and backups are built new or already exist. Your change windows and the review cycle of your privacy and security teams also matter. Ask for the scope to list each site, each tag, the consent integration, the test plan and the cutover steps, so the timeline can be checked against them. If your environment allows, run Clarity and Matomo in parallel for a period so you can compare traffic and reports before switching Clarity off. Clarity recordings keep expiring after 30 days, so plan the cutover around what you need to save first.
Can we keep our Clarity recordings and history after switching?
Usually only in part. Microsoft's FAQ states that Clarity keeps recordings for 30 days from the time of recording, while favorite recordings and a random sample are kept for up to 9 months, and heatmaps are limited to 100,000 page views each. The Clarity Data Export API returns dashboard metrics in JSON for the previous 1 to 3 days only, allows 10 requests per project per day, supports up to three dimensions per request and caps responses at 1,000 rows without pagination. That makes a bulk export of older history impractical through the API. Favorite the recordings you need and confirm with Microsoft whether they can be downloaded before you rely on that. Pull the dashboard metrics you depend on each day within the API limits, and store them in your own systems. Matomo's Google Analytics Importer applies to Google Analytics data, not Clarity, so confirm with Matomo whether any other import path exists for your data.
Do we still need cookie consent with self-hosted Matomo?
It depends on your configuration and your country. France's CNIL sets 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, truncating the last byte of the IP address and a tracker lifetime of at most 13 months. CNIL also states that most large audience measurement offerings fall outside the exemption regardless of configuration, and it points to open-source software such as Matomo that you can configure yourself. Matomo's FAQ says that adding User ID, heatmaps or session recordings removes the exemption, so the Heatmap and Session Recording plugin would bring consent back into scope. Matomo's FAQ also names Italy, the Netherlands and Spain as authorities with similar exemptions and suggests following the CNIL setup there. Clarity already needs a valid consent signal in the EEA, the UK and Switzerland, so confirm the position with your privacy counsel.
Can our team run self-hosted Matomo without outside help?
Your team can run it alone if it has the skills and time for ongoing operations, because Matomo is a self-hosted application and someone must own it after launch. The recurring work covers server administration, TLS certificates for the Matomo domain, backups of the database and configuration, upgrades to new Matomo and PHP releases, and access to the tag manager so the tracking code stays current. Security patches and monitoring sit in the same queue. Before you decide, ask who owns each task, how often it runs and who covers absences. DeployOpen plans, implements, customizes, hardens, backs up, upgrades, documents and supports self-hosted platforms inside your own infrastructure, and ongoing support is available as a retainer. Most engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts. Some teams split the work, with an outside team building and documenting the setup and internal staff running daily tasks.
Which Matomo, PHP and database versions should we plan for?
Plan for the current stable Matomo release, and confirm it on Matomo's changelog before you start. The changelog lists Matomo 5.14.1, released on October 4, 2026, as the latest stable version, with Matomo 6.0.0 in beta since September 9, 2026. Matomo's requirements FAQ states that Matomo 6.0.0 needs PHP 8.1 or newer and MySQL 8.0 or newer or MariaDB 10.6 or newer. Matomo 4.16 and 5 run on PHP 8 with MySQL 5.5 or later or MariaDB, behind a web server such as Apache, Nginx, IIS or LiteSpeed. Choose the Matomo version and the runtime together, because a 6.x install needs the newer PHP and database versions. Beta and stable status change, so check the changelog and the requirements on the day you build. Also check the PHP and web server versions your operating system ships, since they often decide the upgrade path.
How DeployOpen helps evaluate, implement and migrate Matomo
DeployOpen approaches Microsoft Clarity vs Matomo as a scoped implementation project. We plan, implement, harden, back up and document a self-hosted Matomo instance in your own infrastructure, with the scope agreed in writing before work starts. Because Clarity's export limits and 30-day recording retention make history hard to carry over, we start by agreeing which data you need to keep.
How we scope
- The written scope names the Matomo features in, including core reports, consent settings and any replay needs.
- We map the Clarity data you use today to the Matomo reports, events and segments that replace it.
- Fixed-scope agreements set deliverables and timelines in writing before any work begins, and a quote follows from that scope.
How we build
- We deploy Matomo in your own cloud account, data center or air-gapped network, sized to your pageview volume.
- We configure tracker settings against the CNIL conditions for consent exemption and record each setting we chose.
- We harden the server, back up the database and test the deployment for security issues before go-live.
How we hand over
- We deliver a cutover plan for removing the Clarity script and adding the Matomo tracker to your site.
- We document the configuration, access rules, backup and upgrade steps so your own team can operate the instance.
- We record which Clarity data was exported and which history was not carried into Matomo.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Matomo upgrades are planned against the current stable release and its PHP and database requirements.
- Confirm in the written scope which parts you will run yourselves and which the retainer covers.

