Closed maximilian-schwarz closed 4 months ago
There's no bug that I'm aware of, it should render things exactly where you tell it to.
However, an easier way to do this would probably be to leave Automatic Rendering on, and just modify the GA script listed in SEOmatic -> Tracking scripts to add your code above it.
Question
I want to change the sort order of scripts. Currently I would have to place a Javascript snippet before the Google Tag Manager script as described here. https://support.cookiebot.com/hc/en-us/articles/360016047000-Cookiebot-and-Google-Consent-Mode
Additional context
Currently i try to switch off the "Automatic Render Enabled". After switch off i defined the scripts like this:
But if i try to integrate the scripts manually, sometimes the scripts (output from {{ script.script|raw }}) is outside of the
<head></head>
tags. Is this a bug? Maybe there is a simple solution to add the snippet before the google tag manager.Thanks for your help :)