New Shopify Certification now available: Liquid Storefronts for Theme Developers

Submit externally given consent

Shopify Partner
8 1 2

Situation: EU Customer has a website where we use the Storefront API & JS Buy SDK. And where we also ask for the customer's consent regarding cookies and what else GDPR requires us to do.  
How can I let Shopify know the visitor has (not) given his consent? So basically a refined way of switching tracking on & off. I know there is the Customer Privacy API, but we can't access `
window.Shopify` since it's afaik only around when inside a full Shopify shop. Is there any other way to store and submit the result to Shopify, e.g. by using a cookie or via URL get parameters? Thanks


Replies 0 (0)