Fix JS .src target

This commit is contained in:
Eric Light 2018-01-06 16:09:16 +13:00 committed by GitHub
parent c945316793
commit f9c6297eae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'}); 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:''; var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';
j.async=true; 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); f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','{{ GOOGLE_TAG_MANAGER }}'); })(window,document,'script','dataLayer','{{ GOOGLE_TAG_MANAGER }}');
</script> </script>