Ready to get started?Download WordPress


Google Tag Manager
thank you, but please place higher (2 posts)

2 stars
  1. danbarker
    Posted 1 year ago #

    the plugin functions, but places the tag manager javascript quite far down the page. It should ideally be immediately after the opening <body> tag.

    thanks for the effort though!


  2. George Stephanis
    Automattic Lead Code Monkey
    Plugin Author

    Posted 1 year ago #

    Hey Dan,

    Unfortunately, WordPress doesn't have any hooks that display right after the body opening tag, so the options then are either display it in the footer, or have people modify their theme to add a custom function call right after body start -- at which point, why not just paste in the GTM code?

    Seems kinda silly to me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.