Jump to content

Integrations - Google Tag Manager


Go to solution Solved by Marshall Slemp,

Recommended Posts

Hello Community, I just enabled the integration with Google Tag Manager (two days ago); but it is not reflected in the html code of my site (see source code), I only have the codes of Google Analytics, but not yet those of Google Tag Manager.

This is my configuration:

Could contain: Page, Text, File, Webpage

 

And when viewing the source code:

Could contain: Page, Text

 

Regards.

Edited by Mercury Forever
Link to comment
Share on other sites

  • Solution

Could you kindly check your globalTemplate file to confirm that it has the below code snippet included somewhere within the head section?

{{if settings.googletag_enabled AND !(settings.core_datalayer_use_gtm AND settings.core_datalayer_enabled)}}
    {setting="googletag_head_code"}
{{endif}}

 

Link to comment
Share on other sites

On 7/7/2023 at 11:44 AM, Marshall Slemp said:

Could you kindly check your globalTemplate file to confirm that it has the below code snippet included somewhere within the head section?

{{if settings.googletag_enabled AND !(settings.core_datalayer_use_gtm AND settings.core_datalayer_enabled)}}
    {setting="googletag_head_code"}
{{endif}}

 

Worked for me as well, thank you!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...