Block Tag Manager code
-
Hi,
there is the possibility to block the Google code tag manager? I did some tests using cn_cookies_accepted function but I can not. The manager tag code has this format:
<! – Google Tag Manager ->
<Noscript> <iframe src = “// http://www.googletagmanager.com/ns.html?id=GTM-XXXXXX”
height = “0” width = “0” style = “display: none; visibility: hidden ‘> </ iframe> </ noscript>
<Script> (function (w, d, s, l, i) {w [l] = w [t] || []; 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 =
‘//www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
}) (Window, document, ‘script’, ‘dataLayer’, ‘GTM-XXXXXX’); </ script>
<! – End Google Tag Manager ->Where can I add?
The topic ‘Block Tag Manager code’ is closed to new replies.