GDPR cookie consent banner - free, no code
Drop a compliant cookie consent banner on your site in minutes. Load Google Tag Manager (or any analytics) only after the visitor accepts. Customize colors and copy.


GDPR / CCPA-ready consent banner
Why teams pick this
Pre-built banner
GDPR-friendly Cookie Banner template with Accept and Decline buttons, ready to drop in.
Load scripts after consent
Use the FloatMessage JavaScript API to load Google Tag Manager (or any tracker) only when the visitor clicks Accept.
Persistent dismissal
Once a visitor accepts or declines, the banner remembers their choice and never shows again unless you change settings.
Customizable
Edit copy, colors, and button labels to match your brand. Add a privacy policy link in one click.
How it works
Pick the Cookie Banner template
Create a new floating message and choose the Cookie Banner template.
Customize copy
Edit the message and link to your privacy policy. Set dismiss behavior to 'Permanent'.
Wire up GTM
Use FloatMessage.on('cta:click') to load Google Tag Manager when the visitor clicks Accept. Full code in the guide.
Built for these use cases
Use case 1
GDPR compliance
Meet EU cookie law without paying for a CMP. Show a banner, get explicit consent, log the choice.
Use case 2
CCPA compliance
Comply with California Consumer Privacy Act with the same banner. Opt-out instead of opt-in if needed.
Use case 3
Analytics gating
Don't fire Google Analytics, Meta Pixel, or any tracker until the visitor opts in. Keeps your hands clean.
Frequently asked questions
Is this GDPR-compliant?
Yes. The banner shows before any tracking scripts load, captures explicit consent, and remembers the choice. Combine with the JS API to gate Google Tag Manager.
Does it work with Google Tag Manager?
Yes. The recommended pattern: load GTM only after FloatMessage fires the cta:click event when a visitor accepts.
Can I customize the banner?
Yes. Edit the HTML and CSS in the visual editor. Change colors, copy, button labels, and link to your privacy policy.
Will the banner show on every page load?
Only until the visitor accepts or declines. Set dismiss behavior to 'Permanent' so it never shows again after their first choice.
Is it free?
Yes. Cookie banner is included on every FloatMessage plan, including the free 30-day trial. No add-on fees.
Can I show the consent banner only in the EU, UK, or California?
Yes. Combine the cookie banner with geo-targeting — show it only for visitors whose IP resolves to EU member states, the UK, or California (state-level on US traffic). Visitors outside those regions never see the banner, reducing friction where consent isn't required.
Does it gate analytics, advertising, and chat scripts separately?
Yes. Use the FloatMessage JS API events (cta:click) to load each tracking script independently after consent — Google Tag Manager, Meta Pixel, LinkedIn Insight, Hotjar, etc. You can also gate the FloatMessage chat / push subscription itself behind consent if your privacy posture requires it.
Does the banner record proof of consent for audits?
Yes. Each consent decision is timestamped on the visitor and exportable from the dashboard, satisfying the 'demonstrate consent' requirement under GDPR Art. 7. Combine with a webhook to forward consent events into your audit log.
Try cookie consent free for 30 days
No credit card required. Full access to every feature.
Start Free 30-Day TrialRelated features
Floating Messages
Popup Builder
Build website popups with 17 pre-made templates. Drag-and-drop editor, smart triggers, scheduling, and a one-line embed script. No code required.
Smart Targeting
Geo Targeting
Show different popups to visitors from different countries. Localize offers, comply with regional laws, and personalize messaging - no code required.
Forms & Feedback
Contact Forms
Add a popup contact form to any website. Built-in validation, webhook forwarding to Slack/Zapier, and a submissions inbox in your dashboard.
Smart Targeting
Device Targeting
Show floating messages and live chat only on the devices you choose. Target desktop, tablet, or mobile visitors - no code, no separate audiences.
Smart Targeting
Scheduling
Schedule website popups by day of week, time of day, or date range. Run flash sales, off-hours messages, and time-sensitive promotions automatically.