Consent
Chord uses Shopify's Customer Privacy API to respect each shopper's consent choices. Events only reach the destinations a shopper has consented to, which helps you comply with privacy laws such as GDPR and CCPA. Beyond the settings on this page, the only consent setup is the consent: 'shopify' option in your analytics package configuration, which the browser events snippet already includes. Headless stores should set it too.
How it works
Shopify asks the shopper for consent through your cookie banner.
Shopify only loads the Chord web pixel once the shopper allows both analytics and marketing. Until then, the pixel sends nothing. Events your theme sends through the analytics package itself still go to Chord, stamped with the shopper's choices, and your consent categories decide which destinations get them.
Once loaded, the pixel attaches a
consentobject to every event, recording the shopper's choice for each consent category.Chord uses your consent category mappings to decide which destinations receive each event.
Step 1: Set the pixel's privacy settings
In Shopify admin, go to Settings > Customer events, open the Chord pixel, and set Customer privacy as follows:
Permission: select Required, and check Marketing and Analytics. This makes Shopify fill in the consent values the pixel reads. Without these boxes checked, the consent values may not reflect the shopper's real choices.
Data sale: select Data collected qualifies as data sale. This makes Shopify report when a shopper opts out of the sale of their data, for example under CCPA. With "does not qualify", Shopify reports the sale of data as allowed even after a shopper opts out.

Step 2: Turn on Shopify's customer privacy features
In Shopify admin, go to Settings > Customer privacy.
Cookie banner (required). Chord's consent handling needs a cookie banner. Without one, the Customer Privacy API isn't available and Chord sends no events at all.
To use Shopify's banner: select Cookie banner > Activate cookie banner, choose the regions where it should appear, and click Activate.
To use a banner app from the Shopify App Store: select Cookie banner > More actions > Use custom cookie banner, choose regions, and click Activate.
Data sales opt-out page (recommended). This lets shoppers control whether their data is shared with third parties. Select Data-sales opt-out page, choose regions, and click Activate.
See Shopify's guide to customer privacy settings for more.
Step 3: Create consent categories in Chord
Shopify's Customer Privacy API has four consent categories. Create a matching consent category in Chord for each, then choose which destinations belong to it. A destination in a category only receives an event if the shopper consented to that category.
In Chord, go to CDP > Consent Categories > Create Your First Consent Category and add these four. You can name them however you like, but the category ID must match exactly:
Performance cookies, ID
analytics: how shoppers use and interact with your storefront.Marketing cookies, ID
marketing: marketing, attribution and targeted advertising.Preference cookies, ID
preferences: shopper preferences such as language, currency and size.Sale of data, ID
sale_of_data: sharing data with third parties, usually for behavioral advertising. Collected by Shopify's data sales opt-out page.
When all four are created and enabled, the list looks like this:

The consent object
The pixel builds the consent object on every event from Shopify's Customer Privacy API:
Each value comes from one Shopify method:
analytics:customerPrivacy.analyticsProcessingAllowed()marketing:customerPrivacy.marketingAllowed()preferences:customerPrivacy.preferencesProcessingAllowed()sale_of_data:customerPrivacy.saleOfDataAllowed()
Server events
Consent only applies to browser events. Server events from the Chord Webhook Events app, such as Order Completed, Order Refunded and fulfillments, carry no consent information, because consent is only known in the shopper's browser. Chord treats them as consented and sends them to every connected destination, even one with consent requirements. That keeps your transactional data complete in every tool.
Global Privacy Control
Chord treats the Global Privacy Control signal as an opt-out of the sale of data. If a shopper has GPC turned on in their browser and is in a region where opting out is supported, sale_of_data is false.
Last updated
Was this helpful?