You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using inline script in head layout appears to suppress any custom html
Environment
MacOS RC2
Minimal Reproduction
I added some custom meta tags in layout.html
<head> <meta name='foo' content='bar'/> </head>
This gets appended to the autogenerated content of head, which is great. When I try to add an inline script for googletagmanager, as in
<script>window.datalayer = 'etc'</script>
the head is rendered as default, without script or my custom meta foo. So I can't inject Google Analytics to the site. Is there a workaround or solution?
The text was updated successfully, but these errors were encountered:
I don't think it will be possible to use plain <script> tags without the type property using the current model, because plain <script> tags get interpreted as component script (afaik).
Uh oh!
There was an error while loading. Please reload this page.
Describe the Bug
Using inline script in head layout appears to suppress any custom html
Environment
MacOS RC2
Minimal Reproduction
I added some custom meta tags in layout.html
This gets appended to the autogenerated content of head, which is great. When I try to add an inline script for googletagmanager, as in
the head is rendered as default, without script or my custom meta foo. So I can't inject Google Analytics to the site. Is there a workaround or solution?
The text was updated successfully, but these errors were encountered: