Skip to main content
All CollectionsCMS guides
Magento 2 implementation
Magento 2 implementation

How to implement the consent Pop-up using the script in Magento 2

Updated over 2 years ago

Implement with Magento 2.x

  1. Go to your Admin Panel

  2. Go to Content, then Configuration

  3. Select the store view you would like to add the code to, or pick Global if you would like to change it on every store view

  4. Go to the HTML Head section and find the field Scripts and Stylesheets

  5. Add the script:

<script id="CookieConsent" src="https://policy.app.cookieinformation.com/uc.js" data-culture="EN" type="text/javascript"></script>

Remember to press Save Configuration, then clear the cache to see your update pushed.

Did this answer your question?