customgento / module-cookiebot-m2

customgento/module-cookiebot-m2

This Magento 2 module integrates Cookiebot into your store.

  • Team CustomGento
magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Fail Tests: Pass Security: Pass OSL-3.0

CustomGento_Cookiebot

This Magento 2 module integrates Cookiebot into your store. This is useful to give the customer the possibility to block
unwanted cookies and only allow wanted cookies. It requires an active Cookiebot subscription and can be completely
configured in your Cookiebot account.

Installation

  • composer require customgento/module-cookiebot-m2
  • bin/magento module:enable CustomGento_Cookiebot
  • bin/magento setup:upgrade
  • bin/magento setup:di:compile
  • bin/magento cache:flush

Configuration

After installing the extension, just go to Stores > Configuration > Web > Cookiebot Settings to enable Cookiebot and
enter your Cookiebot ID. You find the ID in your Cookiebot account under Settings > Your scripts. All other
configuration regarding the cookie overlay is done in your Cookiebot account.

Please mind that this extension uses the manual cookie blocking mode. Hence, you still need to update all scripts, which
set not-strictly-necessary cookies in your system as described in
the Cookiebot manual implementation guide.

Manual vs. Automatic Cookie Blocking

Unfortunately, Cookiebot currently does not support automatic blocking when RequireJS is used as stated in
their docs. Since
Magento 2 does use RequireJS, we need to use the manual cookie blocking mode :-(

Disclaimer

You need a Cookiebot account, so that this extension does anything useful for you.

Copyright

© 2020 - present CustomGento GmbH

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Compatibility Released
2.7.0 stable Fail Magento 2.4.7-2.4.9 Details 2026-05-22 07:36:36
2.6.7 stable Not tested Not yet tested Details 2026-02-06 09:49:21
2.6.6 stable Not tested Not yet tested Details 2026-01-26 07:53:03
2.6.5 stable Not tested Not yet tested Details 2026-01-19 14:47:30
2.6.4 stable Not tested Not yet tested Details 2026-01-16 08:30:20
2.6.3 stable Not tested Not yet tested Details 2025-12-19 14:50:14
2.6.2 stable Not tested Not yet tested Details 2025-10-07 13:02:54
2.6.1 stable Not tested Not yet tested Details 2025-10-06 13:55:23
2.6.0 stable Not tested Not yet tested Details 2025-08-01 12:05:42
2.5.2 stable Not tested Not yet tested Details 2025-04-16 18:15:32
2.5.1 stable Not tested Not yet tested Details 2025-03-24 12:56:50
2.5.0 stable Not tested Not yet tested Details 2025-03-03 21:23:55
2.4.2 stable Not tested Not yet tested Details 2024-05-26 19:38:23
2.4.1 stable Not tested Not yet tested Details 2024-05-21 08:27:58
2.4.0 stable Not tested Not yet tested Details 2024-02-28 16:15:39
2.3.1 stable Not tested Not yet tested Details 2023-12-13 10:41:20
2.3.0 stable Not tested Not yet tested Details 2023-11-30 13:47:34
2.2.3 stable Not tested Not yet tested Details 2023-06-19 12:22:35
2.2.2 stable Not tested Not yet tested Details 2022-12-08 12:26:21
2.2.1 stable Not tested Not yet tested Details 2022-05-04 12:22:23
2.2.0 stable Not tested Not yet tested Details 2021-05-14 18:27:38
2.1.2 stable Not tested Not yet tested Details 2021-03-05 06:25:21
2.1.1 stable Not tested Not yet tested Details 2021-02-17 06:34:05
2.1.0 stable Not tested Not yet tested Details 2020-09-03 19:27:27
2.0.0 stable Not tested Not yet tested Details 2020-08-26 14:41:26
1.0.0 stable Not tested Not yet tested Details 2020-07-29 09:54:32

Requires 8

Package Constraint
ext-pcre *
magento/framework ^103.0
magento/module-catalog ^104.0
magento/module-cms ^104.0
magento/module-config ^101.2
magento/module-store ^101.1
php ^7.4.0||^8.1.0||^8.2.0||^8.3.0||^8.4.0||^8.5.0
psr/log ^1.1||^2||^3

Requires-dev 2

Package Constraint
phpunit/phpunit ^6.5||^9.5
roave/security-advisories dev-latest

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Fail 35 3 errors, 32 warnings (ruleset: Magento2)
PHPMD Pass 0
Cpd Pass 0
Composer validate Pass 0

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 1 1
2.4.8 1 1
2.4.9 1 1

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass not tested
2.4.9 Pass not tested

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
OSL-3.0
Authors

More from customgento

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.