diff options
Diffstat (limited to 'docs/_templates')
| -rw-r--r-- | docs/_templates/layout.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 2521026b..464e73f8 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -1,11 +1,11 @@ {% extends "!layout.html" %} {%- set current_version = "1.5.x circinus" %} {% block extrahead %} - {% if gtm_id %} + {% if gtm_id and cookiebot_id %} {# Cookiebot CMP — must load first so its auto-blocker can scan/block other tags #} <script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" - data-cbid="932cb8b9-5141-4dc9-9018-21fc31a0586f" + data-cbid="{{ cookiebot_id }}" data-blockingmode="auto" type="text/javascript"></script> @@ -64,7 +64,7 @@ {% endblock %} {% block body %} - {% if gtm_id %} + {% if gtm_id and cookiebot_id %} <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ gtm_id }}" height="0" width="0" style="display:none;visibility:hidden" title="Google Tag Manager"></iframe></noscript> |
