customgento / module-cookiebot-m2
This Magento 2 module integrates Cookiebot into your store.
Fund package maintenance!
customgento
Installs: 28 811
Dependents: 0
Suggesters: 0
Security: 0
Stars: 21
Watchers: 5
Forks: 5
Open Issues: 2
Type:magento2-module
Requires
- php: ~7.4.0||~8.1.0||~8.2.0||~8.3.0
- magento/framework: ~102.0||~103.0
- magento/module-catalog: ~103.0||~104.0
- magento/module-cms: ~103.0||~104.0
Requires (Dev)
- phpunit/phpunit: ~6.5||~9.5
- roave/security-advisories: dev-latest
README
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