• Hi,

    Google has updated the way to deploy GTM https://developers.google.com/tag-manager/quickstart.

    I turned the Container code placement off in your plugin because I was getting some errors with the old implementations. That way, when the loading speed is slow for a specific page… The GTM Tag wasn’t being fired. I solved this placing the JS code as close to the opening <head> and the iframe after the <body>.

    Now, using the implementation suggested by Google, my custom dimensions aren’t being tracked. I think the reason is the dataLayer position, it’s at the bottom of the <head> (Before closing </head>).

    Should be the dataLayer placed before the snippet code? If your answer is yes, I need to know if there’s a way to move the dataLayer definition and population to the top.

    My website is knitmuch.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Tomi,

    same problem here. Google changed the URL to the code snippet aswell. Maybe only for new container versions.
    Example:
    NEW: //www.googletagmanager.com/ns.html?id=GTM-XXX666
    OLD: //www.googletagmanager.com/gtm.js?id=GTM-XXX666

    Any chance you could fix this?

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi Everyone,

    This new container code implementation will be available in the next plugin release but the current code will work fine as well, you do not have to be worried.

    Thanks for noting this.

    Thomas Geiger

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issues with the new GTM implementation and dataLayer’ is closed to new replies.