Streaming live at 10am (PST)

Paste this code immediately after the opening <body> tag

Hello Weblfow,

I’m trying to instal the Google Tag Manager on my webflow website, but it requires to write a tiny code immediately after the opening body tag and not before like it is now allowed within webflow settings.

How can I do that ?

PS this is the code I need to paste:

@anthonysalamin to place custom code immediately inside the opening body tag what you can do is place an html-embed element on your page and make it the very first element. Now you can place the custom code inside of this element.

awesome, thank you for your help !!

By the way that’s not a solution for this problem. after doing this, I am getting this error and you can also check the source code, the script will not be just after tag…

It will be just like < body >< div class=“embed” >< script > here< / div > so google tag manager should be just after no other extra tag after body.
image
image