Google Tag Manager



  • For those of you who are doing SEO.

    Where are am I putting the tag manager code? In the .tpl files (it wants it on "every" page). Maybe header.tpl or footer.tpl?

    Thanks for any thoughts here!


  • Admin

    I think easiest is to append it to footer.tpl, as that is parsed and sent back with server response. I was initially thinking a footer widget, but that is only loaded via javascript after the page itself is loaded.



  • @julian yeah I was thinking that. I'll give it a go and see what happens.



  • they want it in the head / body fields.

    footer.tpl doesn't have those. i'm going to try header.tpl


Log in to reply
 

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.