Mida + Microsoft Clarity integration

Tag Clarity session replays and heatmaps with Mida experiment data for free, GDPR-friendly behavior analysis.

Analytics & Data Data out Client-side Works with Mida A/B Testing & Personalization

About Microsoft Clarity

Microsoft Clarity is Microsoft's free, GDPR-friendly behavior analytics tool offering unlimited session recordings, heatmaps, and AI-generated insights. Because there are no recording caps and no quota, Clarity has quickly become a default companion to A/B testing tools.

How the Microsoft Clarity integration works

Mida calls clarity('set', 'mida_conversion', 'mida_conversion_{test_id}_{variant}') to add a custom tag to the active Clarity session whenever a visitor converts. Inside Clarity, you can filter session recordings, heatmaps, and dashboards by that custom tag to isolate users who converted on a specific variant.

Requirements

  • Microsoft Clarity script installed on the page (window.clarity).
  • Mida tracking code installed on the page.

Use cases

Replay every visitor who converted on the winning variant — for free

Clarity has no recording cap, so you can filter by the mida_conversion variant tag and replay every single converting session. The fastest free way to find the UX moment behind a winning test.

Generate AI insights per variant

Apply the variant tag as a filter and let Clarity's Copilot surface the most common rage clicks, dead clicks, and quick-backs for that variant — surfacing usability issues you might have missed.

Compare scroll heatmaps between variants

Filter Clarity heatmaps by variant and stack them side-by-side to see how a redesign changed scroll depth, click density, and area-of-interest distribution.

Replace expensive paid session recording tools

Many teams pay for both Hotjar and a session-replay tool just to filter by experiment. With Mida + Clarity, you get the same workflow at zero cost — so you can spend the budget on tests, not tools.

Shared data

Mida and Microsoft Clarity exchange the following events:

Event Direction Description
mida_conversion Data out Custom tag set on the Clarity session: mida_conversion_{test_id}_{variant}.

Frequently asked questions

Does Clarity work with Mida even on EU traffic?

Yes. Clarity is GDPR-compliant by default and Mida sends only the test/variant identifiers — no PII.

Why are only conversions tagged, not exposures?

Clarity caps custom tags per session and prefers the most recent tag. Tagging on conversion gives you the most useful filter without overwriting other tags you may set.

Is there a Clarity plan I need?

No. Clarity is free with unlimited sessions and unlimited tags.

Ship A/B tests 10x faster — connected to your stack

Mida is the lightweight A/B testing and personalization platform that integrates with the tools you already pay for.