Live demo: the real banner, on this page
Nothing here is mocked. The script tag below is what you'd paste into your own site. Open the console to see Consent Mode and dataLayer events.
Blocked scripts
These two scripts are marked type="text/plain" and only run once you consent to their category. Watch the status flip.
Statistics script: blocked
Marketing script: blocked
Controls
The last button plants the cookie Cookiebot would have left (statistics on, marketing off) and reloads. Kindnod adopts it without showing the banner.
Events
waiting…
Cookiebot API shim
Existing code like this keeps working:
window.addEventListener('CookiebotOnAccept', function () {
if (Cookiebot.consent.statistics) { /* start analytics */ }
});
Cookiebot.consent right now:
…
Cookie declaration
Rendered from the config into <div id="KindnodDeclaration">: