Live demo
Pick a tenant in the top-right to load its banner. The widget is loaded from/api/cmp/<publicId>/cmp.js and renders inside a Shadow DOM, isolated from the host page styles.
A few notes
- The banner appears once per browser per consent state. Use “Reset consent” to see it again.
- Use your browser dev tools to confirm
window.gtag('consent','default',…)fired before the widget initialised. - All consent records are appended to the database immutably.