Cross domain tracking allows you to identify users and track their behavior across multiple domains. This enables you to run experiments that span different websites and accurately attribute conversions even when users navigate between domains.
Pro Feature: Cross domain tracking requires a Pro plan. It's perfect for setups where users start on one domain and convert on another, or when you need to track user behavior across multiple related websites.
When you add an additional allowed domain to your project, Stellar is able to identify the same user across both your original domain and the additional domain. This means:
Setting up cross domain tracking is straightforward. Follow these steps to get started:
checkout.example.com)Tip: You can add multiple domains to track user behavior across your entire ecosystem of websites.
Once a domain is added to your allowed domains list, you need to install the same Stellar snippet on the additional domain. This is the exact same snippet you use on your original domain.
Important: Use the identical snippet code on all domains. The same API key must be used across all tracked domains for cross-domain identification to work properly.
When installing the snippet on additional domains, the anti-flicker version becomes less critical. Here's why:
Note: If you do plan to run visual experiments on the additional domain, you can still use the anti-flicker snippet. However, for most tracking-only scenarios, the standard snippet is sufficient.
Cross domain tracking is particularly useful in the following scenarios:
You run A/B tests on your marketing site (www.example.com) and users complete purchases on a separate checkout domain (checkout.example.com). With cross-domain tracking, you can accurately measure which variant led to the conversion.
If you operate multiple related websites (e.g., brand1.com and brand2.com), you can track users moving between them and understand the complete customer journey.
For businesses with separate subdomains for different purposes (e.g., blog.example.com, shop.example.com, support.example.com), cross-domain tracking ensures a unified view of user behavior.
Let's walk through a practical example of setting up cross-domain tracking:
Scenario: You have a marketing website at marketing.example.com where you run headline tests, and a separate checkout site at checkout.example.com where users complete purchases.
marketing.example.comcheckout.example.com to your Additional Allowed Domainsmarketing.example.com (with anti-flicker if running visual experiments)checkout.example.com (standard snippet is fine)marketing.example.com testing different headlinescheckout.example.comcheckout.example.com are correctly attributed to the experiment variant they saw on marketing.example.comSuccess! You can now see which headline variant drives the most purchases, even though the purchase happens on a completely different domain.
If users aren't being tracked across domains, check the following:
If conversions are firing but not being attributed to experiments: