• Hi Tom,

    Yesterday I tried for several hours to use a plugin, but I don’t think I did it correctly. My website is insuranceclaimsadjuster.net

    I write that I don’t think that I did it correctly because I checked my Google Analytics Account and it says that tracking is not installed.

    I added your code below after the body tag to keep Google Tag Manager from showing at the footer.

    Here is a copy of how I added your to the header template:

    <body itemtype=”https://schema.org/WebPage” itemscope=”itemscope” <?php body_class(); ?>>
    <?php if ( function_exists( ‘gtm4wp_the_gtm_tag’ ) ) { gtm4wp_the_gtm_tag(); } ?>
    <?php do_action( ‘generate_before_header’ ); ?>
    <header itemtype=”https://schema.org/WPHeader” itemscope=”itemscope” id=”masthead” role=”banner” <?php generate_header_class(); ?>>

    Did I do this correctly? Was that the correct body tag? I am rather new at using html and css. Could you please be detailed in your response? Is there any other information I can give you to make a correction?

    Thank you very much!

    Randy

    https://www.ads-software.com/plugins/duracelltomi-google-tag-manager/

Viewing 1 replies (of 1 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi Randy,

    That should work, the code you provided is exactly what we have to see in the source.

    GA sometimes reports a missing tracking code because it does not recognize GA inside GTM and also around 24 hours has to happen until the message is updated.

    Cheers,
    Thomas

Viewing 1 replies (of 1 total)
  • The topic ‘Is my code location the problem?’ is closed to new replies.