Digital Governance
Showing results for 
Search instead for 
Did you mean: 

Consent Solutions Knowledge Base

Subdomains in UCP

When creating site notices in the Privacy Tool/Universal Consent Platform, there are instances where a domain has various subdomains. This is an explanation of the expected behavior when creating the site notice for a domain that has subdomains.

Below is a graphic of how Evidon defines a URL string, so we can show what is considered a subdomain.   



You have a domain that is, and it can also be accessed through and  According to the graphic above, "www." and "forums." are subdomains of the root domain

When creating a site notice in the UI, you can enter your domain as, and choose the option "Consent applies to all subdomains of" below.  This setting allows consent to apply to sites with the root domain, so and will fire a notice if a user navigates to it directly.  Once consent is given on a subdomain, the user will no longer be served the notice on any other subdomain associated with​


If you need a different experience for a subdomain, you will need to create a separate site notice for that specific subdomain.


Labels (2)
Hi @TeresaChavez thanks you for this. I sometimes have trouble with this explanation. Could you also explain why, for example,, or .com/de counts as a different domain? At least, I think that's the case! Thanks.

Hi @PaulRaftery   Good question.  For your example,, or .com/de counts as two different domains, if they are each set up in the UI separately.  Technically, a customer could set up one notice for, apply consent to all pages, and then add country experiences for both France and Germany, and it should cover both, and .com/de. 

There are cases where setting up each domain in the UI separately would be best practice.  

- If a specific country needs to have a specific experience every time, it's most stable to set up each domain separately, and then support only that country on the notice.  This will force, for example, Portugal to fire a barrier notice (or whichever notice experience is set up), no matter where the user is coming from.  There can be cases where settings that are pulled down for a notice can get complex, based on where geolocation detects a user, and then what browser language they have set.  If a user with a US domain decides to view the French version of a site, they may get the US experience, which in many cases a notice is not configured to fire.  

- If a customer experiences issues with serving up the correct experience in a country under a notice that is meant cover several domains, setting up separate notices for unique domains can help to resolve those issues.  Geolocation method used by the site could conflict with the geolocation method of the notice, and serve up an unexpected experience, for example. 

The Universal Consent Platform allows for flexibility in how these notices are set up, by providing options to cover several pages and several subdomains with one set up, and by allowing customers to choose what level consent can be applied (to all subdomains, to all pages, or to only a specific path).  Setting up separate domains is sort of a way of hard coding a specific experience for a site. 

What is best depends on what the customer needs in terms of serving up these notices.


Thanks @TeresaChavez , I only just read this. Need to improve my community skills :-)

Version history
Revision #:
2 of 2
Last update:
‎05-15-2019 09:02 PM
Updated by:
Looking for more?
Ask in Discussions

Peer-to-peer support  and answers on developing CMS templates, modifying privacy scripts or building integrations.

Digital Experience Management

Find answers and ask questions on content management, personalization and targeting.

Digital Quality Management

Find answers and ask questions on WCAG and SEO quality management.

Digital Governance

Find answers and ask questions on consent and monitoring solutions.