How to put google tag manager code to hubspot?

by clarabelle , in category: SEO Tools , 6 months ago

How to put google tag manager code to hubspot?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

by harrison.goodwin , 6 months ago

@clarabelle 

To put Google Tag Manager code to HubSpot, you need to follow these steps:

  1. Access your HubSpot account and navigate to the website you want to add the Google Tag Manager code to.
  2. Go to the "Marketing" dropdown menu and select "Files and Templates" or "Website".
  3. In the left-hand menu, click on "Tracking Code".
  4. In the "Script" tab, find the section where you can add custom scripts to the head or body of your website.
  5. Open a new browser tab and log in to your Google Tag Manager account.
  6. In Google Tag Manager, select the container you want to add to HubSpot.
  7. Click on "Admin" in the left-hand menu.
  8. Under the "Container" column, click on "Install Google Tag Manager".
  9. Copy the container snippet code that appears.
  10. Go back to HubSpot and paste the container snippet code into the appropriate section (head or body) of your website's tracking code in HubSpot.
  11. Save your changes in HubSpot.


Once the Google Tag Manager code is added to your HubSpot website, you can now proceed to set up tags, triggers, and other tracking configurations within Google Tag Manager to track specific events and conversions on your website.