Hello @sc08 This sounds like a Microsoft Clarity account or tracking issue rather than a Shopify implementation problem, especially since it was working before. Let’s troubleshoot step by step.
Step 1: Verify Your Clarity Project Still Exists
. Go to https://clarity.microsoft.com/
. Log in and check if:
. Your old project still exists (same domain).
. If not, Clarity may have auto-deleted the project due to inactivity or domain change. You may need to create a new project.
If you’re seeing “project doesn’t exist” and it’s not in your dashboard, it’s been removed or deleted — either by accident or due to policy. Clarity doesn’t send alerts before deletion, especially for inactive projects.
Step 2: Create a New Project (if necessary)
If the old one is missing:
. Go to Clarity Dashboard → “Add New Project”
. Enter your exact store domain (e.g., https://yourstore.myshopify.com or https://yourcustomdomain.com)
. It will generate a new tracking script — make sure to copy the new one.
Step 3: Install the Script Properly in Shopify
Paste the updated script in your theme.liquid file, just before :
-
In Shopify Admin → Online Store > Themes
-
Click “Edit code” for your live theme
-
Open layout/theme.liquid
-
Scroll to the bottom of the section
-
Paste the Clarity script just above
-
Click Save
Example:
Replace YOUR_PROJECT_ID with your actual ID.
Step 4: Confirm Installation
After saving:
. Go back to Clarity Dashboard
. Click “Check Installation”
. Visit your store in a new incognito browser window
. Wait a few minutes and refresh the Clarity dashboard
Still Not Working?
If it’s still asking to “install code again”, check:
. Theme cache: Try hard refreshing (Ctrl+Shift+R) the storefront
. Correct domain: Clarity project domain must match the live domain (e.g., www.domain.com vs domain.com)
. Theme switch: Did you switch themes recently? Clarity must be installed in the active theme
. Script blocked: Are any ad blockers or browser settings blocking the Clarity script?
Final Tip:
If the old project is unrecoverable, use the new project and wait ~2–4 hours for initial data to populate. You can also check for JS errors in the browser console.
Thank you 