Skip to content

This Magento 2 module integrates Cookiebot into your store.

License

Notifications You must be signed in to change notification settings

customgento/module-cookiebot-m2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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