Google Tag Manager

Hi everyone, I’m having a bit of trouble with Google Tag Manager and RW.

One snippet is placed in the , and the other is supposed to be placed right after the opening tag. Since there is no site-wide field to add code immediately after the opening tag, I have put the code in an HTML stack at the top of the page.

But my colleague (who manages our digital ads and SEO) says that he can see the snippet in the source code, but that it’s not firing properly.

Is this happening because I’ve put the snippet in an HTML stack? Is there a better way to do this? I’ve been searching the forums for a solution and it looks like many others have had this problem, but there aren’t a lot of solutions out there.

Thank you in advance! :slight_smile:

At a guess, you pasted in some smart quotes. Try selecting the snippets and choosing ‘ignore formatting’.

1 Like

Might want to provide a URL to site.

Sorry :slight_smile:

looks like you have extra Double Quotes " around the iFrame.

Try this pasted in a HTML stack:

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=""
  height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  <!-- End Google Tag Manager (noscript) -->
1 Like

Thanks for the help, everyone! It looks like the problem was with the way we were sending the GTM code back and forth. We use Basecamp to communicate, and Basecamp was truncating the code!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.