Dear support,
I need to add the second <!-- Google Tag Manager --> code immediately after the opening <body> tag.
Please advise.
This reply has been marked as private.
Hello,
follow these steps:
- check your header style first,
- suppose this is transparent header style.
- then go to wp-admin >> themes >> theme editor >> header-transparent.php (you could use FTP also)
- add GTM code and check if it works.
refer:
http://somup.com/cqjIi2erQf
Hello support,
It is not appearing after adding.
This reply has been marked as private.
@squallhajime
add_action('wp_head', 'your_function_name');
function your_function_name(){
?>
<script>your code here</script>
<?php
}
Add this code in the customizer plugin and check whether it works or not