• Resolved Jon Dingman

    (@jdingman)


    Great plugin, I’m a huge fan and already bought the pro version.

    Is there a way to add code immediately after the opening body tag?

    TIA

Viewing 1 replies (of 1 total)
  • Plugin Author Diana Burduja

    (@diana_burduja)

    Hi,

    WordPress allows you to insert code only in specific places. Those places are called hooks. Here you can find the list of available hooks.

    Unfortunately there is no hook immediately after the <body> tag.

    But you can simply insert the Google Tag Manager in the footer. I know that the Developer Guide recommends to have it after the <body> tag, but it works also in the footer.

Viewing 1 replies (of 1 total)
  • The topic ‘Add JS after opening body tag’ is closed to new replies.