To capture valuable insights while protecting user privacy, you need to collect consent from your website users. We recommend you use a Consent Management Platform (CMP) or work with your Content Management System (CMS) to collect consent and send it to Google.
To set up consent collection via your CMP:
- Use a CMP that integrates with Shopify’s Customer Privacy API.
- Refer to your CMP’s instructions for any necessary configuration details.
Learn more about how to Set up your consent banner with a consent management platform or a content management system.
If you’re using the Google & YouTube app for conversion tracking and have set up your CMP, consent mode should work automatically.
Enable Shopify's cookie banner
Shopify offers a built-in cookie banner you can use as a starting point. To enable it, follow these instructions:
To enable consent mode in your Shopify account, follow these instructions:
- Sign in to your Shopify account.
- Click Settings at the bottom of page menu on the left.
- Click Customer privacy on the menu.
- Open the “Cookie banner” section and click Set up banner.
- Confirm your appearance and position preferences, then click Activate cookie banner.
- Confirm which regions the banner should appear in and click Activate.
After you’ve enabled your consent banner, consent mode is enabled automatically.