From 0b4b22e9ae88e73a3f3b8407a1bdbf0ed4c3a735 Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Sun, 3 May 2026 01:18:23 +0300 Subject: feat(docs): add Cookiebot CMP and GTM with Consent Mode v2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inject Cookiebot CMP, Google Consent Mode v2 defaults, and Google Tag Manager into the Sphinx layout. Cookiebot loads first so its auto-blocker can scan and block other tags before they execute; Consent Mode v2 starts denied for all categories except security_storage and updates only after Cookiebot fires the consent update. 🤖 Generated by [robots](https://vyos.io) --- docs/_templates/layout.html | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'docs') diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 30a53d56..ca72005d 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -1,6 +1,37 @@ {% extends "!layout.html" %} {%- set current_version = "1.4.x sagitta" %} {% block extrahead %} + {# Cookiebot CMP — must load first so its auto-blocker can scan/block other tags #} + + + {# Google Consent Mode v2 defaults — deny everything until Cookiebot fires the update #} + + + {# Google Tag Manager #} + + @@ -30,3 +61,10 @@ {% endblock %} + +{% block body %} + {# GTM noscript fallback #} + + {{ super() }} +{% endblock %} -- cgit v1.2.3