Skip to content
Tools and automation

Microsoft Clarity integration for session recordings

2 min read · Updated · By the Reveata team

Short answerConnect your own Microsoft Clarity project and Reveata links each visit, journey, funnel step and payment to its Clarity recording, with Watch buttons that open it in Clarity. Only the random Reveata visitor and visit ids are shared, and consent can be required first.

Reveata shows what made money. A session recording shows why someone bought or left. Connecting Microsoft Clarity (opens in a new tab), which is free, lets you jump from a number to the recording behind it.

What you get

  • Dashboard: a Paying visits recorded tile, and a Recordings switch on the chart that shows paying customers as avatars, each with Watch how … bought.
  • Visitor journeys: Watch links per day, Watch the purchase on the buying day, and ▶ m:ss links on each event.
  • Goals and funnels: Watch N who left on each step, the biggest leak highlighted, and Watch N who paid on the last step.
  • API and MCP: a recording field on visitor profiles, journey events and payments.

How to connect it

  1. Copy your Clarity project ID (10 letters and digits) from Clarity's Settings → Overview, or paste Clarity's tracking code.
  2. In Reveata, open Settings → Integrations → Microsoft Clarity recordings, paste the ID and choose whether Clarity's code is Already on my site or Reveata should load it.
  3. Add the small tag the card shows after your Reveata tracking code. It is a separate script of about 1 KB, so the main script is unchanged when Clarity is off.

Recordings stay in your Clarity account. Reveata stores no video, only which Clarity session belongs to which visit, for 30 days.

What is shared with Clarity

The tag calls Clarity's Identify API (opens in a new tab) with the random Reveata visitor id and visit id, also set as custom tags reveata_visitor_id and reveata_session_id. Never a name, an email or anything you send with identify; the switch Share only an anonymous ID with Clarity is always on.

Clarity sets cookies and records sessions, so visitors in the EU, the UK and Switzerland need to consent. With Only record visitors who accepted cookies on (the default), Reveata waits for your cookie banner to call reveataClarity('consent', true). When Reveata loads Clarity, it passes the consent on with Clarity's consent API; when Clarity is already on your site, pass your banner's decision to Clarity yourself.

Limits

  • Cookieless mode has no visitor id in the browser, so visits can't be linked to recordings.
  • The ▶ m:ss links open the recording at its start; skip to the time shown.
  • Viewers see Watch buttons only when Viewers can see revenue is on.

Frequently asked questions

Does Reveata store my session recordings?

No. They stay in Clarity. Reveata keeps only the link between a visit and its Clarity session.

How do I keep personal data out of recordings?

Use Clarity's Strict masking for checkout and account pages, or add data-clarity-mask="true" to parts of the page that show personal data.

What happens when I disconnect?

The project ID and every visit-to-recording link are removed, the Watch buttons disappear, and the tag on your site stops doing anything within five minutes. Your recordings stay in Clarity.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
IntegrationCaddy analytics proxy for ReveataTwo handle routes in your Caddyfile serve the Reveata script and pass events on from your own domain, with your proxy secret taken from Caddy's environment. If you can't edit the pages, the replace-response plugin can insert the snippet into every HTML response.IntegrationConnect ChatGPT to your website analyticsAdd Reveata in ChatGPT's Apps and Connectors settings, or create it in developer mode with Reveata's MCP server address and OAuth. You pick which websites to share, and ChatGPT answers questions about traffic, revenue, goals and funnels with cards and charts, reading only.IntegrationConnect Claude to your analytics with MCPAdd Reveata as a connector in Claude's settings, or with one command in Claude Code, and sign in through Reveata to choose websites and permissions. Claude then reads your analytics through Reveata's MCP server and shows inline cards for overviews, rankings, realtime, goals and funnels.IntegrationDiscord alerts for website traffic and revenueCreate a webhook in a Discord channel's Integrations settings, paste its URL into a Reveata alert, and Reveata posts to that channel when the alert fires. Posts never ping anyone, even if your message contains @everyone.IntegrationGemini CLI with Reveata analyticsRun gemini mcp add with Reveata's server URL, start gemini and run /mcp auth reveata. Reveata opens in your browser to choose websites and permissions, and Gemini CLI can then answer questions about your analytics.IntegrationGitHub commits on your analytics chartConnect a GitHub repository and Reveata imports the last 90 days of commits on its default branch, then adds new ones within seconds through a push webhook. Each day with commits gets a marker on your main chart, so you can see what shipped when traffic or revenue moved.