Add HubSpot tracking code to GTM

A quick process on adding HubSpot tracking to the Google Tag Manager (GTM).

  1. Click the settings ⚙️ icon in the main navigation bar
  2. Navigate to Tracking & Analytics > Tracking Code
  3. Copy the tracking code from the Embed code section
    HubSpot Tracking Code
  4. Login to GTM and navigate to Workspace > Tags > New
    GTM Tag New
  5. Rename the tag to 'HubSpot'
  6. Choose Custom HTML as the tag type
  7. Paste the HubSpot tracking code into the HTML section of the tag configuration
  8. Add triggering to All Pages
    HubSpot Tag All Pages
  9. Click Save, then submit.