Google tag manager add to Body

Home Forums Legacy Support Support queries How-to & Troubleshooting Google tag manager add to Body

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #222067
    squallhajime
    Spectator
    Dear support, I need to add the second <!-- Google Tag Manager --> code immediately after the opening <body> tag. Please advise.
    #222068
    squallhajime
    Spectator
    This reply has been marked as private.
    #222137
    logan
    Member
    Hello, follow these steps:
    1. check your header style first,
    2. suppose this is transparent header style.
    3. then go to wp-admin >> themes >> theme editor >> header-transparent.php (you could use FTP also)
    4. add GTM code and check if it works.
    refer: http://somup.com/cqjIi2erQf
    #222226
    squallhajime
    Spectator
    Hello support, It is not appearing after adding.
    #222227
    squallhajime
    Spectator
    This reply has been marked as private.
    #222287
    Diana
    Participant
    @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
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Google tag manager add to Body’ is closed to new replies.