Google.com/tagmanager

Hello,

     Has anyone set the google tagmanager up with Dolphin?  The setup of the tagmanager tells you that you need to place the code right after the body tag of all of your pages.  Now from what I can see in my setup (I am using a custom template) the body tag is in _header.html in my template directory.

 

Start of code snippet.

</head>

__flush_header__

<body <bx_injection:injection_body /> class="bx-def-font">

    <bx_injection:injection_header />

<bx_injection:template_slider_injection />

End of code snippet.

 

 

 

The google code for the tagmanager is the following... (I changed my ID to XXXX)

 

<!-- Google Tag Manager -->

<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-XXXX"

height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':

new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],

j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=

'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);

})(window,document,'script','dataLayer','GTM-XXXX');</script>

<!-- End Google Tag Manager -->

 
What is the proper way to insert this code?  I am confused by the body tag having an injection tag as well.  
 
Thanks,
Cory

 

 

 

Quote · 23 Mar 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.