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

@ -79,10 +79,13 @@
});
</script>
{% endif %}
{% if GOOGLE_TAG_MANAGER %}
{% include "partial/gtm.html" %}
{% endif %}
</head>
<body>
{% if GOOGLE_TAG_MANAGER %}
{% include "partial/gtm.html" %}
{% include "partial/gtm_noscript.html" %}
{% endif %}
<aside>
<div>