Skip to content

Watch the buyer with Microsoft Clarity

View as Markdown

Connect your own Microsoft Clarity project to watch the session recording behind any visit, journey, funnel step or payment, with consent handled and only anonymous ids shared.

On this page

Reveata shows what made money. A session recording shows why someone bought or left. Connect your own Microsoft Clarity (opens in a new tab) project and Reveata links every visit, journey, funnel step and payment to its recording, with Watch buttons that open it in Clarity.

The recordings stay in your Clarity account. Reveata stores no video: only which Clarity session belongs to which visit. Clarity is free.

Connect

You need to be an admin or the owner of the website.

  1. In Clarity, create a project for your site (or open the one you have) and copy its project ID from Settings → Overview: 10 letters and digits, like 3t0wlogvdz. You can also paste Clarity's tracking code; Reveata finds the ID in it.
  2. In Reveata, open Settings → Integrations → Microsoft Clarity recordings, paste the ID and choose Clarity script:
    • Already on my site: Clarity's own code is on your pages (directly, through Google Tag Manager or a site builder). Reveata only links visits to it.
    • Let Reveata load it: Reveata adds Clarity's code for you, after consent when you ask for it (below).
  3. Click Connect Clarity, then add the tag the card shows after your Reveata tracking code:
html
<script defer src="https://your-reveata-host/js/script.clarity.js?website-id=ws_…"></script>

The tag is a separate script of about 1 KB, so the main Reveata script stays under 4 KB and works as before when Clarity is off. It does nothing until Clarity is connected, and stops when you disconnect.

Within a minute of the first visits, the card shows Visits linked, Paying visits recorded, Revenue you can watch and Last session tagged.

What Reveata shares with Clarity

On each page, the tag calls Clarity's Identify API (opens in a new tab) with two values, and sets them as custom tags (opens in a new tab):

Clarity field Value
custom id, tag reveata_visitor_id the random Reveata visitor id
custom session id, tag reveata_session_id the random Reveata visit (session) id

Never a name, an email address or anything you send with reveata('identify', …). The switch Share only an anonymous ID with Clarity is always on. In Clarity you can filter recordings by these tags to find a Reveata visitor.

The tag then tells Reveata Clarity's own user and session ids for the visit, from Clarity's first-party cookies (_clck, _clsk), so Reveata can link to the recording. Reveata keeps these links for 30 days, as long as Clarity keeps recordings.

Cookieless mode has no visitor id in the browser, so visits can't be linked to recordings on a website in cookieless mode.

Clarity sets cookies and records sessions, so in the EU, the UK and Switzerland you need your visitors' consent. Since 31 October 2025 Clarity itself requires a consent signal for visits from those regions (Clarity's Consent API (opens in a new tab)).

With Only record visitors who accepted cookies on (the default), Reveata waits for your cookie banner. Call this when the visitor accepts:

html
<script>
  // Before the Reveata tags: calls made before they load are kept.
  window.reveataClarity =
    window.reveataClarity ||
    function () {
      (reveataClarity.q = reveataClarity.q || []).push(arguments);
    };
</script>
js
// Your cookie banner, when the visitor accepts analytics cookies:
reveataClarity('consent', true);
// When they decline or withdraw consent:
reveataClarity('consent', false);
  • Let Reveata load it: Clarity's code is added only after consent, true, and Reveata passes the consent to Clarity with clarity('consentv2', { ad_Storage: 'denied', analytics_Storage: 'granted' }). consent, false stops linking and calls clarity('consent', false), which clears Clarity's cookies.
  • Already on my site: Reveata links a visit only after consent, true, but your Clarity code keeps its own consent handling. Pass your banner's decision to Clarity with its Consent API as well, or set Clarity's own cookie setting in Settings → Setup → Advanced settings.

With the switch off, Reveata links (and loads) Clarity without waiting. Use that only where your visitors' laws don't require consent, or when your consent tool already decides whether Clarity runs.

Like Reveata, Clarity must not be used on websites aimed at people under 18.

Masking

Clarity masks input fields everywhere and, by default, numbers and email addresses on the page (Balanced). For checkout and account pages, choose Strict in Clarity under Settings → Masking, so all text is masked, or add data-clarity-mask="true" to the parts of the page that show personal data. Masked content never leaves the visitor's browser. Changes apply to new recordings.

Watch buttons

With Clarity connected and Show “Watch” buttons on:

  • Dashboard: a Paying visits recorded tile next to the key metrics; a Recordings switch on the chart (next to Notes and Mentions) shows paying customers as avatars, and clicking one opens a card with what they paid, where they came from, the pages of the buying visit and Watch how … bought. The Journey table of the goals card gets a Recording column: the recorded visits of each buyer, or No consent when the visit wasn't recorded.
  • Visitor journeys: each day gets Watch · duration, the buying day Watch the purchase with a preview and a timeline of its pages and the payment, every event a ▶ m:ss link, and the side column a Recordings list. Recorded visits only hides the rest.
  • Goals and funnels: each step gets Watch N who left, the biggest leak is highlighted, and the last step gets Watch N who paid (or finished). The recordings open in a grid you can filter by device, source and plan, and you can add a note for the chart from each one.

The ▶ m:ss times are measured from the first page Reveata saw in the Clarity session, so they are close to the time in Clarity's player. Clarity doesn't document a way to open a recording at a given second, so the links open the recording at its start: skip to the time shown.

Ask AI on drop-offs

Under the drop-off recordings, Ask AI summarises what the 20 newest recorded drop-offs have in common. It writes only from Reveata's own data about those visits (device, source, plan, pages, time spent) and your notes on those days; it never sees the videos, and recording links aren't sent to the AI provider. It counts as one Ask AI question.

Who sees recordings

Recordings show what your visitors did, so they follow the revenue rule:

  • Owners, admins and editors see Watch buttons.
  • Viewers see them only when the website's Viewers can see revenue setting is on (Team and roles).
  • The API and MCP server add a recording field (the link and the second to jump to; null when the visit wasn't recorded) to visitor profiles (sessions, payments), journey events and payments, for the same people. The switch Show “Watch” buttons hides the buttons in the dashboard only.
  • The Reveata team's support agents never receive recording links unless they hold confidential access.

Disconnect

Disconnect on the card removes the Clarity project ID and every link between visits and recordings, hides all Watch buttons, and makes the Clarity tag on your site do nothing (within 5 minutes, the tag's cache time). Your recordings stay in Clarity. Connecting, changes and disconnecting are recorded in the website's audit log.

Deleting a visitor's data in Reveata also deletes the links to their recordings. To delete the recordings themselves, use Clarity.

Was this helpful?