Viewing 2 replies - 1 through 2 (of 2 total)
  • You put the code in the child theme….header.php
    after <body>

    That’s what he said in one of the support comments.

    <?php if ( function_exists( ‘gtm4wp_the_gtm_tag’ ) ) { gtm4wp_the_gtm_tag(); } ?>

    Plugin Author Thomas Geiger

    (@duracelltomi)

    That is right, you only need to edit your header.php as alexisyfido said.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding tag manager PHP to child theme’ is closed to new replies.