Customer Privacy API

The Customer Privacy API is a browser-based, JavaScript API that you can use to register consent and query data processing permission.

You can use the Customer Privacy API to build a custom cookie consent banner for your storefront or guard certain activities behind consent.

This API is used to report consent decisions that can be honored on Shopify-managed surfaces, like pixels, audiences, and checkout.

Refer to the full list of cookies that Shopify uses.