Skip to content

Documentation

Subdomain Consent Sharing

Subdomain Consent Sharing

Last updated Mar 24, 2026

If your website uses multiple subdomains (e.g. www.example.com, shop.example.com, blog.example.com), you can configure Kukie.io to share consent across all of them. This means a visitor only needs to consent once, and their choice applies to every subdomain.

When to Use Subdomain Sharing

Enable subdomain sharing when:

  • Your site spans multiple subdomains under the same root domain.
  • You want visitors to consent once rather than on every subdomain.
  • All subdomains use the same cookie banner and consent policies.

How to Configure

Go to the site's Settings page and find Consent Settings. Enable Subdomain Consent Sharing and enter your root domain (e.g. .example.com - note the leading dot).

How It Works Technically

When subdomain sharing is enabled, the consent cookie is set with a domain attribute matching your root domain. For example, setting domain=.example.com makes the cookie accessible from www.example.com, shop.example.com, and any other subdomain.

When subdomain sharing is disabled (the default), the domain attribute is omitted entirely, and the browser automatically binds the cookie to the exact hostname where it was set.

Important: If different subdomains have different cookie practices or serve different regions, subdomain sharing may not be appropriate. In such cases, use separate site entries in Kukie.io for each subdomain with their own consent settings.

Was this helpful?