Google Tag Manager


(Garth Poon) #1

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:


(Peter Danckwerts) #2

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


(Doug Bennett) #3

Might want to provide a URL to site.


(Garth Poon) #4

Sorry :slight_smile:

https://jellymarketing.com


(Doug Bennett) #5

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

2018-07-12_09-38-48
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>

(Garth Poon) #6

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!