Using Shopify Customer Privacy API with Consent Studio as your consent management platform (CMP) of choice
How is consent processed?
When a user grants Functional (cookie) consent through the Consent Studio banner on your website, we will set trackingConsent
for preferences
to true
.
When a user grants Analytics (cookie) consent through the Consent Studio banner on your website, we will set trackingConsent
for analytics
to true
.
When a user grants Marketing (cookie) consent through the Consent Studio banner on your website, we will set trackingConsent
for marketing
to true
.
How to enable this integration?
Log in to your Consent Studio dashboard.
Open the Consent Studio dashboard and head to General Settings under Banner.
Scroll down until you find Consent Modes and Integrations.
Toggle the Shopify Customer Privacy API by clicking on it. Enabled integrations have a highlighted (green) border.
Don't forget to save your changes by clicking the Save changes button at the bottom of the page.
A note on the sale_of_data
permission
Another consent signal that can be provided through the Shopify Consumer Privacy API is sale_of_data
. We do not signal consent state through the cookie banner due to the following directive from Shopify:
β"Data sale / sharing opt-out should be managed in an opt-out flow started by customers, instead of an opt-in flow that activates immediately upon page load."
(Source: https://shopify.dev/docs/api/customer-privacy#collect-and-register-data-sale-sharing-opt-out on December 20th).
We consider the Consent Studio (cookie) consent banner "an opt-in flow that activates immediately upon page load" and therefore we will follow Shopify's directive.