Shopify / buy-button-js

BuyButton.js is a highly customizable UI library for adding ecommerce functionality to any website.
http://shopify.github.io/buy-button-js/
MIT License
244 stars 115 forks source link

GDPR compliance with BuyButton? #750

Open boneyfantaseas opened 3 years ago

boneyfantaseas commented 3 years ago

Hey there, we use BuyButton to go directly from our (non-Shopify) website to the checkout. I noticed that by using the SDK, several analytics cookies are set by default which violates GDPR as far as I understand. I found that there's a new Privacy API https://shopify.dev/changelog/customer-privacy-api-now-available but I can only access it from window.Shopify - which is not available. Can someone help me what to do? I wonder how I can tell Shopify not to set those Analytics cookies such as _s,_y,_shopify_s and _shopify_y until I give permission to do so.

boneyfantaseas commented 3 years ago

What information do those cookies hold? What's their purpose? Will the API still work if I delete those cookies?

boneyfantaseas commented 3 years ago

Is there a chance to have the Customer Privacy API implemented in here?

lucasjahn commented 2 years ago

One year later... Any updated on this issue? I have a similar use case. Thanks in advance!