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.

1

Block in the HTML

Melon Consent neutralizes tracking scripts and embeds while the page is served — they never get loaded in the first place.

2

Your visitor decides

The banner asks clearly and honestly. No dark patterns — a real choice for your visitors.

3

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.

v2

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.

EN

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.

CriterionMelon ConsentTypical premium CMPs
Price$0$10–50/month
Pageview limitsNoneTiered
Cloud dependencyNoneRequired
Account requiredNoYes
TelemetryNoneCommon
Real script blockingYesPartial
Data stays on your serverYesNo
Open sourceYes (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
// React to a service being activated
document.addEventListener('melonConsentServiceLoaded', (e) => {
if (e.detail.service === 'youtube') initPlayerUi();
});
// Wrap any embed in a consent placeholder (shortcode)
[melon_consent_content service="openstreetmap"]
<!-- your map embed -->
[/melon_consent_content]

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.org

Set up in 2 minutes. No registration.