diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index ace75837..fa0396cf 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -89,6 +89,7 @@
})(window,document,'script','dataLayer','{{ theme_analytics_id }}');
+
{%- endif %}
{%- if not embedded %}