Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.45 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.45 KB

CustomGento_Cookiebot

Magento 2 module, which integrates Cookiebot.

Description

This extension adds the Cookiebot script to all pages.

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 CustomGento GmbH