Site wide code and Google Tag Manager


(Rob Lang) #1

I love the new site-wide code feature of RW7.

I use Google Tag Manager (GTM) to track users/pages/downloads etc. The Tag Manager code needs to be added to every page of a website. So far, so good for site-wide code.

BUT Google says the code needs to be added at the beginning of the page, just after the <BODY> tag. RW site-wide code adds the code at the bottom of the page, just above the </BODY> tag.

I have fudged, and added the GTM code to the Header, but this is not ideal.

Message to Realmac developers: can we have the option of adding site-wide code to the top of the <BODY>, not at the bottom?


(Nicko) #2

Thanks for posting my question for me embert :slight_smile:

I’d love to know the answer to this too. Very very interested to know.


(Nicko) #3

Did anyone work out how to do this. I’ve tried a few options and varioustions, but can’t seem to get GTM to work correctly. In particular, google chrome is doing funny things.