Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Submit externally given consent

Submit externally given consent

tojai
Shopify Partner
9 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)