Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #378232

    Hi there,
    I am trying to place tag manager in enfold, and the spot in the enfold settings is the wrong location. I tried putting it into line 68 in the header php file, but it broke the design…. I am wondering if I am missing something, please help!
    Thanks
    Sina

    #378861

    Hey Sina!

    Can you please post the link to your website and a screenshot showing the changes you would like to make? You can upload your screenshots on imgur.com or Dropbox public folder and post the links here.

    Best regards,
    Yigit

    #381206
    This reply has been marked as private.
    #382551

    Hi Sina!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_script(){
    ?>
    // Google tag manager code goes here 
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    Cheers!
    Yigit

    #385022
    This reply has been marked as private.
    #385755

    Hi!

    Can you post your tag manager code using pastebin.com ?

    Cheers!
    Yigit

    #396284
    This reply has been marked as private.
    #396876

    Hi!

    You can place that code inside header.php, just below this line:

    <body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank); avia_markup_helper(array('context' => 'body')); ?>>
    

    Cheers!
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.