{% comment %} Google Consent Mode v2. Include it in BEFORE any tag manager snippet: {% include "tripaulx/site/consent_mode.html" %} Analytics and ads storage start DENIED; functionality and security (session, CSRF, the choice itself) are granted. The cookie banner stores the choice in localStorage "cookies_accepted" ("true" = accept all, "false" = essentials only) and calls gtag("consent", "update", {...}). It defines the window.dataLayer / gtag stub the banner and the tags rely on. {% endcomment %}