From 28c82acd75e6133f52b816be70fb271c722f11f4 Mon Sep 17 00:00:00 2001 From: blagoja Date: Wed, 4 Dec 2024 11:38:24 +0100 Subject: [PATCH] Restore the Google snippets --- ckanext/alisea/templates/base.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ckanext/alisea/templates/base.html b/ckanext/alisea/templates/base.html index ba7c16d..1c4cd07 100644 --- a/ckanext/alisea/templates/base.html +++ b/ckanext/alisea/templates/base.html @@ -10,4 +10,18 @@ registered inside webassets.yml file. #} {% asset 'alisea/alisea-css' %} +{% endblock %} + +{% block htmltag %} + {{ super() }} + {% block gtag %} + {% include 'snippets/gtm.html' %} + {% endblock %} +{% endblock %} + +{% block bodytag %} + {{ super() }} + {% block gtm %} + {% include 'snippets/gtm_noscript.html' %} + {% endblock %} {% endblock %} \ No newline at end of file