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.
looks like you have extra Double Quotes " around the iFrame.
Try this pasted in a HTML stack:
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K9FJBZ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
</html>
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!