To start tracking user activity on your Shopify store, you need to add the HumCommerce tracking code to the </head> tag of your website.
Follow these steps to add the tracking code to the head tag of your website.
Step 1: Start by copying the tracking code from your HumCommerce dashboard.
Step 2: Login to your Shopify account and click on the Settings button in the bottom left corner of the page –
Step 3: Click on the Online Store (under Sales Channels) tab from the left sidebar.
Step 4: Click on the Customize button on the Online Store > Themes settings page –
Step 5: Click on the Theme Actions button in the bottom left corner of the page.
You’ll see a drop-down list of actions. Click on the Edit Code action –
You’ll see the following screen –
Step 6: Click on the theme.liquid file in the Layout menu to access theme code.
Step 7: Paste the HumCommerce tracking code just above the </head> tag in the code.
Step 8: Click on the Save button to save the changes.
You have now pasted the HumCommerce tracking code successfully.
Once the first visitor comes to your website after code pasting, you’ll start seeing the active dashboard.