Forum has been created to help all our customers in properly working our theme. We offer complete help with configuration theme and make default look, just like on our Be|theme demo. We don`t offer theme customization.

Before creating a new discussion, please:
1. Check on forum if discussion hasn`t been created before. Use the forum Search on the right.
2. Read carefully the documentation included to package.
3. If you didn`t find what you need and would like to post a new question click the "Start a New Discussion" button on the right.
4. You can post on forum only after registration (you need purchase code to register) .

NOTE!!! If you are starting a new topic and have got problems with your site and you want us to check what`s wrong please always give url to your site because without that we can`t check what`s wrong. Each case may be different because of your installed plugins, servers or other things.

IMPORTANT!!! Along with your inquiry, please attach the address of the page which concerns the question. This will cause the time to answer on your question will be much shorter. If you do not want to publish your address publicly in the forum, please send a private message. Thanks!

Setting up Google Tag Manager

Hi guyz!
I want to setup google tag manager but the description google offers seems not to work for me/our theme. Google says to implement tag manager snippet after opening <body> tag. I'm using the child theme so I had to look for the body tag. Found it in header.php but I'm not sure if it's right and where to insert it exactly.. Could you please support?
thx in advance!


  • Please sign in to see answear!
  • edited July 2015
    Ok, I understand. But the body-tag is not visible as quoted by you above. Could you please give a hint?

    In the header.php it looks like this:

    <!-- body -->
    <body <?php body_class(); ?>>

    Is it right to put code after that??
  • *** SOLVED ***

    You can go to: Design - Theme Options - Global - Hooks - Top  and paste Google Tag Manager Code in custom field to be executed after opening <body> tag
  • Please sign in to see answear!
  • Just use the plugin DuracellTomi's Google Tag Manager for WordPress - you'll find it in the plugins directory.

    Use the file injection method and insert your GTM-Code - it works fine.


  • Rashid - yes, you can do it that way. But, while I'm not an expert Wordpress developer, I can tell you that best practice with Wordpress development is to use as few plugins as possible. Actually, funny thing is that the reason I'm on this page is because I've been using a wordpress plugin to insert GTM onto a Betheme site ("Insert Headers and Footers") and was checking to see if there was a way to handle GTM injection via default Betheme. Turns out there is. 

    I appreciate paderdeko posting the solution. Super helpful. I'm doing that now and will then deactivate the Insert Headers and Footers plugin. Once I've confirmed that GTM is functional on the site I'll then delete the plugin. I'm trying to reduce the number of plugins active and installed on my site(s).
  • Hi, what about the javascript? Where should I put that?
  • Please sign in to see answear!
  • Hi,

    I tried adding the Google Tag Manager script by following both of the two options suggested in this thread: 

    1. Design - Theme Options - Global - Hooks - Top
    2. javascript can be pasted in theme options>custom css&js>JS

    It does not seem to work, I can't see the tags in the Google Tag Assistant. Are there any other solutions?


Sign In or Register to comment.