Changes to move Google Tag Manager into <head> tag, while leaving the noscript section in the <body> tag.

This commit is contained in:
Eric Light 2017-09-20 21:09:42 +12:00
parent de64f4bd8b
commit c10e10e047
3 changed files with 9 additions and 4 deletions

View file

@ -1,7 +1,4 @@
<!-- 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>
</noscript>
<script>
(function(w,d,s,l,i){
w[l]=w[l]||[];

View file

@ -0,0 +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>
</noscript>
<!-- End Google Tag Manager -->