About cookies tracking

The tag will use the listed domain-s to set the tracking cookie.

If you have set your domain as `website.com`, the cookie will be set to `.website.com`.

However, if you have set your domain as `www.website.com`, the cookie will be set to `.www.website.com`.

The tag is always using the widest possible domain. If you have set `order.website.com` and `website.com`, the cookie will be set on `.website.com`. Specify the subdomain is of any use in this situation and you can remove it.

Cookies are shared following the descending tree domain, but not the other way around! In other words, cookies set on `.domain.com` will be shared with `.subdomain.domain.com` but cookies set on `.subdomain.domain.com` won't be shared with `.domain.com`.

Keep that in mind when setting up your domain and ensure this won't cause tracking issues.

Tracking matrix

Set domain-s
Risk
Comment

website.com

No

The cookie will be set on .website.com

order.website.com website.com

No

The cookie will be set on .website.com. You should remove the subdomain as it is already included in the domain.

Visitors will be tracked along all subdomains.

order.website.com www.website.com

Yes

The cookie will be set either on order or on www, depending on where it is currently executed. A visitor on order won't be recognized on www.

We strongly advise you to make sure this is what you want.

website.com other-website.com

No

Cookie will be set depending on the domain it is currently executed.

Last updated

Was this helpful?