• Resolved maxiec

    (@maxiec)


    Hello. Google tag manager asks me to put code in the BODY, and your plugin does not have, only header and footer. Does it work or not for GTM?

Viewing 1 replies (of 1 total)
  • Plugin Author DraftPress Team

    (@draftpress)

    Hi @maxiec – Most of the site’s pages do not have the WP hook/function for the_content. Only single posts/pages and single posts of custom post types would have a the_content hook for the plugin to actually identify and place the snippet. Otherwise, it would fail on almost all of your site’s pages as most themes do not have this function on non-single posts/pages.

    If you want your snippet inside of the body tag then you will have to select the pages only. It would be easier if you create a unique tag/category and then use that category to apply the snippet.

    Thank you.

Viewing 1 replies (of 1 total)
  • The topic ‘Google tag manager’ is closed to new replies.