diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
index 9a7d686b..08c38e13 100644
--- a/doc/_templates/layout.html
+++ b/doc/_templates/layout.html
@@ -5,6 +5,15 @@
+{# Google Analytics #}
+
{% endblock %}
{%- macro searchform(classes, button) %}
@@ -123,17 +132,6 @@
{% block footer %}
{{ super() }}
-
{# Placed at the end of the document so the pages load faster. #}
-
-
{% endblock %}