Linux 软件免费装
Banner图

Crumbler – Cookie Consent

开发者 compresso
更新时间 2026年9月28日 20:41
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

gdpr cookie consent cookie banner consent management google consent mode

下载

1.0.0 1.1.0

详情介绍:

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

安装:

  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.

屏幕截图:

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

常见问题:

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.

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.

更新日志:

1.1.0 1.0.0