Integrating Privacy Notices with Shopify
The first time you publish a privacy notice, an integration code snippet will be generated that allows you to implement the notice across your sites. Shopify's privacy notice configuration uses plain HTML code. Shopify does not accept JavaScript code.
Attention:
When the OneTrust privacy notice code is placed in the Shopify policy configuration space, it sanitizes JS and the code appears as shown below: