How to install CookieHub in Magento

You can add CookieHub to your Magento store by inserting the implementation code into the HTML Head section of your theme.

Steps to install CookieHub

  1. Find your implementation code in the CookieHub dashboard.
  2. Log in to your Magento admin panel.
  3. From the left menu, go to Content → Configuration.
  4. Select the configuration scope you want to edit (for example, Default Store View).
  5. Click Edit for the theme you are using.
  6. Scroll to the HTML Head section and find Scripts and Style Sheets.
  7. Paste the CookieHub implementation code into this field, immediately after the opening <head> tag.
  8. Click Save configuration.

CookieHub is now installed and will manage third-party scripts according to user consent.