Microsoft Clarity

Connect a store to your own Microsoft Clarity to see how shoppers use it:
- Recordings: replays of visits, showing where shoppers scroll, click and give up.
- Heatmaps: which parts of a page get the most clicks and how far down people scroll.
- Insights: pages where shoppers click in frustration or leave quickly.
You only need your project ID. Gerai Digital adds Clarity's code to your store for you. Clarity is free, with no limit on visits.
Gerai Digital also marks four moments on each recording, so you can find, say, visits that added to cart but didn't buy:
| What the shopper does | Clarity event |
|---|---|
| Opens a product | view_item |
| Adds to cart | add_to_cart |
| Starts checkout | begin_checkout |
| Places an order | purchase |
What you need
A Microsoft Clarity account. Sign in at clarity.microsoft.com with a Microsoft, Google or Facebook account. It's free.
Create a project
- In Microsoft Clarity, choose New project.
- Give it a name, such as your store's name, and enter your store's address, for example
https://yourstore.gerai.digital. - Choose Add new project.
- Clarity then asks how to install its code. Stop there. You only need the ID.
Find your project ID
- In your Clarity project, choose Settings, then Overview.
- Copy the Project ID. It's about 10 letters and numbers.
Clarity also offers a code snippet to paste into your website. Skip it. Gerai Digital writes it into your store for you, using your project ID.
Connect it to your store
- In your Gerai Digital dashboard, open the store and choose the Settings tab.
- Choose Analytics & Ads, then the Microsoft Clarity tab.
- Paste your project ID into Project ID and choose Save.
Recordings, cookies and your shoppers
Once connected, Clarity records how shoppers move around your store and sets cookies to do it. Your store asks shoppers to Accept or Decline cookies at the bottom of the page, in English or Bahasa Melayu. Clarity only starts after they accept, so shoppers who decline aren't counted.
By default, Clarity hides what shoppers type, such as names, phone numbers and addresses. You can make it hide all text in your project's Settings › Masking › Strict.
You are responsible for telling your shoppers how you use their data. We recommend mentioning Microsoft Clarity on your store's own privacy page.
Check it's working
Visit your store and click around for a minute. In Clarity, open Recordings. New recordings can take up to 2 hours to show up, and the dashboard's numbers a little longer.
To find visits by what the shopper did, choose Filters › Custom events and pick, for example, add_to_cart.
Visits from the template editor's preview aren't recorded, so editing your store doesn't add recordings.
Stop recording
Go back to Settings › Analytics & Ads › Microsoft Clarity, clear Project ID and choose Save. Clarity's code is removed from your store.