Title: Crumbler – Cookie Consent
Author: compresso
Published: <strong>22. juni, 2026</strong>
Last modified: 28. september, 2026

---

Søg plugins

![](https://ps.w.org/crumbler-cookie-consent/assets/banner-772x250.png?rev=3582180)

![](https://ps.w.org/crumbler-cookie-consent/assets/icon.svg?rev=3582180)

# Crumbler – Cookie Consent

 Af [compresso](https://profiles.wordpress.org/compresso/)

[Download](https://downloads.wordpress.org/plugin/crumbler-cookie-consent.1.1.0.zip)

 * [Detaljer](https://da.wordpress.org/plugins/crumbler-cookie-consent/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/crumbler-cookie-consent/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/crumbler-cookie-consent/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/crumbler-cookie-consent/#developers)

 [Support](https://wordpress.org/support/plugin/crumbler-cookie-consent/)

## Beskrivelse

Crumbler is a hosted cookie consent service. This free, open-source plugin is the
WordPress connector for it: enter your Site Key, enable the widget, done. The plugin
provides:

 * Cookie consent banner with configurable design
 * Automatic script blocking before consent
 * Automatic iframe blocking (e.g. YouTube, Google Maps)
 * Cookie cleanup for non-accepted categories
 * Google Consent Mode v2 support
 * Cookie declaration (Gutenberg block and shortcode) with all detected services
   and cookies
 * Multi-language support (DE, FR, IT, EN)

#### Free plugin, paid service (no trialware)

The plugin itself is free and completely open source — none of its functionality
is locked, time-limited or restricted to a paid tier. The cookie consent **service**
behind it (operated by Compresso AG) requires a Crumbler account and subscription;
a free trial is available. See **External services** below for exactly what data
is exchanged.

#### How it works

 1. Create an account at [crumbler.ch](https://crumbler.ch)
 2. Add your domain and copy the Site Key
 3. Install and activate this plugin
 4. Enter the Site Key under Settings > Crumbler
 5. Enable the widget — done!

The settings screen shows a live connection status, so you can see right away whether
your domain is set up and active in Crumbler.

### External services

This plugin connects your website to **Crumbler**, a hosted cookie consent service
operated by Compresso AG. The plugin is a free, open-source client; the service 
requires a Crumbler account and subscription (a free trial is available). The plugin
contains no locked or paid functionality.

The plugin does not contact the service until you enter a Site Key and enable the
widget. It communicates with the Crumbler service (cmp.compresso.ch) in three ways:

 1. **Consent widget script.** On every front-end page (once enabled and a Site Key
    is set) the plugin loads the consent widget from `https://cmp.compresso.ch/widget/
    cmp.min.js`. The widget renders the consent banner, blocks third-party scripts 
    and iframes before consent, applies Google Consent Mode v2, and records the visitor’s
    anonymised consent decision with the service. Data sent: your Site Key and the 
    visitor’s consent interaction.
 2. **Cookie declaration data.** When the cookie declaration block or shortcode is 
    displayed, the visitor’s browser requests the list of detected services and cookies
    from `https://cmp.compresso.ch/api/public/cookies`. Data sent: your Site Key and
    the requested language.
 3. **Connection status check.** On the plugin’s settings screen (administrators only),
    the plugin requests `https://cmp.compresso.ch/api/public/config` to show whether
    your domain is set up and active. Data sent: your Site Key and your site’s domain.
    The result is cached temporarily.

No data is sent to any party other than the Crumbler service.

 * Service provider: Compresso AG
 * Terms of Service: https://crumbler.ch/agb.php
 * Privacy Policy: https://crumbler.ch/datenschutz.php

### Credits

This plugin bundles the **Press Start 2P** font by Cody Boisclair, licensed under
the SIL Open Font License 1.1. The full license is included at `assets/fonts/Press-
Start-2P-OFL.txt`.

## Skærmbilleder

[⌊The Crumbler settings page: enter your Site Key and see the live connection status.⌉⌊
The Crumbler settings page: enter your Site Key and see the live connection status
.⌉[

The Crumbler settings page: enter your Site Key and see the live connection status.

[⌊The "Cookie Declaration" block in the block editor.⌉⌊The "Cookie Declaration" 
block in the block editor.⌉[

The “Cookie Declaration” block in the block editor.

[⌊The cookie declaration on the front end: intro text, the visitor's consent status
and the detected services grouped by category.⌉⌊The cookie declaration on the front
end: intro text, the visitor's consent status and the detected services grouped 
by category.⌉[

The cookie declaration on the front end: intro text, the visitor’s consent status
and the detected services grouped by category.

## Blokke

Dette plugin giver 1 blok.

 *   Cookie Declaration Displays the Crumbler cookie declaration with all detected
   services and cookies.

## Installation

 1. Upload the `crumbler-cookie-consent` folder to `/wp-content/plugins/`, or install
    the plugin through the WordPress Plugins screen.
 2. Activate the plugin through the “Plugins” menu in WordPress.
 3. Go to Settings > Crumbler.
 4. Enter your Site Key and enable the widget.

## FAQ

### Do I need a Crumbler account?

Yes. The plugin is the connector to the Crumbler service; the consent banner, blocking
and cookie declaration are provided by that service. You can start with a free trial
at [crumbler.ch](https://crumbler.ch).

### Where do I find the Site Key?

In your Crumbler dashboard, under the respective site. It is a UUID in the format`
af232e06-59c2-4810-b09d-7a2b25632d1b`.

### Do I need to manually tag scripts?

No. The widget automatically detects third-party scripts based on provider patterns
from the Crumbler database. You can also tag scripts manually:

    ```
    <script type="text/plain" data-cmp-category="analytics" data-cmp-src="https://example.com/script.js"></script>
    ```

### Does the plugin support Google Consent Mode v2?

Yes. The widget sets `gtag('consent', 'default', {...})` and updates the consent
status after the user’s decision.

### How do I embed the cookie declaration?

Two options:

 1. **Gutenberg block**: add the “Cookie Declaration” block. The language can optionally
    be overridden in the block settings.
 2. **Shortcode**: use `[crumbler_cookies]` on any page or post, optionally with a 
    language parameter: `[crumbler_cookies lang="fr"]`.

### Where is the widget loaded?

As the very first element in `<head>`, before the scripts of other plugins and the
theme. The widget can only block scripts that come after it. If your theme hard-
codes a tracking snippet in `header.php` above `wp_head()`, move it below or let
a plugin add it instead. The `wp_head` priority can be changed with the `crumbler_cc_widget_priority`
filter.

### Does it work with caching and optimisation plugins?

Yes. The widget script is marked so that WP Rocket, LiteSpeed Cache, Autoptimize,
Jetpack Boost and Cloudflare Rocket Loader do not defer, delay or combine it. If
you use another optimisation plugin, exclude `cmp.compresso.ch/widget/cmp.min.js`
from “defer” and “delay JavaScript” there.

### Can I hide the widget for administrators?

Yes. Under Settings > Crumbler there is an option to hide the widget for logged-
in administrators.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Crumbler – Cookie Consent” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

 *   [ compresso ](https://profiles.wordpress.org/compresso/)

[Oversæt “Crumbler – Cookie Consent” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/crumbler-cookie-consent)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/crumbler-cookie-consent/),
tjek [SVN repository](https://plugins.svn.wordpress.org/crumbler-cookie-consent/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/crumbler-cookie-consent/)
via [RSS](https://plugins.trac.wordpress.org/log/crumbler-cookie-consent/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.1.0

 * The consent widget is now printed as the very first element in `<head>` (before
   scripts of other plugins and the theme), so trackers such as Google Analytics,
   Tag Manager or Matomo are blocked before consent and Google Consent Mode defaults
   are set in time.
 * The widget script is excluded from JavaScript optimisation (defer, delay, combine)
   of WP Rocket, LiteSpeed Cache, Autoptimize, Jetpack Boost and Cloudflare Rocket
   Loader, which would otherwise load it too late.
 * New filter `crumbler_cc_widget_priority` to change the `wp_head` priority.
 * Requires WordPress 5.7 or later.

#### 1.0.0

 * Initial public release.
 * Settings page with Site Key, language and advanced options.
 * Live connection status check against the Crumbler service.
 * Automatic widget integration on the front end.
 * Cookie declaration as Gutenberg block (block.json) and shortcode.
 * Multi-language support (DE, FR, IT, EN).

## Meta

 *  Version **1.1.0**
 *  Senest opdateret **1 uge siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 5.7 eller højere **
 *  Testet op til **7.1.3**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/crumbler-cookie-consent/)
 * Tags
 * [consent management](https://da.wordpress.org/plugins/tags/consent-management/)
   [cookie banner](https://da.wordpress.org/plugins/tags/cookie-banner/)[cookie consent](https://da.wordpress.org/plugins/tags/cookie-consent/)
   [GDPR](https://da.wordpress.org/plugins/tags/gdpr/)[google consent mode](https://da.wordpress.org/plugins/tags/google-consent-mode/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/crumbler-cookie-consent/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/crumbler-cookie-consent/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/crumbler-cookie-consent/reviews/)

## Bidragsydere

 *   [ compresso ](https://profiles.wordpress.org/compresso/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/crumbler-cookie-consent/)