Sometimes users opt to manually install Matcha’s Global tracking code instead of using our Shopify integration. This article will direct you how to inject the code snippet into your website’s HTML code.
- Log in to your Shopify account as admin.
- Click 'Online Store' in the lefthand panel.
- Click 'Themes' under ‘Online Store.’
- Under 'Current theme,' click the 'Actions' dropdown and choose 'Edit Code.'
- There will be a search bar, search for 'Head.'
- Search for a header file- it will be named something like {/} header.liquid. Click to open.
- This will bring the <head> code into the right frame. Search for the first section of code that starts with "<div" using ctrl+f.
- Paste the Matcha Global tracking snippet from Matcha settings in the line just above the <div> section.
- Press save.
If you have properly installed the code, you should begin to see data from your website populate into the Matcha Insights tab within 48 hours.