Cookie ConfiguratorOnline

GTM-ready cookie banner

Click together the cookie banner look, see a live preview, and copy the ready-made Google Tag Manager snippet.

Live preview

Banner will appear directly on this page.

Main settings

Colors

GTM snippet

<script>
window.cmpConfig = {
  "style": {
    "primaryColor": "#DD7D10",
    "primaryTextColor": "#FFFFFF",
    "secondaryColor": "#CBE1B9",
    "secondaryTextColor": "#0C342C",
    "backgroundColor": "#FFFFFF",
    "textColor": "#0C342C"
  }
};
</script>
<script src="https://cdn.jsdelivr.net/gh/SmoothNCool/cmp-lite@v0.5.1/dist/cmp.min.js"></script>

Paste this code into a Custom HTML tag in GTM with the Consent Initialization trigger.

Consent Mode V2

The banner sends all 7 Google Consent Mode V2 signals to dataLayer. Works with GA4 and Google Ads.

Visitor privacy

No backend, no third-party services. Consent is stored only in a cookie on your site.

Lightweight

Less than 6 kB gzipped, no dependencies. Loads asynchronously, doesn't block page rendering.

Newsletter

Be first to try a new tool

Subscribe and get notifications about new tools and digital marketing tips. No spam, unsubscribe anytime.

By submitting you agree to receive newsletter e-mails. You can unsubscribe anytime.