Frequently Asked Questions

Answers to the most common questions about ConsentBadge

General

ConsentBadge is a free visual cookie consent banner editor. It allows you to create a GDPR-compliant banner with Google Consent Mode v2 support without writing code.

Yes, ConsentBadge is 100% free with no limitations. No registration, no limits on the number of banners.

No. ConsentBadge runs entirely in the browser. Your configuration is saved to localStorage, no data is sent to any server.

Built-in support for Czech, English and Slovak. You can add any other language (German, Polish, Hungarian, French, etc.).

Yes. You can use the generated code on any website without restrictions — personal, business, or e-commerce.

Yes. The banner automatically adapts to screen size — it appears as a bottom sheet on mobile and a modal window on desktop.

Technical

Typically 15–30 KB (HTML + CSS + JS). The code has no external dependencies — no libraries, no CDN.

Yes. In the Advanced section you can enable dark mode and set custom colors for the dark theme. The banner automatically responds to prefers-color-scheme.

Google Consent Mode v2 is an API that communicates user consent state to Google services (Analytics, Ads). ConsentBadge automatically sends consent default and consent update signals.

A standalone HTML file containing CSS, HTML and JavaScript in one. ES5 compatible — works in all modern browsers.

Yes. You can save the configuration as a JSON file and reload it anytime. Drag & drop import is also supported.

Yes. Ctrl+Z for undo, Ctrl+Shift+Z for redo. History keeps the last 50 changes.

GDPR & Legal

The banner includes mechanisms required by GDPR — granular category selection, reject all option, consent stored in cookie. Specific implementation and texts should be reviewed by a lawyer for your use case.

Consent is stored in a cookie in the format groups=cat1:cat2&datestamp=X&version=X. The cookie is SameSite=Lax with the Secure flag.

Yes. Besides the default categories (essential, analytical, preferences, marketing), you can add any number of custom categories.

Optionally, you can configure a server endpoint where consent records are sent for audit purposes. This is an advanced feature for companies that need centralized consent tracking.

Deployment & GTM

Create a new Custom HTML tag, paste the generated code, and set the trigger to Consent Initialization - All Pages. After publishing the container, the banner will appear on all pages.

Yes. Copy the generated code and paste it before the closing </body> tag of your page. GTM is not required.

Simply generate new code in the builder and replace the old tag in GTM. If a user already gave consent and the cookie version hasn't changed, the banner won't show again.

In the builder you can see a live preview. After deploying to GTM, use Preview mode to test on your site before publishing.