Is my code location the problem?
-
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/
- The topic ‘Is my code location the problem?’ is closed to new replies.