GTM Server side blocking
-
Hi there,
We are using the plugin on a new site. We have the standard GTM head and body code on our site except the domain is custom first party so:
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
j.src='https://domain.be/som/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NDPN2SS');</script>
<!-- End Google Tag Manager -->The WPconsent plugin does not seem to scan this and configure it. Thus not activation consent mode.
Is there a way to get it working with these server side configs?
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.