Craft SeoMatic GTM  disable on 404 pages I want to disable google tag manager on 404 templates, I am able to add the additional condition for the script "Google Tag Manager Settings"


It has stopped GTM script code, but &lt;noscript&gt; tracking is still rendering on the page.



Is their way inside plugin options/SeoMatic template variable, soi can hide &lt;noscript&gt; code as well on specific pages
SEOmatic author here -- what version of SEOmatic are you using? I think the best way to do this would be to just disable the container from being included in your 404 Twig template:

{% do seomatic.script.get('googleTagManager').include(false) %}


As per: https://github.com/nystudio107/craft-seomatic#google-tag-manager