Hey,
I’m installing the google manager tag.
Google recommends to add the code right after the opening body tag <body>.
I’m using the following plugin https://wordpress.org/plugins/duracelltomi-google-tag-manager/ where you can chose the plugin to add the code or custom install after the body tag.
I want to install it after the body tag because google recommends this.But I don’t want to change my template core files so what hook can I use for this in the function.php?
This would be the code I need to paste
<?php if ( function_exists( ‘gtm4wp_the_gtm_tag’ ) ) { gtm4wp_the_gtm_tag(); } ?>
Thanks