Hello There,
Thanks for writing in!
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released.
Please add following code in child theme’s functions.php file:
function my_custom_footer_output() {
?>
... Tag manager code here...
<?php
}
add_action( 'wp_footer', 'my_custom_footer_output', 99999 );
Note: Replace ” … Tag manager code here…” with Google tag manager code.
Thanks.