How to ensure script follows immediately after <body> tag and not before </body> tag? #6411
Replies: 1 comment
-
Hello, As for an exact solution you'd have to override the Overriding the However, you could attempt to override it dynamically during docs build: |
Beta Was this translation helpful? Give feedback.
-
I used a suggestion found here #5607 (reply in thread) to add a Google Tag Manager script to my Materials project. It worked, except the override in main.html placed the script just before the closing body tag. However, it should be placed immediately after the opening body tag. I don't know how to do this without making a mess of the project.
The GTM instructions are here: Google Tag Manager Support
Thanks for any assistance or suggestions.
Beta Was this translation helpful? Give feedback.
All reactions