From bdc4ee3ed569513cf5bca8dc2e930ea0b8a2f0f7 Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Wed, 6 May 2026 23:11:40 +0300 Subject: docs(cookiebot): document the Cookiebot \xe2\x86\x92 Consent Mode v2 update path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make the external dependency explicit in the template comment: Cookiebot's `uc.js` with `data-blockingmode="auto"` automatically pushes `gtag('consent','update', …)` into the dataLayer when the visitor accepts/declines categories. No in-repo update logic is needed; category mapping happens in the Cookiebot admin UI. Addresses Copilot review feedback on PR #1872. \xf0\x9f\xa4\x96 Generated by [robots](https://vyos.io) --- docs/_templates/layout.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 3abb3413..4cd4e352 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -8,7 +8,12 @@ data-blockingmode="auto" type="text/javascript"> - {# Google Consent Mode v2 defaults — deny everything until Cookiebot fires the update #} + {# Google Consent Mode v2 defaults — deny everything until Cookiebot + fires the consent update. Cookiebot's uc.js with data-blockingmode="auto" + automatically pushes gtag('consent','update', …) into dataLayer when + the visitor accepts/declines categories in the CMP banner; no in-repo + update logic is required. Categories are mapped via the Cookiebot + admin UI, not here. See https://www.cookiebot.com/en/google-consent-mode/ #}