Jump to content

Google Tag Assistant Error


Recommended Posts


i want connect google tag manager to my website www.vahidkala.com , after creating google tag manager account i copied code to header.tpl

<html{if isset($language_code) && $language_code} lang="{$language_code|escape:'html':'UTF-8'}"{/if}>
            <!-- Google Tag Manager -->

                            new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
            <!-- End Google Tag Manager -->


as u see i put it correctly but i got error in tag assistant google chrom extension

GTM JavaScript code not found as a direct child of the <head> tag


please sombody help  what can i do??

thank you

Edited by dvd2org (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...