GTM directly after <body> via template-hooks

adchased

Member
Hello everyone,

I just created an add-on for template-hooks making use of the body-hook.

Unfortunately I need the additional content to be DIRECTLY after the <body> but at the moment it is enqueued just before the </body>.

btw: the code I try to implement is the Google Tag Manager - according to Google the code has to be placed exactly after the opening body-tag.

Is there a way I can do this using hooks?

Thanks for your help in advance!
 
Thanks your reply!

If it's in any way possible to avoid modifying a template, we would appreciate it due to updates :-)
 
Back
Top Bottom