diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
index ed7851bdef..6141284a48 100644
--- a/doc/_templates/layout.html
+++ b/doc/_templates/layout.html
@@ -4,14 +4,14 @@
{% if theme_googletag %}
-
+ })(window,document,'script','dataLayer','GTM-GDFN');
{% endif %}