0

I tried to place Google Tag Manager code via individual page settings as for their instruction on https://knowledge.hubspot.com/articles/kcs_article/cos-general/how-do-i-add-the-google-tag-manager-code-to-my-hubspot-pages

Hubspot Instructions

But Google wants it to be placed just below the <body> tags. So I tried placing it using a custom module but it is being wrapped by a <span> tags which google doesn't like.

Any other suggestions?

Mr Lister
  • 45,515
  • 15
  • 108
  • 150
Martin Cipriano
  • 75
  • 1
  • 1
  • 5

1 Answers1

0

Put script part of GTM code in head and noscript part in body (footer in your case). It will work.

mrbubu
  • 474
  • 3
  • 9