cancel
Showing results for 
Search instead for 
Did you mean: 

Google Tag Manager extension

SOLVED
   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Google Tag Manager extension

Hi,

 

I`m using this Google Tag Manager extension ( http://www.magentocommerce.com/magento-connect/google-tag-manager.html ) for my website, but the script is added in <section>. Can somebody tell me where should i look in order to modify the place where the script is showing in html file? 

 

 Thank You.

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Google Tag Manager extension

Look at /app/design/frontend/base/default/layout/shopgo/gtm.xml.


You will see: <reference name="after_body_start">

 

Change after_body_start to where you want it.

 

Look at your template files and see where you actually want it (after_body_start, header, head, content, footer, before_body_end) or add a new position (we usually add before_content and after_content to sites we manage, you can add in page.xml - just search for after_body_start and copy that to create your own reference then add to each page template.

Chris / Placement Edge

View solution in original post

5 REPLIES 5

Re: Google Tag Manager extension

Look at /app/design/frontend/base/default/layout/shopgo/gtm.xml.


You will see: <reference name="after_body_start">

 

Change after_body_start to where you want it.

 

Look at your template files and see where you actually want it (after_body_start, header, head, content, footer, before_body_end) or add a new position (we usually add before_content and after_content to sites we manage, you can add in page.xml - just search for after_body_start and copy that to create your own reference then add to each page template.

Chris / Placement Edge

Re: Google Tag Manager extension

You saved my day! 

Thank You.

 

Re: Google Tag Manager extension

I had the same situation, now its cleared

 

Thanks a lot

 

Re: Google Tag Manager extension

Just wondering why would change it, it needs to be called after_body_start, no?

Re: Google Tag Manager extension

Because in my case was inside <section></section> and was not working.