Magento 2 module, which integrates Cookiebot.
This extension adds the Cookiebot script to all pages.
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
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.
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 :-(
You need a Cookiebot account, so that this extension does anything useful for you.
© 2020 CustomGento GmbH