Follow the steps below to add your HubSpot tracking code to your Magento site:
Copy the HubSpot tracking code
- Navigate in your HubSpot Marketing Basic, Professional, or Enterprise portal to Reports > Reports Settings.
- Under the Tracking Code section, click Copy to clipboard.
- If you are a Marketing Free or Starter customer, follow these steps to copy your tracking code. If you are a Sales customer, follow the steps here.
Install the tracking code on your Magento site