Articles on: Cookie Consent
This article is also available in:

πŸ”— How to Share Consent Across Domains and Subdomains

If your store runs on more than one address, for example a main store and regional storefronts on subdomains, a visitor would normally be asked for cookie consent again on each one. Cross domain consent sharing lets a choice made on one address apply to your other addresses on the same main domain.


This guide explains how it works, how to turn it on, and what its limits are.



πŸ€” How It Works


When this setting is on, the banner tries to save the visitor's consent cookie on your root domain instead of only the current address.


For example, a choice made on yourstore.com can also apply on usa.yourstore.com and eu.yourstore.com, because they all share the root domain yourstore.com.


⚠️ In the current version, the cookie is only written to the root domain when the visitor makes the choice on the root domain itself (for example yourstore.com). A choice made on a subdomain such as www.yourstore.com or usa.yourstore.com is saved for that subdomain only and is not shared with the others.


⚠️ The shared cookie carries the consent choice, not the fact that the banner was closed. The banner remembers that separately for each address, so it can still appear on another address even though the earlier choice is already applied there.


The app describes the limit this way: consent sharing is limited to your primary domain (for example, yourstore.com) and its subdomains (for example, usa.yourstore.com).


⚠️ Browsers do not allow a cookie to be shared between completely different domains. A store on brand-one.com cannot share consent with brand-two.com using this setting.



⚠️ Before You Begin


Make sure:


  • GDPR EU Cookie Banner is installed on every storefront that should share consent
  • The App Embed is enabled in each storefront's theme
  • Your storefronts are subdomains of the same root domain



πŸ› οΈ Step 1 β€” Open the Setting


➑️ Open GDPR EU Cookie Banner


➑️ Click Settings in the left menu


➑️ Open the Cross domain consent sharing card
(Allow users' consent choices to sync across multiple domains.)



βœ… Step 2 β€” Enable It


➑️ Tick the checkbox on the right side of the card


The text next to it reads: Keep user consent consistent across all your sub-domains. Once a visitor sets their cookie preferences on one site, the same choices apply on your other storefronts.



βž• Step 3 β€” Add Your Store URLs


After enabling, a Store URL field appears.


➑️ Type the address, for example usa.yourstore.com


➑️ Click Add site


The address is added to a table. To remove one, click Remove next to it.


πŸ’‘ This list is a record of the storefronts you share consent with. The sharing itself comes from the consent cookie, not from this list, so adding an address here does not by itself make sharing work for it.


➑️ Click Save in the save bar



πŸ”„ Step 4 β€” Re-save Your Banner


Your storefront banner uses the configuration that is published when you save Banner settings. Saving the Cross domain consent sharing card alone does not republish it.


➑️ Open Banner settings


➑️ Make a small change (you can change it back) so the save bar appears


➑️ Click Save



πŸ§ͺ Step 5 β€” Test


➑️ Open your root domain (for example yourstore.com) in a new Incognito or Private window


➑️ Accept or decline in the banner


➑️ Open a subdomain of the same root domain in the same window


Expected Result


The earlier choice is applied on the subdomain when the page loads. The banner itself can still appear there, because closing it is remembered separately for each address.


If you open the Consent logs page, choices made while testing appear as logs.



πŸ› οΈ Troubleshooting


The choice is not applied on the other address


  • Confirm the setting is enabled and saved on every storefront
  • Re-save Banner settings after changing this setting (Step 4)
  • Confirm both addresses share the same root domain
  • Make the first choice on the root domain itself (for example yourstore.com), not on a subdomain such as www.yourstore.com
  • Test in a fresh Incognito or Private window
  • Confirm the banner is published on both storefronts


Two separate domains must share consent


This setting cannot join separate domains. Each domain keeps its own consent, so visitors choose once per domain.



⚠️ Important Notes


  • Sharing works through the visitor's browser cookie, so it only applies while the same browser is used
  • Consent cookies last for 1 year
  • Turn the setting off if you no longer use multiple storefronts



πŸŽ‰ Final Result


βœ… Consent set on your root domain applies across its subdomains


βœ… Visitors' earlier choices are applied on your other storefronts


βœ… Your consent behavior is consistent across storefronts

Updated on: 27/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!