Move new GA code into the head tag

The new Google Analytics JavaScript is now placed at the end of the
HTML HEAD tag in the included themes.
This commit is contained in:
brent.bb
2016-09-27 19:53:30 -04:00
parent beeb78177f
commit 66386b280d
3 changed files with 3 additions and 3 deletions

View File

@@ -18,6 +18,7 @@
</style>
{% endif %}
{% endblock %}
{% include 'analytics.html' %}
</head>
<body>
{% include 'gtm.html' %}
@@ -46,7 +47,6 @@
</div>
{% block footer %}{% endblock %}
{% include 'analytics.html' %}
{% include 'piwik.html' %}
</body>
</html>

View File

@@ -27,6 +27,7 @@
<style type="text/css">
</style>
{% endif %}
{% include 'analytics.html' %}
</head>
<body>
{% include 'gtm.html' %}
@@ -304,7 +305,6 @@
</script>
{% endif %}
{% include 'analytics.html' %}
{% include 'piwik.html' %}
</body>
</html>

View File

@@ -14,6 +14,7 @@
<script src="{{ theme.url }}/photoswipe-ui-default.min.js"></script>
<script src="{{ theme.url }}/echo/echo.min.js"></script>
{% endblock %}
{% include 'analytics.html' %}
</head>
<body>
{% include 'gtm.html' %}
@@ -397,7 +398,6 @@
{% endif %}
{% endblock %}
</div>
{% include 'analytics.html' %}
{% include 'piwik.html' %}
</body>
</html>