Cookies Addons
This module extends the functionality of the Cookies module by providing submodules to conditionally load various Drupal content elements, such as blocks, paragraphs, views, fields, and embedded content like iframes and videos, only after user consent is given.
Cookies Addons extends the COOKiES Consent Management module. It blocks parts of your site that load third-party content or set cookies, such as blocks, paragraphs, views, fields and embedded media, until the visitor has given consent for the matching service.
Instead of the blocked content, visitors see a placeholder with a consent overlay. Once consent is given, the content is loaded. This helps you meet the GDPR and ePrivacy requirement by loading third-party content which processes personal data only after consent. As with the COOKiES module itself, no liability is assumed regarding legal compliance.
Submodules
- Cookies Addons Blocks - Blocks Drupal blocks by block ID and loads them on consent. Useful for blocks that embed external services, for example maps or social feeds.
Configure at:/admin/config/system/cookies-addons-blocks - Cookies Addons Chatbot - Blocks the chatbot of the AI module until consent is given. Requires the AI Chatbot submodule. Available from 2.0.0-beta1.
Configure at:/admin/config/system/cookies-addons-chatbot - Cookies Addons Embed Iframe - Provides a plugin for text formats that blocks iframes in formatted text until consent is given.
Enable the plugin in the settings of your text format. - Cookies Addons Embed Video - Provides a plugin for text formats that blocks video iframes such as YouTube and Vimeo.
Enable the plugin in the settings of your text format. - Cookies Addons Fields - Blocks individual fields of any entity until consent is given, for example a map field or an external widget.
Configure per field in the display settings of the entity. - Cookies Addons Paragraphs - Blocks Drupal paragraphs by paragraph ID and loads them on consent.
Configure at:/admin/config/system/cookies-addons-paragraphs - Cookies Addons Social Media - Blocks social media embeds (currently Facebook, Instagram, LinkedIn, TikTok and X) in formatted text until the matching service has been consented to. You can configure it in your text format. Also make sure to configure the services for the social networks in the module settings.
- Cookies Addons Views - Blocks views by view ID and display ID until consent is given.
Configure at:/admin/config/system/cookies-addons-views
Requirements
The COOKiES module is required. The 2.0.x branch of Cookies Addons requires COOKiES 2.0.
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.0-beta5 | Pre-release | 10–11 | Fix Ajax issues in embed video and embed iframe. | Aug 12, 2026 | |
| 2.0.0-beta4 | Pre-release | 10–11 | Further fixes for ajax loaded content. | Aug 11, 2026 | |
| 2.0.0-beta3 | Pre-release | 10–11 | Fixes issues with ajax loaded social media content | Aug 11, 2026 | |
| 2.0.0-beta2 | Pre-release | 10–11 | New block social media embeds feature | Aug 10, 2026 | |
| 2.0.0-beta1 | Pre-release | 9–11 | Support chatbot and new cookies:^2.0 version | Feb 26, 2026 | |
| 2.0.x-dev | Dev | 10–11 | Compatible with Cookies 2.x | Feb 26, 2026 | |
| 1.3.3 | Stable | 9–11 | Feb 26, 2026 | ||
| 1.3.2 | Stable | 9–11 | Jan 20, 2026 | ||
| 1.3.1 | Stable | 9–11 | Fixes for schema, cookies_addons_fields and viewsreference compatibility | Sep 24, 2025 | |
| 1.3.0 | Stable | 9–11 | Added new feature to block fields | Aug 14, 2025 | |
| 1.2.4 | Stable | 9–11 | Fixes issue #183783 | Jul 9, 2025 | |
| 1.2.3 | Stable | 9–11 | Fixed runtime deprecation error in json_decode() | Jun 24, 2025 | |
| 1.2.2 | Stable | 9–11 | Apr 14, 2025 | ||
| 1.2.1 | Stable | 9–11 | Fixed an issue in Javascript | Sep 27, 2024 |