Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • regin Friend
    #201335

    Hi

    I need to place the Google tag manger tag in my code.

    I followed: http://www.joomlart.com/documentation/joomla-faqs/add-google-analytics

    Problem is, that Google want me to place the Google tag manager AFTER the <body> tag:

    FROM GTM: “Your container is ready to be added to your site.
    Copy the code below and paste it onto every page of your website. Place it immediately after the opening <body> tag. For more information about installing the Google Tag Manager snippet, visit our developer documents.”

    Right now the tag is placed:

    </script>

    <!– You can add Google Analytics here–>
    <!– Google Tag Manager –>
    <noscript><iframe src=”//www.googletagmanager.com/ns.html?id=GTM-WLX5QD”
    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-WLX5QD’);</script>
    <!– End Google Tag Manager –> </head>

    <body>

    <!– MAIN NAVIGATION –>
    <nav id=”t3-mainnav” class=”wrap t3-mainnav navbar-collapse-fixed-top”>

    So… how do I place the Tag after the <body> tag?

    Regards,
    Regin

    John Wesley Brett Moderator
    #549577

    Very easily.

    In your Administrator area goto:

    EXTENSIONS > TEMPLATES > (Open your Default Template) > CUSTOM CODE tab

    And in there you will see AFTER <BODY>

    Save and enjoy!

    John.
    Have fun!

    regin Friend
    #549584

    THANKS!

    And yes, that was easy! 🙂

    Have an nice day 🙂 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  regin 9 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum