Reports

How do I install the HubSpot tracking code on a Shopify site?

Last updated: May 15, 2017

Available For:

Marketing: Free, Starter, Basic, Pro, Enterprise
Sales: Free, Professional

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.

Was this article helpful?