Skip to main content
All CollectionsTrackingFAQs
Is Trackdesk Working Across Subdomains?
Is Trackdesk Working Across Subdomains?
Zuzana Toulcová avatar
Written by Zuzana Toulcová
Updated over 2 months ago

Absolutely. Trackdesk is designed to function seamlessly across subdomains. Here's a breakdown of how it operates:

How is a cookie saved on a subdomain?

When a user lands on a subdomain, such as abc.mydomain.com, a JavaScript "click" script runs. This script produces a cookie, which is then stored on the main, or parent, domain. As a result, this cookie is accessible not only by the initial subdomain (abc.mydomain.com) but also by sibling subdomains (like efg.mydomain.com) and the parent domain (mydomain.com).

In other words, the cookie is consistently saved on the parent domain, ensuring that conversions can be registered on the parent domain and on any associated subdomains.

How are conversions tracked on subdomains?

With the cookie available across a range of domains, tracking conversions or user actions on any of these becomes straightforward. For instance, if you aim to register a conversion when a user performs a specific task on efg.mydomain.com, you can extract the data from the cookie and activate the conversion event right from that domain. The same methodology applies whether the action occurs on abc.mydomain.com, efg.mydomain.com, or the parent domain, mydomain.com, all thanks to the universally accessible cookie data.

Did this answer your question?