Step-by-step guide

Step 1

Copy the Clarity tracking code from the dashboard.


Step 2

In your Shopify dashboard, select Online Store.

Step 3

Select Themes.

Select themes.

Step 4

On the top right, select Actions > Edit code.

Select actions and edit code.

Step 5

Under Layout, select theme.liquid.

Select theme.liquid under layout.

Step 6

Scroll down to find this tag: </head>.

Go to end of head tag.

Step 7

Paste the Clarity tracking code just before the </head> tag.

Paste the code.

Step 8

Select Save.

Step 9

Open Settings.

Open settings.

Step 10

Select Checkout.

Select checkout.

Step 11

Scroll down to the Additional scripts field. Paste the Clarity tracking code.

Go to additional scripts.

Step 12

Select Save.

Step 13

The Clarity tracking code is now installed.


For more answers, refer to General FAQ.

I am unable to add the tracking code. What should I do?

Make sure you are following the steps and copying the right tracking code. Check Troubleshooting installation to know more.

How long will it take for Clarity to start working on my website?

Wait for 2 hours before Clarity starts working on your website.

Will Clarity intervene with other JavaScript code?

No. Clarity tracking code will not interfere with other JavaScript code.

Visit Clarity