Shopify Customer Privacy API integration
Shopify currently has the option to limit the tracking of data for customers from different locations.
After 12th of December 2024 our app is already integrated with the Shopify API which allows you to set the regions where you need the Shopify Customer Privacy settings applied, to be set directly from the app settings.
Navigate to the Consent banner tab of our app
Open the Geolocation section.
Choose the regions where you want the cookie bar to be displayed for and data to be collected only after consent and Save the changes.
NOTE: The update is applicable for installation made after the above date (12 December 2024) only.
You can also set the regions in which the tracking will begin only after consent is given by following these steps:
Navigate to your store's Settings
Open the Customer Privacy section
Find the Cookie Banner page
Once there, go to More actions
Select Set custom banner regions
From the modal, choose the regions, as shown below:
If these options are selected, customers must give consent before their data can be collected, and the following changes will occur:
The Facebook Pixel and Google Analytics will be blocked initially until the customer explicitly gives his consent. This is happening on Shopify's side, with the Consent Tracking API, which our app is integrated with. How it works is once the page is loaded and the cookies are initially blocked by Shopify, each customer has the option to opt-in or opt-out of the different cookie groups.
Once the customer presses one of the 'Accept' buttons, a flag containing each cookie group's consent will be sent to Shopify. Each of those consents will be set either to true or false, depending on how the customer has configured their preferences.
If he/she has accepted any of the cookie groups, then they will be set to true in the flag.
If not, then the they will be set to false and Shopify will continue to block the cookies the same way as they were blocked initially.
The blocking will also work with the cookies, set on the Checkout page.
The cookies, which are in regard to Shopify for example - _shopify_y, _shopify_s, _y, etc. will be set as session cookies, meaning that they will be deleted as soon as the customer closes their browser.
If the customer however has accepted the cookies, i.e. the cookie groups' consent in the flag mentioned above is set to true the cookies will be upgraded to persistent cookies, which are stored in the browser and will not be deleted when the customer closes their browser.
Automated customer privacy regions
After 12th of December 2024 our app is already integrated with the Shopify API which allows you to set the regions where you need the Shopify Customer Privacy settings applied, to be set directly from the app settings.
Navigate to the Consent banner tab of our app
Open the Geolocation section.
Choose the regions where you want the cookie bar to be displayed for and data to be collected only after consent and Save the changes.
NOTE: The update is applicable for installation made after the above date (12 December 2024) only.
Setting up the Customer Privacy regions via Shopify
You can also set the regions in which the tracking will begin only after consent is given by following these steps:
Navigate to your store's Settings
Open the Customer Privacy section
Find the Cookie Banner page
Once there, go to More actions
Select Set custom banner regions
From the modal, choose the regions, as shown below:
If these options are selected, customers must give consent before their data can be collected, and the following changes will occur:
The Facebook Pixel and Google Analytics will be blocked initially until the customer explicitly gives his consent. This is happening on Shopify's side, with the Consent Tracking API, which our app is integrated with. How it works is once the page is loaded and the cookies are initially blocked by Shopify, each customer has the option to opt-in or opt-out of the different cookie groups.
Once the customer presses one of the 'Accept' buttons, a flag containing each cookie group's consent will be sent to Shopify. Each of those consents will be set either to true or false, depending on how the customer has configured their preferences.
If he/she has accepted any of the cookie groups, then they will be set to true in the flag.
If not, then the they will be set to false and Shopify will continue to block the cookies the same way as they were blocked initially.
The blocking will also work with the cookies, set on the Checkout page.
The cookies, which are in regard to Shopify for example - _shopify_y, _shopify_s, _y, etc. will be set as session cookies, meaning that they will be deleted as soon as the customer closes their browser.
If the customer however has accepted the cookies, i.e. the cookie groups' consent in the flag mentioned above is set to true the cookies will be upgraded to persistent cookies, which are stored in the browser and will not be deleted when the customer closes their browser.
Updated on: 20/01/2025
Thank you!