BigCommerce

BigCommerce and the OneTrust Script

If you use BigCommerce to manage your website, you can add the script to your theme header, along with the scripts for tag managers your organization uses.

Integration Steps

  1. Open your BigCommerce account.

  2. On the main navigation menu, select Storefront and then Script Manager. The Script Manager screen appears.

  1. Click the Create a Script button.

  2. Complete the fields as follows:

For the integration to work, you must have a published script. For information on how to publish a script, see Getting Started with Cookie Consent.

FieldSetting
Name of scriptEnter OneTrust Banner
Location on pageSelect Head
Select pages where script will be addedSelect All pages
Script typeSelect Script
Script contentsPaste your published script (example below)
<!-- OneTrust Cookies Consent Notice start -->
<script src="https://cookiesstaging.blob.core.windows.net/scripttemplates/otSDKStub.js" data-document-language="true"
    type="text/javascript" charset="UTF-8" data-domain-script="af49c1fc-c518-468b-abe5-236656749d6b"></script>
<script type="text/javascript">
    function OptanonWrapper() { }
</script>
<!-- OneTrust Cookies Consent Notice end -->
  1. Click the Save button.