Documentation

Magento 2

The BerryCookie_ConsentBanner module works on Magento Open Source and Adobe Commerce 2.4.6–2.4.8 and is installed from the server's command line. If you have no server access, send these steps to your shop's developer.

  1. Download the Magento 2 module and copy the BerryCookie folder into app/code/.
  2. Run bin/magento module:enable BerryCookie_ConsentBanner and bin/magento setup:upgrade, in production mode also bin/magento setup:di:compile and bin/magento setup:static-content:deploy, then bin/magento cache:flush.
  3. Stores → Configuration → General → BerryCookie – Cookie Consent: paste the website key (one key per website or store view if you have several) and save.
  4. Flush the Page Cache and use Check installation.

The module puts the script first in <head>. If Move JS code to the bottom of the page is on (Stores → Configuration → Advanced → Developer), Magento moves every script to the end and BerryCookie runs too late: turn that option off.

Need help? [email protected]

Ready to put it on your website?

Install it with one line of code, the Google Tag Manager template or the WordPress plugin.

Free for one website, no card. Create an account, add and verify your site, then paste one line of code — about ten minutes.