• Resolved hfard

    (@hfard)


    adding “Google Tag Manager (noscript)” in the body does not insert the code in <body> at all for https://ignytegroup.com/.
    It does insert “Google Tag Manager” code snippet in the <head> but Body does not work. Please help!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @hfard,

    I think your site is using a custom theme – can you please make sure that the header.php file is calling wp_body_open after the opening body tag?

    WPCode uses that hook to output “body” code but not all themes include that by default.

    Thread Starter hfard

    (@hfard)

    Hi @gripgrip – you’re right header.php does not call that. does that mean I can’t use your plugin? what are my options?

    Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @hfard,

    Since it’s a custom theme you can either add the wp_open_body function after the opening body tag or ask your theme developer to do it.

    Without that, there’s no hook to output the body data there.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Code Snippet doesn’t insert in the body’ is closed to new replies.