How Shopify Handles Consent
Shopify provides a built-in consent banner (Customer Privacy Banner) that:
- Appears on store pages
- Collects marketing/analytics consent
- Stores preference in
_tracking_consentcookie - Fires
customer_privacy_consent_changedevent
TrackShift Integration
TrackShift automatically:
- Reads initial consent from cookie
- Listens for consent changes
- Updates Google Consent Mode
- Respects user choices in tracking
Enabling Shopify’s Consent Banner
- Go to Shopify Admin → Settings → Customer Privacy
- Enable Collect marketing consent
- Configure banner text and appearance
- Save changes
Supported Consent Regions
- European Union (GDPR)
- California (CCPA)
- Other regions with privacy laws
—