Microsoft Clarity vs OpenReplay: which fits your session replay needs
Clarity fits teams that want free, low-effort session replay and heatmaps on Microsoft's hosting, with little more to maintain than a tag and a consent setting. OpenReplay fits teams that need recording retention, masking and data location under their own control, and that can run a server to get them. A renewal, a consent change for visitors in the EEA, UK or Switzerland, or a residency requirement that makes Azure-hosted recordings hard to justify will usually prompt the question. The decision turns on four factors: where your legal team requires session data to live, how long recordings must be kept, whether engineering can run and patch a server, and how much debugging depth developers need from a replay.
Start with data residency. If your data protection team cannot accept Azure hosting for recordings of EEA, UK or Swiss visitors, or must document exactly where session data sits, self-hosting gives you a direct answer. Ask your DPO which lawful basis and consent signal apply to replay, since Clarity limits collection for those visitors without a valid consent signal. Next, check retention. Clarity recordings expire after 30 days unless someone favorites them, so an investigation or audit that needs older sessions requires your own store. OpenReplay's open-source edition uses self-managed retention, which means your team sets the period. The OpenReplay deployment documentation covers the installation options you would evaluate.
Then assess engineering capacity and debugging needs. OpenReplay's README says a single VM with 2 vCPUs, 8 GB of RAM and 50 GB of storage is enough to start, but upgrades, backups and storage growth stay with your team unless you buy a managed or support plan. If developers need network activity, console logs, JavaScript errors and performance metrics alongside replay, OpenReplay covers more ground. If you only need to see where users click and where they drop off, Clarity's free service may be enough. Confirm the capture-time masking settings in a test environment before you record real sessions.
Which option fits which situation
This table matches common situations to the option that fits best, with the condition that drives each choice. Read each row against your own constraints, and treat the reason column as the test to apply before deciding.
| Situation | Better fit | Reason and condition |
|---|---|---|
| Small public site with no data residency or consent constraints | Microsoft Clarity | Clarity is free and hosted by Microsoft, so no servers or upkeep are needed if you accept its 30-day recording retention and do not need to control where session data is stored. |
| EU or UK site that must limit third-party processing of visitor sessions | Self-hosted OpenReplay | Self-hosting keeps session data in your own infrastructure, so you control processors and locations rather than relying on Clarity's consent signal and Azure hosting terms. Confirm the hosting region with your DPO. |
| Team that needs recordings kept longer than 30 days | Self-hosted OpenReplay | Clarity recordings expire after 30 days unless favorited, while self-managed retention in OpenReplay is set by you. Confirm the storage sizing needed for your chosen retention period before committing. |
| Team with no platform engineers to run servers | Microsoft Clarity | A self-hosted instance requires someone to deploy, patch, back up and monitor it. Without that capacity, Clarity or a managed OpenReplay Dedicated plan is the safer choice, and the managed option carries a monthly fee. |
| Team debugging frontend errors with network and console data | Self-hosted OpenReplay | OpenReplay's DevTools view includes network activity, console logs and JavaScript errors alongside replay. Clarity focuses on recordings and heatmaps, so confirm whether its feature set covers the debugging detail you need. |
| Team that must mask sensitive fields before data leaves the browser | Self-hosted OpenReplay | OpenReplay sanitizes data at capture time through CSS selector masking, input redaction and private mode. Test these settings on your own forms, because masking rules are only as good as the selectors you define. |
| Team that must keep product analytics and replay in one tool | Neither alone | OpenReplay includes funnels and trends, but a product analytics requirement may point to self-hosted PostHog. See the sibling comparison for that path. |
What Clarity gives you for free and where its limits sit
Microsoft Clarity costs nothing to use and runs on Microsoft's Azure infrastructure, so a team adds one script tag, waits for sessions to arrive and reads heatmaps and recordings in a hosted dashboard. The setup effort is close to zero, and nobody on your side operates servers, applies patches or plans capacity. The trade is control. Recordings, heatmaps and the data behind them sit in Microsoft's hosting under Microsoft's retention and access terms, and you cannot choose the region or storage location. For a marketing site with no regulatory constraints, that is often a reasonable trade. For a bank, a health provider or a public body, ask the data protection officer where recordings are stored and who can access them before the tag goes live.
Two limits shape the decision. First, recordings expire after 30 days unless someone favorites them, so a team investigating a slow-burn checkout problem, comparing releases across quarters or reviewing a customer complaint from last month may find the evidence gone. Second, Clarity now needs a valid consent signal from visitors in the EEA, the UK and Switzerland, and without one it limits what it collects. Your consent manager becomes part of the measurement path, so the sessions you see depend on how many visitors accept. Confirm the enforcement date and current behavior in Microsoft's Clarity documentation, and ask your consent management provider how the signal reaches the tag.
These limits matter only under specific conditions. If your reviews need recordings older than a month, if you need first-party collection from your own domain so the script is less exposed to ad blockers and third-party cookie restrictions, or if your policy requires session data to stay in a location you choose, then the free hosted service may not meet the requirement and the cost comparison changes. If none of these apply, keeping Clarity can be the sound choice. Write down which of the three conditions applies to your organization. The remaining question is whether running self-hosted OpenReplay, with its servers and upkeep, costs less than the risk those limits create.
How session replay, heatmaps and masking compare
This table compares Microsoft Clarity and self-hosted OpenReplay across replay, heatmaps, developer tools, analytics, masking and tracking. Where a Clarity capability is not confirmed in the materials used here, the cell tells you what to check with Microsoft before you decide. Treat those cells as open questions, not as gaps.
| Capability | Microsoft Clarity | OpenReplay (self-hosted) |
|---|---|---|
| Session replay | Hosted recordings on Azure. Recordings expire after 30 days unless favorited, so history depends on what you save. | Session replay in the open-source edition. Retention is set by your own storage policy and the server capacity you run. |
| Heatmaps | Offered. Confirm current heatmap types and page coverage with Microsoft before you rely on them. | Heatmaps are included in the product analytics feature set, alongside funnels, trends and journeys. |
| DevTools, console, network and errors | Confirm with Microsoft which console, network and JavaScript error data Clarity captures. | DevTools with network activity, console logs and JavaScript errors, plus more than 40 performance metrics. |
| Product analytics funnels | Confirm with Microsoft. Clarity is built mainly around replay and heatmaps, so funnels may need a separate tool. | Funnels, trends and journeys are part of the product analytics feature set. |
| Cobrowsing | Not confirmed in this comparison. Ask Microsoft whether live cobrowsing is offered. | Cobrowsing with WebRTC calls. |
| Native mobile replay | Confirm with Microsoft whether iOS, Android or React Native apps are supported. | Native replay for iOS, Android and React Native. |
| Capture-time masking and private mode | Masking is configured in Clarity settings. Confirm the exact selector, input and default controls with Microsoft. | Sanitization happens before data reaches the server. Mask by CSS selector, redact inputs, or use private mode to mask all text and inputs by default. |
| First-party tracking and ad blockers | Confirm with Microsoft whether tracking can run from your own domain and how ad blockers affect collection. | Tracking runs from your own domain, and the README states that ad blockers do not block this first-party tracking. |
Where session data lives and who controls retention
Session replay data is personal data whenever it captures user behavior, so where it is stored and who sets its lifetime shape the compliance review. The cards below compare Clarity's Azure-hosted service with a self-hosted OpenReplay deployment on the points that most often come up in a privacy, legal or security review.
Hosting location of recordings
Clarity runs as a Microsoft-hosted service on Azure, so recordings are stored in Microsoft's infrastructure under Microsoft's contract terms. Self-hosted OpenReplay keeps session data in the infrastructure you operate, whether that is your cloud account, a data center or a private network. Ask Clarity's vendor to confirm the storage regions and any transfer mechanisms that apply to your visitors, and document where your own OpenReplay instance runs.
EU-US transfers pageRetention set by the operator
Clarity recordings expire after a fixed window unless someone favorites them, so retention is set by Microsoft, not by your team. OpenReplay's open-source edition uses self-managed retention, which means the period is a setting you choose and document. Your choice should follow the purpose you state to users and the lifetime limits in your consent and analytics rules, such as the 13-month ceiling in CNIL's exemption conditions for analytics trackers.
- CNIL tracker lifetime cap
- 13 months
Consent signals for EEA, UK and Swiss visitors
Clarity now limits collection for EEA, UK and Swiss visitors unless a valid consent signal is passed, so your consent manager becomes part of the data path. OpenReplay does not depend on Microsoft's consent enforcement, but you still need a lawful basis and a consent flow where your counsel requires one. CNIL notes that most large audience measurement offerings fall outside the analytics consent exemption whatever their configuration, so confirm with counsel which exemption, if any, applies to your setup.
CNIL sheet 16First-party tracking and ad blockers
OpenReplay served from your own domain is first-party tracking, which the project's documentation says ad blockers do not block. Clarity is typically loaded from a Microsoft domain, which many blockers filter, so your recording coverage may differ from your traffic. Measure the gap by comparing recorded session counts with server logs, and confirm that the first-party setup matches what your privacy notice and consent records describe.
Access control, SSO and audit logs
Clarity access is tied to a Microsoft account and its project roles, so your review will ask how that maps to your identity provider. Self-hosted OpenReplay's open-source edition does not include SSO or audit trail features; the Enterprise edition adds SSO and SAML, SCIM provisioning, roles and permissions, and an audit trail under a custom contract. Decide whether you need those controls, and confirm them with the vendor before the audit cycle begins.
OpenReplay pricingTransfer and vendor review evidence
For Clarity, the review file centers on Microsoft's contract, subprocessors and any transfer mechanism you rely on, including the EU-US Data Privacy Framework if the vendor participates. For OpenReplay, the file centers on your own hosting records, backup locations, access logs and deletion procedures. Work with your privacy and legal team to decide which evidence each design needs, and treat this comparison as an input to that review rather than a legal conclusion.
How OpenReplay editions and licensing differ
Before you commit to OpenReplay, separate its licenses by directory. The main monorepo is mostly AGPLv3, some directories are MIT, and everything under the ee/ directory is covered by a separate commercial license defined in ee/LICENSE. In practice this means the open-source edition is free to self-host with community support and self-managed retention, while the Enterprise edition is a paid, custom-priced contract. Ask your legal team to read the AGPLv3 obligations against your plans to modify or expose the software, since AGPLv3 applies to network use and not only to distribution. Confirm which exact directories your deployment pulls in, because a configuration that touches ee/ components falls under the commercial terms.
The features that most often drive an enterprise purchase are the ones that sit on the Enterprise side. OpenReplay's pricing page lists SSO and SAML, SCIM provisioning, roles and permissions, an audit trail, a custom SLA and dedicated support as Enterprise items, sold on multi-year contracts at custom pricing. Before you decide, check the current edition comparison with OpenReplay and confirm, in a test deployment, whether the access controls and audit logging your security and compliance teams require are available in the open-source edition or only in Enterprise. Note that the cost is recurring for Enterprise and that the open-source edition shifts hosting, upgrades and on-call support onto your own staff or partner.
The managed options are a different purchase. OpenReplay Dedicated is a fully managed instance, listed at $199 per month on AWS, GCP or Azure with a 7-day trial, and Bring-Your-Own-Cloud runs OpenReplay in your cloud account under OpenReplay's operation. Neither is a self-hosting edition in the sense of your own servers. Microsoft Clarity offers no self-hosting edition to compare, because it is a free service hosted by Microsoft on Azure, so the comparison is between a free hosted service and a licensed or self-operated product. Ask the vendor in writing which edition, license and hosting model each quoted feature belongs to.
What self-hosting OpenReplay costs beyond a free license
This table breaks down what Clarity costs you in practice (nothing in license fees) against what self-hosted OpenReplay asks you to pay for and staff. Read it as a list of components, each with a one-time or recurring nature and a set of drivers you can control. The main takeaway is that OpenReplay's license cost is zero for the open-source edition, but infrastructure, upkeep and staff time are real and grow with recording volume.
| Cost component | Who is paid or who carries it | One-time or recurring | What drives it up or down |
|---|---|---|---|
| Clarity service | Microsoft provides the hosted service at no license fee; your team still spends time on the tag, consent setup and data handling | Recurring staff time only | Consent manager changes and Clarity's own 30-day recording retention limit your options |
| Initial deployment | Your platform or DevOps team, or an implementation partner under a written scope | One-time | Choice of target (VM, Kubernetes, Docker), number of environments and the integration work with your stack |
| Masking and private mode configuration | Your engineers and privacy or security reviewers | One-time, then revisited on every release | Number of pages, forms and custom components that handle personal or financial data |
| Consent manager wiring | Your engineers and the team that owns the consent platform | One-time, then recurring on changes | Number of jurisdictions and tag-gating rules you must honor |
| Compute (VM or cluster) | Your cloud provider or data center, billed to your account | Recurring | Session volume and traffic peaks; the README's 2 vCPU, 8 GB RAM, 50 GB storage is a starting minimum, not a production estimate |
| Storage for recordings | Your cloud provider or storage team | Recurring, grows with volume | Retention period you set, sampling rate, and how much replay data you keep per session |
| Backups and restore testing | Your operations team | Recurring | Recovery time and point objectives you set and how often you test restores |
| Upgrades and monitoring | Your platform team; the open-source edition offers community support only | Recurring | Release cadence you adopt, the number of components you run, and alerting coverage |
| Support contract | Optional commercial support or Enterprise tier, quoted per written contract | Recurring if chosen | SLA level, SSO and SCIM needs, and whether you require a custom SLA |
What moving from Clarity to OpenReplay involves
The sequence turns a free, Azure-hosted recording tag into a self-hosted OpenReplay deployment where you control masking, consent handling and retention, and where the work is front-loaded into configuration before any session data is captured.
Deploy and size the self-hosted instance
Your platform or DevOps team deploys OpenReplay into your own cloud account, data center or Kubernetes cluster, using the deployment guide for your target. OpenReplay's README says a single VM with 2 vCPUs, 8 GB of RAM and 50 GB of storage is enough to start, but production sizing depends on your traffic, retention goals and whether you need high availability, so confirm those with the vendor and your own load estimates. The step is done when the instance answers over HTTPS on a domain you control and an admin can log in.
Configure masking and private mode first
Before the tracker goes near production pages, the security or privacy lead sets capture-time rules: CSS selectors to mask, input redaction for form fields, and whether private mode should mask all text and inputs by default. Masking runs in the browser before data reaches the server, so unmasked data cannot be fixed later. The step is done when a test page on staging shows masked values in a sample recording and the rules are written down for review.
Wire the consent manager to the tracker
Your web team connects OpenReplay's tracker to your consent management platform so that recording starts only when the visitor's choice allows it, and stops when consent is withdrawn. This matters most for EEA, UK and Swiss visitors, where Clarity's own consent signal now limits what it collects. The step is done when a test session from a region with consent prompts shows no recording before consent and recording after, verified in both browser and server logs.
Run the new tag alongside Clarity
For a test period, both tags load on a limited set of pages or a staging copy, so the team can compare what each tool captures, including the DevTools data OpenReplay adds such as console logs, network activity and JavaScript errors. Check that first-party tracking from your own domain behaves as expected, since OpenReplay's README notes that ad blockers do not block it. The step is done when the team signs off that replay, performance data and masking match the agreed test cases.
Recreate smart events and heatmap definitions
Product and analytics owners rebuild the events, funnels and heatmap views they relied on in Clarity as OpenReplay product analytics definitions, and document each one with its name, trigger and owner. Clarity's own configuration does not transfer automatically, so this is a manual inventory against the list you pulled from the Clarity dashboard. The step is done when every definition in the inventory has a matching OpenReplay definition and a test session that triggers it.
Export or favorite the recordings you need
Before Clarity removes older recordings, the team exports or favorites the sessions that matter for audits, bug investigations or customer cases, and stores them in a location with your own retention rules. Clarity recordings expire after 30 days unless favorited, and historical data rarely carries over into a new tool, so treat the switch as forward-looking. The step is done when a named owner holds a checked list of retained sessions and the retention period for each category is recorded.
Cut over and retire the Clarity tag
Once the test period and sign-offs are complete, the web team removes the Clarity script from templates and tag managers, redeploys, and confirms in production that OpenReplay records only consented, masked sessions. The owner also records the date Clarity stopped collecting, so later audit questions have a clear answer. The step is done when the Clarity tag no longer loads on any production page and a spot check of live sessions passes masking and consent checks.
Operate and review the setup
After cutover, your platform team owns upgrades, backups, storage growth and access reviews, which replace the work Microsoft runs for a free service. Ask your vendor or support provider what they cover, and confirm the open-source and enterprise license terms that apply to the features you use, since OpenReplay's ee/ directory uses a separate commercial license. The step is done when an operating runbook, an upgrade routine and a recurring masking review are assigned to named teams.
How recordings move from the browser to your servers
The path starts in the visitor's browser, where the consent manager decides whether the OpenReplay tracker loads at all. The tracker applies capture-time masking before anything leaves the page, so sensitive text and inputs never reach your ingest service in readable form. Data then flows into storage inside your own infrastructure and is opened only through the internal analyst UI. Check that masking rules cover every form and selector you use, and that the trust boundary matches where your servers actually run.
Recordings pass consent, masking and storage before analysts can view them.
Questions buyers ask before switching from Clarity
How much does it cost to run a self-hosted OpenReplay setup?
The open-source edition has no license fee, so the cost is the infrastructure and the people who run it. The README says a single VM with 2 vCPUs, 8 GB of RAM and 50 GB of storage is enough to start, but recording volume, retention length and redundancy will push that up quickly. Costs recur every month for compute, storage, backups, monitoring and staff time for upgrades. Ask your team to model storage against your expected session volume and the retention you set, then compare that with OpenReplay Dedicated, which the pricing page lists as starting at $199 per month on AWS, GCP or Azure.
How long does a switch from Clarity to OpenReplay take?
The timeline depends on how many sites and apps you run, how many consent and tag integrations you maintain, and how much testing your privacy and security teams require before go-live. A single site with a standard consent manager is usually simpler than a multi-brand estate with custom event tracking. Confirm the scope in writing before work starts, including deployment, masking configuration, consent wiring, smart event recreation and parallel running with Clarity so you can compare recordings before you turn it off.
Can our internal team run OpenReplay without outside help?
Many platform teams can deploy and operate it with Docker, Kubernetes with Helm or a supported cloud target, provided they have someone who owns upgrades, backups, storage growth and access control. The deployment documentation covers the main paths, but the work continues after go-live, including patching and checking the release notes for each new version. Confirm whether your team has spare capacity for on-call support, whether you need community support or a paid edition, and whether an outside partner should carry the setup, hardening or retainer work.
What do engineering and privacy teams need to provide?
Engineering provides hosting, DNS for a first-party domain, the tracking snippet in your front end, and the release process for changing masking rules. Privacy and legal staff define what must be masked or skipped, approve the data retention period, document the processing in your records, and confirm how the tool fits your consent manager. Both teams should test capture-time masking on real forms and sensitive pages before any recording goes live. Ask your DPO to review the data flows and retention settings before launch.
Can we keep our Clarity recordings and history?
Usually only part of it survives. Clarity recordings expire after 30 days unless they are favorited, and its Data Export API returns dashboard metrics for only the last 1 to 3 days, with 10 calls a day and 1,000 rows per call. That means most historical session replays cannot be moved into OpenReplay. Export the favorited recordings and any metrics you need for reporting before you switch, and record the baseline numbers you will compare against after go-live. Confirm these limits against Clarity's current documentation, since they can change.
Does the free Clarity tier differ from the OpenReplay open-source edition?
Yes, the differences are mainly in who runs the service and what the controls look like. Clarity is a free hosted service on Azure, while the OpenReplay open-source edition is free software you host yourself, with community support and retention you manage. The README lists session replay, DevTools with network activity and console logs, JavaScript errors, performance metrics, product analytics and heatmaps. The Enterprise edition, which is under a separate commercial license in the ee/ directory, adds SSO and SAML, SCIM, roles and permissions, an audit trail and a custom SLA. Check the feature list against the specific functions your team uses today.
How do EEA, UK and Swiss consent rules change the setup?
Clarity now needs a valid consent signal for visitors in the EEA, UK and Switzerland, or it limits collection, so recordings from those visitors depend on your consent manager. With a self-hosted tool, you decide how data is collected, masked and stored, and you can pass recording only after consent is given. Confirm with your legal team how your consent banner, tag firing and retention period interact, and whether your use fits the analytics exemption conditions in the CNIL's guidance, which the authority describes as applying to a narrow set of purposes. Test the consent flow in each market before launch.
Four decisions that settle the choice
Clarity and OpenReplay differ less on recording quality than on where data lives, how long it stays, who runs the servers and how deep debugging must go. Work through these four decisions in order, because each one can rule out an option before the others matter.
Data residency requirement
Clarity is hosted on Azure, and your recordings sit in Microsoft's infrastructure under Microsoft's terms. If your regulator, customer contracts or internal policy require session data to stay in your own cloud account or data center, self-hosted OpenReplay keeps every recording on servers you control. Confirm with your data protection officer whether the requirement covers recordings, which contain user interactions, or only identifiers.
OpenReplay pricingRetention beyond 30 days
Clarity recordings expire after 30 days unless someone favorites them, so long investigations, quarterly reviews and regression comparisons depend on what was saved in time. With self-hosted OpenReplay, retention is set by your own policy and storage budget, which matters when a defect surfaces weeks after release. Decide the retention period you need before you compare anything else, then size storage from it.
Capacity to run servers and upgrades
Clarity costs nothing to run because Microsoft operates it. OpenReplay shifts that work to your team: provisioning, patching, backups, storage growth and version upgrades. Its README says a single VM with 2 vCPUs, 8 GB of RAM and 50 GB of storage is enough to start, but production sizing depends on traffic. If no one on your platform team can own that on-call load, a managed OpenReplay Dedicated plan or a support retainer may fit better.
Depth of debugging data
Clarity gives you recordings and heatmaps, which show what users did but not always why an error occurred. OpenReplay adds DevTools with network activity, console logs, JavaScript errors and performance metrics alongside each session, which shortens the path from a broken checkout to a failing API call. If your engineers need that context in the replay itself, this point favors OpenReplay. If recordings only feed UX review, Clarity may already cover the need.
Enterprise identity controls
Clarity's access is tied to Microsoft accounts and the permissions your Clarity project grants. Self-hosted OpenReplay's free edition covers the core product, while SSO and SAML, SCIM provisioning, roles and permissions, and audit trail sit in the commercial Enterprise edition under a separate license in the ee directory. If your access reviews require central provisioning and audit evidence for who viewed which recording, price the Enterprise edition into the comparison and ask for it in writing.
OpenReplay repositoryWhere to verify OpenReplay licensing, releases and deployment
Before you commit to OpenReplay, check the official sources directly rather than relying on summaries, including this page. Start with the openreplay/openreplay GitHub repository, where the README sets out the license split: most of the monorepo is AGPLv3, some directories are MIT, and everything under the ee/ directory falls under a separate commercial license defined in ee/LICENSE. Read that file yourself. Your legal team needs to know whether the features you plan to use sit in the open-source code or in ee/, because the answer determines whether SSO and SAML, SCIM provisioning, roles and permissions, and the audit trail are available without a commercial agreement. Ask OpenReplay to confirm the current position in writing, since licensing terms can change between releases.
Next, review the releases page and the pricing page, then follow the deployment documentation to confirm the target platform you intend to use. The latest release on the releases page is v1.28, published on September 25, 2025, and the README's minimum sizing for a starting installation is a single VM with 2 vCPUs, 8 GB of RAM and 50 GB of storage. Treat that as a starting point, not a production sizing decision. Read the release notes for every version between your current candidate and the one you deploy, check for breaking changes to the tracker and the masking configuration, and plan a test instance that replays your own pages before you change the production tag.

