Magento and the OneTrust Script

Last Updated: Aug 11, 2022

To integrate a Cookie Banner and Preference Center into your Magento website, you will need to add the published script into the <head> section of your code.

Integration Steps

  1. In the Admin Panel, navigate to the Content menu.

Magento Content Menu

  1. Select the Configuration tab.

  2. Click Edit for the website where the script needs to be inserted.

  3. Expand the HTML Head section and paste the published script into the Scripts and Style Sheets section.

Add OneTrust Script to Magento

  1. Click the Save Configuration button.