Follow these steps to integrate heatm.app analytics into your Shopify store.
Add the tracking script to your Shopify store using the theme editor:
1. Go to Online Store > Themes
2. Click Actions > Edit code
3. Open the `theme.liquid` file
4. Add the script before the closing `</head>` tag:
<!-- Add this before </head> in your theme.liquid -->
<script
defer
data-website-id="YOUR_WEBSITE_ID"
data-domain="your_domain.com"
src="https://heatm.app/js/script.v2.min.js"
></script>Replace `YOUR_WEBSITE_ID` with your actual Website ID from heatm.app. Replace `your_domain.com` with your website's root domain. 5. Click Save
After implementing:
For advanced configuration options like localhost tracking, custom API endpoints, or cross-domain setup, see the script configuration reference.