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
-
Open your BigCommerce account.
-
On the main navigation menu, select Storefront and then Script Manager. The Script Manager screen appears.
-
Click the Create a Script button.
-
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.
Field | Setting |
---|---|
Name of script | Enter OneTrust Banner |
Location on page | Select Head |
Select pages where script will be added | Select All pages |
Script type | Select Script |
Script contents | Paste 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 -->
- Click the Save button.
Updated 10 months ago