Hi @marketingsog,
All these ‘warnings’ are not the cause of ads conversions not tracking. GTM is loading correctly, could you tell me when the ads conversion should trigger and if you have an exception or trigger event with a Complianz variable?
Regarding the warnings;
I see the warning “<script> tag must not be included in a <div>”, but there’s no evidence in the source that this is the case as it injected without any HTML elements.
The script element itself is not editable. You can however, in the wizard under Consent – Statistics Configuration – answer NO to the question if Complianz should add the script, and add it yourself as you wish. This would resolve the other issues, which I don’t consider a problem;
Setting GTM as a direct child of <head> means you will load GTM before your website is even interactive or sometimes visible. There’s no benefit if your tags are waiting for consent settings or interaction; it will only start a request that can wait.
The <noscript> tag is a fallback when javascript is not available. This means everything related to javascript, including your ads, Complianz and other plugins and theme features, will fail, but GTM will still fire. As this is a very rare occurrence, and when it happens, it will collect skewed data that doesn’t represent your website there’s no real reason to add a fallback. Both of the above recommendations benefit Google more than it benefits you.
But you can add this yourself as shown above. Let me know if I can help with the conversion tag. regards Aert