Merge pull request #142 from rhyven/patch-1
Fix Google Tag Manager targets
This commit is contained in:
commit
fc0724e495
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
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;
|
||||
j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;
|
||||
f.parentNode.insertBefore(j,f);
|
||||
})(window,document,'script','dataLayer','{{ GOOGLE_TAG_MANAGER }}');
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!-- Google Tag Manager -->
|
||||
<noscript>
|
||||
<iframe src="//www.googletagmanager.com/ns.html?id={{ GOOGLE_TAG_MANAGER }}" height="0" width="0" style="display:none;visibility:hidden"></iframe>
|
||||
<iframe src="https://www.googletagmanager.com/ns.html?id={{ GOOGLE_TAG_MANAGER }}" height="0" width="0" style="display:none;visibility:hidden"></iframe>
|
||||
</noscript>
|
||||
<!-- End Google Tag Manager -->
|
||||
|
|
Loading…
Reference in a new issue