How to Install Heatmap Snippets on Your Shopify Store
Heatmap snippets help you understand how visitors use your Shopify store. This guide will show you how to add these snippets to your site in just a few easy steps.
What You'll Need
- Access to your Shopify admin panel
- Your Heatmap account details
Step 1: Get Your Heatmap Snippets
1. Log in to your Heatmap account.
2. Go to the "All Websites" page.
3. Look for the "View Snippet" section.
4. You'll see two snippets: the Tracking Snippet and the Revenue Snippet.
5. Copy both snippets. You'll need them soon.
[IMAGE: Screenshot of Heatmap dashboard showing where to find the snippets]
Step 2: Add the Tracking Snippet
1. Open your Shopify admin panel in a new tab.
2. Click on "Online Store" in the left sidebar.
3. Select "Themes".
4. Find your current theme and click "Actions", then "Edit code".
5. In the left sidebar, look for the "Layout" folder and click on "theme.liquid".
6. Find the `</head>` tag in the code.
7. Paste the Tracking Snippet just before this tag.
8. Click "Save".
[IMAGE: Shopify theme editor showing where to paste the Tracking Snippet]
Step 3: Add the Revenue Snippet or the Custom Pixel
Click on "Settings" at the bottom left corner of the page.
Choose "Customer Events" from the left side menu.
Click on "Add Custom Pixel," enter the name "heatmap-revenue" into the provided input field, and click on "Add Pixel."
Replace the content of the textarea with the given code.
Save the pixel by clicking on the save button located at the top right corner of the page.
Activate the pixel by clicking on "Connect."
[IMAGE: Shopify Checkout settings page highlighting the "Additional scripts" box]
Step 4: Verify Installation
1. Go back to your Heatmap account.
2. Look for a "Verify” or “Complete Installation" button by your website name.
3. Click it to proceed to verify if the snippets are installed correctly.
4. If successful, you'll see a green checkmark.
[IMAGE: Heatmap dashboard showing successful verification]
That's it! You've successfully installed Heatmap snippets on your Shopify store. You should start seeing data in your Heatmap dashboard within 24 hours.
## Need Help?
If you run into any issues, don't hesitate to contact our support team. We're here to help!
Remember to check your Heatmap dashboard regularly to gain insights about your store visitors and improve your site's performance.