I have a WordPress site using the Google Tag Manager plugin.
I have a valid Google Tag Manager ID, My container code is set to ON, and I have chosen “Manually code” in Container code compatibility mode:
I have entered the provided code snippet under after the opening <body>
tag in the /themes/Divi-Child/header.php file like this:
/wp-content/themes/Divi-Child/header.php
<body <?php body_class(); ?>>
<?php if ( function_exists( 'gtm4wp_the_gtm_tag' ) ) { gtm4wp_the_gtm_tag(); } ?>
When I inspect the DOM, I see the ID for the Google Tag directly under the body (the id is marked over in RED in this screenshot), but I also see another Google Tag below that one (id is marked out in BLUE). I am not sure where this other ID is coming from and I would like to remove it. Any thoughts on where this could be?