Microsoft Clarity (session replays & heatmaps)

Microsoft Clarity is a free session-replay and heatmap tool from Microsoft. With the Microsoft Clarity plugin you can see how shoppers actually use your store:

  • Session replays — watch how a shopper moves through your pages, where they hesitate and where they leave.
  • Heatmaps — see which parts of a page get clicks and attention.
  • Rage clicks and dead clicks — find buttons and links that frustrate shoppers because nothing happens.

Clarity is free. You only need a Microsoft account.

Step 1 — Create your Clarity project

  1. Go to clarity.microsoft.com and sign in with a Microsoft, Google or Facebook account.
  2. Click Add new project, name it after your store, enter your storefront address and pick E-commerce as the site category.
  3. Open Settings → Overview and copy the Project ID — a short code like zg9ia3pu09.

Step 2 — Add the project ID to your store

  1. In your dashboard, open Plugins from the sidebar.
  2. Find Microsoft Clarity and turn it on.
  3. Paste the Project ID into the field and click Save. Pasting the whole Clarity install snippet also works — the ID is picked out of it.

Recording starts within a few minutes. To check it works, open your storefront and browse a page or two, then open your Clarity dashboard — the session appears under Recordings.

Privacy and masking

  • Text typed into input boxes and the values of dropdowns are always masked, in every masking mode.
  • The default Balanced mode also masks numbers and email addresses, so phone numbers and emails stay hidden.
  • Want everything hidden? In Clarity open Settings → Masking and choose Strict. All page text is masked in recordings.
  • To hide one specific area, add data-clarity-mask="true" to that element (advanced).

Pausing or removing it

Turn the plugin off in Plugins. The Clarity tag is removed from your storefront immediately, while your Clarity project and past recordings stay intact. Turning it back on re-uses the same project ID.

Good to know

  • The Theme Builder preview never loads Clarity, so your own preview clicks are not recorded.
  • Clarity is a shopper-behaviour tool, not a sales report. Your store’s analytics dashboard stays the source of truth for orders and revenue.

About the author — Tamim Hasan

Tamim Hasan is a software engineer and technical writer at Sohoj Dokan. He writes the step-by-step Help Center guides covering store setup, domains, payments, courier integrations, analytics and theme customization.

Software Engineer & Technical Writer

Still need help?

Our team is here for you. Reach out and we’ll get you sorted.