Okay
  Public Ticket #1091958
Google Tag Manager
Closed

Comments

  •  2
    Jon started the conversation

    Can you please show me exactly where to post the following:

    If you select 'Custom' you need to edit your template file and add the following line just after the opening <body> tag:
    <?php if ( function_exists( 'gtm4wp_the_gtm_tag' ) ) { gtm4wp_the_gtm_tag(); } ?>

    All examples online are either wrong or too vague. You can't paste this in header.php just underneath <head> you need to follow their instructions above and when I do so there is an ugly gray box added below header of my site. 

  •  8,999
    Tahir replied

    Hey Jon,

    The solution is to hide that box with css  . Its best to not edit the header.php file. Let me know the url so i can write up the css for you. 

    B.st 


    ThemeNectar Support Team