How to Add Microsoft Clarity to Your Shopify Store

Sell Online With Shopify
Trusted by millions of businesses worldwide
Sign up for a free trial and enjoy the first month of Shopify for $1.

Clarity is a user behavior analytics tool that helps you understand how users are interacting with your website through features such as session replays and heatmaps. This is a new product from Microsoft.

This article will teach you how to add Microsoft Clarity to your Shopify store.

Firstly, you must go to Microsoft Clarity official page at: and login with Microsoft or Gmail or Facebook account.

After successful login, you click on the Add New Project button to add a new site to tracking.

A new dialog popup will appear and you must fill out all fields.

After finishing, you click to Create button to get tracking code to embed your Shopify store. And copy the Clarity tracking code from the dashboard.

Now, you follow the below steps to add the Clarity’s tracking code to your Shopify store.

  • From your Shopify admin, go to Online Store > Themes.
  • Find the theme you want to edit, and then click Actions > Edit code.
  • Under Layout, select theme.liquid.
  • Scroll down the page until you find the following tag.
  • Paste the Clarity tracking code just before the  tag.
  • Click Save.
  • Open Settings and click on Checkout
  • Scroll down to the Additional scripts field. Paste the Clarity tracking code.
  • Click Save and you are done.

Looking for Shopify Experts?

Hura Apps can help you take your store to the next level

Our team of experienced designers and developers can help you create a beautiful, high-converting Shopify store that will drive sales and increase customer satisfaction. From custom design to app development and optimization, we have the skills and expertise to help you achieve your eCommerce goals.

Get in touch

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *