Cross Domain Tracking

Use the cross-domain settings in AnyTrack to unify customer journeys that span across multiple domains.

🚧

Affiliate Marketers

There's no need to enable cross-domain tracking if your site features affiliate links directing users to external offers. Cross-domain tracking is for tracking users across your own websites.

📘

Prerequisites

To implement cross-domain tracking:

  • Have an AnyTrack account with an active subscription
  • Create one property for the landing page where you send traffic
  • Create one property for the shop where conversions are triggered

What is Cross-Domain Tracking?

Track users as they navigate across multiple domains without losing session data. Cross-domain tracking ensures users maintain their session across sites, preserving campaign identifiers and first-party data as they move between domains.

For example, if you operate a shop and a blog on separate domains and use ads to drive blog traffic, recognize the same visitors when they move to the shop. This ensures purchase conversions are attributed to the original ads, providing accurate ad effectiveness tracking across domains.

Adding an additional domain in Cross-Domain Settings.

Adding an additional domain in Cross-Domain Settings.

Popular Cross-Domain Tracking Use Cases

  • Track users across a blog and Shopify store on different domains
  • Track across a website and cart system (refer to Integration Catalog setup guides)
  • Track across two AnyTrack accounts
  • Track across multiple shops on different domains like example.com, example.fr, example.co.uk
  • Run independent ad campaigns for your blog and shop
  • Build custom audiences on both properties based on conversions and events from Shopify

Data Flow in Cross-Domain Tracking

View how AnyTrack unifies tracking data from a Facebook Ads user who clicks an ad, lands on one domain, and navigates to a shop on another domain. When the user converts, AnyTrack reports which ad drove the sale back to Facebook Ads.

Cross domain tracking explained through a visual data flow between a blog and a webshop running on Shopify

Cross-Domain tracking allows to unify the conversion data from multiple domains into one session.

  1. User clicks a Facebook Ads ad and lands on your blog (domain A)
  2. AnyTrack collects first-party data (Facebook click ID, GA cookie) and traffic data (UTM parameters)
  3. AnyTrack AutoTags the product CTA with cross-domain parameters
  4. User clicks the product CTA; AnyTrack passes cross-domain signals to the CTA URL
  5. User lands on the shop and purchases the product
  6. Shopify sends conversion event data to AnyTrack
  7. AnyTrack tracks the conversion from the shop property
  8. AnyTrack sends the Purchase to the blog property
  9. AnyTrack sends the Purchase event to Facebook Conversion API
  10. Facebook applies attribution rules and reports the conversion in Ads Manager

Configuring Your Cross-Domain Settings

The settings below assume that you have two distinct domains and that you have created a property for each of the domains.

Use these terms:

  • Blog: The blog advertised on Facebook Ads containing an article with a Call To Action (CTA) URL pointing to the shop
  • Shop: A Shopify store on a different domain than the blog, configured with the AnyTrack Tracking Tag

Prerequisites

  • Create a property for each website and install the Tracking Tag on each
  • Configure the shop integration (e.g., Shopify with Webhooks)

Blog property settings

Find the cross-domain settings on the settings tab of the property settings section on AnyTrack.

Find the Cross-domain settings on the Settings tab of the Property Settings section on AnyTrack.

  1. Open property settings
  2. Scroll down to cross-domain tracking settings
  3. Add the shop domain to the cross-domain field and save
👍

Cross domain session

From now on all links from blog pointing to shop will pass the tracking data required to preserve the user session from the blog to the shop.

shop.foo?atclid=iVObG39NSjt34OZlBzUye

Shop property settings

  1. Open property settings
  2. Scroll down to cross-domain tracking settings
  3. Toggle Sync Conversions with the cross-domain property
  4. Optional: Toggle UTM parameters to forward UTM campaign data to the shop URL
  5. Save
👍

Cross domain conversions

From now on, all conversions happening on the shop and originating from a cross domain session will be forwarded to the blog property.

Find the cross-domain settings on the settings tab of the property settings section on AnyTrack.

Find the Cross-domain settings on the Settings tab of the Property Settings section on AnyTrack.

Validating Cross-Domain Tracking

  1. Save cross-domain tracking changes, open the cross-domain property website, and hover on links pointing to the cross-domain destination. You should see the ?atclid= or ?atrefid= parameter appended to links. If not visible, open a new incognito/guest window and repeat.
Links to the cross-domain destination will be auto-tagged with `atclid`.

Links to the cross-domain destination will be auto-tagged with atclid.

When Sync Conversions is On, links will be auto-tagged with the atrefid.

When Sync Conversions is On, links will be auto-tagged with the atrefid.

  1. Click the link and navigate through the funnel
  2. Open the conversion event page of the cross-domain property to verify conversions received from your shop
  3. Use AnyTrack AutoScan to verify links affected by cross-domain settings. The Tracking Group indicates "crossdomain" or "AnyTrack" if Sync Conversions is enabled.
AutoScan shows which links are affected by cross-domain settings.

AutoScan shows which links are affected by cross-domain settings.

Validation in external tools:

  • Check Google Analytics real-time dashboard for conversions
  • Allow 15-20 minutes for Facebook Event Manager to display conversions
  • Use webhooks to send conversions to Google Sheets or Airtable

Cross-Domain Tracking in Cart Systems

🚧

Supported Cart Systems

For cart systems listed in the AnyTrack Integration Catalog, please refer to their respective setup guides. These guides indicate whether cross-domain tracking settings are necessary and how to implement them.

Suppose your online store operates on store.com, but checkout is handled on store.cart.com (a subdomain of a different domain). You've installed the same tracking tags (Meta Pixel and Google Analytics) on both the store and cart system. When a user clicks the Checkout button to navigate to the checkout page, several actions occur:

🚫

Without Cross-Domain Tracking

  1. New Session Starts: A new session starts when a user moves from store.com to store.cart.com, with source and medium set as store.com / referral
  2. New Cookies Set: New cookies are set specific to the new domain, losing session continuity
  3. Misattributed Conversion: Conversions are wrongly attributed to store.com / referral rather than the original traffic source like an ad campaign

With Cross-Domain Tracking

  1. Session Continuity: The session remains open and retains the source/medium from the initial visit, such as a Facebook Ads ad
  2. Cookie Continuity: Cookie data is passed to the checkout page URL, maintaining tracking data integrity across domains
  3. Accurate Conversion Tracking: Google Analytics records conversions and attributes them to the correct initial session and user
  4. Correct Ad Attribution: Conversions are correctly attributed to the ad that initially brought the user to your store, enhancing ad effectiveness

Configure Cross-Domain Tracking Between AnyTrack Accounts

Set up cross-domain tracking across different AnyTrack accounts when one partner has a shop and another has a website that promotes the shop. Use an outbound webhook in the cross-domain property account and the AnyTrack Multiaccount Integration in the cross-domain destination account to receive webhooks.

Setup Guide

  1. Install the AnyTrack Multiaccount Integration on the cross-domain destination account from the Integration Catalog and copy its postback URL.

    Install the AnyTrack integration on the account with the cross-domain destination.

    Install the AnyTrack integration on the account with the cross-domain destination.

  2. Set up an Outbound Webhook on the cross-domain property account pointing to the postback URL from Step 1. Include all conversion events you want to sync.

    Use an Outbound Webhook to send the events to the cross-domain destination.

    Use an Outbound Webhook to send the events to the cross-domain destination.

  3. Add the cross-domain destination domain to the cross-domain settings on the cross-domain property account and save.

Frequently Asked Questions

FAQ was last reviewed on 2026-02-21

No. Add only the root domain and AnyTrack handles the rest.
No. It will generate self referral traffic which will corrupt your tracking.
Yes, but you'll need a way to get conversions to sync with your account.
No. Thrivecart has its own integration settings that you should follow and which covers the cross domain tracking requirements.
No. Currently the UTM parameters are set by default.