Customer Privacy API and 3rd Party Pixels/CMP

Hi,

We have 3rd party cookie consent tool OneTrust that’s custom built. We currently have all the 3rd party pixels (Facebook, Tiktok) integrated through native Shopify connector, which works seamlessly. However, there’s no option to comply with cookie consents within those apps. We were thinking of switching the integrations to GTM to be compliant, but then I realized there’s an API named “Customer Privacy API”

I was wondering if that’s possible to integrate Customer Privacy API with One Trust so that native Shopify pixels of Facebook and Tiktok wouldn’t work unless the users accept cookies, so that we don’t need to rework with GTM and server-side GTM from scratch?

Thanks.

Yes Burkia,
You can integrate CPI with one trust. you can call the API using one trust pro apps from shopify apps store.
you may check this article to solve your issue. Integrating OneTrust with Shopify (littledata.io)
thanks