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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user