Follow the steps below to add your HubSpot tracking code to your Magento site:
1. Copy the HubSpot tracking code
Copy your HubSpot tracking code by following the instructions here.
2. Install the tracking code on your Magento site