diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-06 23:11:40 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-07 18:23:30 +0300 |
| commit | bdc4ee3ed569513cf5bca8dc2e930ea0b8a2f0f7 (patch) | |
| tree | 92f56a82a13d69642606c4e000fc210236f64a0f /docs/_templates/layout.html | |
| parent | a5057c9f314b8413bfca452c228165127ed79bcf (diff) | |
| download | vyos-documentation-bdc4ee3ed569513cf5bca8dc2e930ea0b8a2f0f7.tar.gz vyos-documentation-bdc4ee3ed569513cf5bca8dc2e930ea0b8a2f0f7.zip | |
docs(cookiebot): document the Cookiebot \xe2\x86\x92 Consent Mode v2 update path
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)
Diffstat (limited to 'docs/_templates/layout.html')
| -rw-r--r-- | docs/_templates/layout.html | 7 |
1 files changed, 6 insertions, 1 deletions
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"></script> - {# 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/ #} <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} |
