One script tag. Google Consent Mode v2 built in. Pro blocks scripts until consent is granted.
<script src="https://www.safebanner.com/safebanner.js"></script>Using SafeBanner on a client or production site?
Pro blocks marked analytics and marketing scripts until consent.
OneTrust is for enterprises. Cookiebot is slow and expensive. Most free scripts are abandoned. SafeBanner is a maintained, open source consent tool that takes 2 minutes to install. Free shows the banner. Pro enforces consent by blocking scripts until approval.
No build step. Works with any stack.
Colors, position, text. Or use defaults.
Consent stored. Google signals sent automatically.
Audit the code yourself. No black boxes.
~6kb gzipped. No external dependencies.
GDPR opt-in by default. Consent persists. Google gets the signal.
Free tier runs entirely client-side.
SafeBanner handles consent and enforcement. It doesn't:
SafeBanner manages consent on the site itself. No hosted consent records, no data processor relationship, no subprocessor complexity.
You stay in control. SafeBanner exposes consent state via API. Check hasConsentFor('analytics') before loading your trackers, or use Pro script blocking to activate marked scripts after consent.
Free gives you a working consent banner with Google Consent Mode v2. Pro blocks scripts until consent, re-prompts after expiry, and removes SafeBanner branding.
$0
$15/mo
SafeBanner helps you capture consent choices and send Google Consent Mode v2 signals, but it is not legal advice and it does not act as your hosted system of record. Consent stays on the site itself, not in a SafeBanner dashboard.
Yes. Free gives you a working consent banner with Google Consent Mode v2 — no limits, no account. Pro ($15/mo) adds consent enforcement: block scripts until approval, re-prompt after expiry, remove branding, and customize everything. Nothing in Free stops working if you never upgrade.
Yes. MIT license. Run it on your own infra.
Yes. It's a single script tag. Works everywhere.
Consent is stored in the user's browser. SafeBanner does not store hosted consent records or act as a compliance system of record — that keeps your setup simple and your liability low. If you need server-side audit trails, your own backend is the right place to capture and own that data.
One script tag. Works with any stack. No account, no dashboard, no bloat.