A cookie banner that actually blocks.
Melon Consent technically stops Google Analytics, YouTube & Maps until your visitors consent. No cloud, no subscription, no telemetry.
100% open source (GPL) · Free forever · No cloud · Made in Germany
Most cookie banners only display a notice — the tracking scripts load anyway. That's not just pointless, it's a risk.
How it works
Real blocking instead of a mere notice — in three steps.
Block in the HTML
Melon Consent neutralizes tracking scripts and embeds while the page is served — they never get loaded in the first place.
Your visitor decides
The banner asks clearly and honestly. No dark patterns — a real choice for your visitors.
Client-side activation
Only after consent are services activated in the browser — instantly, without reloading the page.
Verify it yourself in your browser's network tab: zero requests to Google before consent.
Everything you need
Six reasons Melon Consent is the lightweight alternative.
Google Consent Mode v2
Strict mode by default: signals are set correctly, and nothing loads without consent.
YouTube & Maps blocked
Elegant placeholders instead of third-party requests. With "load once" for individual embeds.
4 layouts, 5 design presets
Card, bar and more — customizable with a live preview right in your WordPress admin.
Cache & CDN safe
Works with any page cache and CDN — no cache variants, no exceptions.
Accessible
Keyboard operation, focus trap and WCAG-oriented contrast from the start.
English + German
Fully translated, compatible with WPML and Polylang for multilingual sites.
Melon Consent vs. typical premium CMPs
The honest comparison — no names, just facts.
| Criterion | Melon Consent | Typical premium CMPs |
|---|---|---|
| Price | $0 | $10–50/month |
| Pageview limits | None | Tiered |
| Cloud dependency | None | Required |
| Account required | No | Yes |
| Telemetry | None | Common |
| Real script blocking | Yes | Partial |
| Data stays on your server | Yes | No |
| Open source | Yes (GPL) | Rarely |
Built for developers
A JavaScript API via window.MelonConsent, PHP hooks, shortcodes and custom service rules. Block your own services with a few lines.
- CustomEvents for consent, revocation and service activation
- PHP filters for custom service definitions and blocking rules
- Shortcodes for a settings link & manual consent wrappers
Frequently asked questions
Is it really free?+
Yes. Melon Consent is 100% free and open source (GPL). There is no pro version, no limits and no hidden costs.
Does it make my site automatically legally compliant?+
Honest answer: no. Melon Consent is the clean technical implementation — which texts and categories you need is a question for legal advice. No plugin in the world can guarantee legal compliance.
Does it work with caching plugins?+
Yes. Blocking is designed so cached pages work correctly for every visitor — without cache variants, with any page cache and CDN.
What happens to YouTube videos?+
An elegant placeholder appears instead of the video. Only when the visitor consents (permanently or via "load once") is the video loaded from YouTube — using the privacy-enhanced player.
Does it support Google Consent Mode v2?+
Yes, with strict mode as the default: without consent no Google scripts are loaded and all consent signals are correctly set to "denied".
Does the plugin send any data to you?+
No. No telemetry, no phoning home, no external requests. All consent data stays on your server — and your visitors' decisions stay in their browsers.
Block tracking for real — not just on paper.
Download free on WordPress.orgSet up in 2 minutes. No registration.