1. Copy the HubSpot tracking code
- Copy your HubSpot tracking code by following the instructions here.
2. Install the tracking code on your Shopify site
- Log into your Shopify admin dashboard and click on Online Store in the menu.
- Select Themes > Click on ••• and Edit HTML/CSS.
- Find the theme.liquid file for your theme.
- Paste your HubSpot tracking code just before the </body> tag in this file.
- Click Save in the upper-right corner.