Cross-Domain Tracking
Cross-domain tracking keeps the ad click attached to a visitor who moves from your landing domain to a shop or funnel on another domain.
Cross-domain tracking connects one visitor journey across two websites that you track as two properties. The visitor clicks your ad and lands on the source domain, for example an advertorial or a review site. The visitor then buys on a destination domain, for example a Shopify store. AnyTrack copies the purchase back to the source property, which owns the ad click, and the source property sends it to your ad platforms.
Without cross-domain tracking, the purchase stays on the destination property. The destination property records the visit as a referral from your landing page, so your ad platform gets no credit for the sale.
When You Need Cross-Domain Tracking
Section titled “When You Need Cross-Domain Tracking”| Your setup | Cross-domain tracking? | What to do |
|---|---|---|
| Advertorial, blog, or review site on one domain, and a shop that you own on another domain | Yes, across properties | Advertorial and Shopify |
| Review site that links to several of your stores on different domains | Yes, across properties | Review site, stores, and affiliate offers |
| Your landing page, and a shop or funnel that a partner tracks in another AnyTrack account | Yes, across accounts | Advertorial and partner shop or Review site and partner funnel |
Subdomains of one root domain, for example www.example.com and shop.example.com | No | Use one property for all the subdomains. They share the first-party cookie. |
| Links to affiliate offers | No | Connect the affiliate network. AutoTag adds the Click ID to the SubID parameter. |
| A cart platform from the Integration Catalog, for example ThriveCart | Read the setup guide | The setup guide of the integration states if you need cross-domain tracking. |
How Cross-Domain Tracking Works
Section titled “How Cross-Domain Tracking Works”You configure everything on the source property: the property where the visitor lands from your ad. The source property lists the destination domains, and the Tracking Tag adds the atrefid parameter to every link that points to them. The value of atrefid is the Click ID of the visitor on the source property.
The Cross-Domain Round Trip
- Visitor clicks your ad. Tools: Facebook Ads. The visitor lands on the source domain, for example an advertorial. The source property starts the session with the ad click ID and the UTM parameters. Data: ad click ID (present), utm parameters (present).
- Tracking Tag tags the link. The Tag adds
atrefidto each link that points to a domain in the cross-domain list. Its value is the Click ID of the source property. Data: atrefid (present). Passes on: ?atrefid=<Click ID>. - Visitor lands on the destination. The Tracking Tag of the destination property reads
atrefidfrom the page URL and keeps it with the session. - Destination records the purchase. Tools: Shopify. The integration of the destination property sends the
Purchaseto AnyTrack. - AnyTrack copies the purchase. AnyTrack reads the source property in the
atrefidvalue. IfPurchaseis in the Event Names list of the source property, AnyTrack copies the purchase to it. - Source property sends the purchase. Tools: Facebook Ads. The source property attributes the purchase to the original ad click and sends it through the Conversion API.
Result: Attributed purchase. The campaign that sent the first click gets the credit. The destination property also keeps the purchase, as a referral from the source domain.
Applies to two properties in one account, and to two accounts. All the settings live on the source property.
The destination property does its normal job: its Tracking Tag tracks the visit and its integration records the purchase. The visit arrived with atrefid, so AnyTrack knows which source property sent the visitor. If the event name is in the Event Names list of the source property, AnyTrack copies the conversion to the source property.
Sync Conversions On or Off
Section titled “Sync Conversions On or Off”The setting Sync Conversions decides if the conversion comes back. The full dashboard label is Enable to sync Conversions triggered on cross-domain properties with this property.
Sync Conversions On or Off
Path 1, working path: Sync Conversions on.
- Link carries
atrefid. The Tracking Tag addsatrefidto links that point to the destination domain. Data: atrefid (present). - Destination records the purchase. The destination property tracks the
Purchasefrom its integration. - AnyTrack copies the purchase. The source property receives a copy of each event in its Event Names list.
Path 2, broken path: Sync Conversions off.
- Link carries
atclid. The Tracking Tag addsatclidto links that point to the destination domain. Data: atclid (present), atrefid (missing). - Destination records the purchase. The destination property tracks the
Purchasefrom its integration. Break point: AnyTrack does not copy the purchase to the source property. The connection to the next step breaks here. - Purchase stays in the destination. The destination property has no ad click for the purchase.
Path 1 result: Purchase attributed to the ad. The source property sends the purchase to its ad platforms with the original ad click.
Path 2 result: Ad gets no credit. The ad platform of the source property never receives the purchase.
With Sync Conversions off, the links carry atclid and AnyTrack copies nothing back. With two properties, always turn Sync Conversions on. See Cross-Domain Settings for each field.
Across Properties or Across AnyTrack Accounts
Section titled “Across Properties or Across AnyTrack Accounts”The data flow is the same in both setups. One check is different.
| Across properties | Across AnyTrack accounts | |
|---|---|---|
| Example | Your advertorial and your Shopify store | Your review site and the ClickFunnels funnel of a partner |
| Who configures the settings | You, on the source property | You, on the source property in your account |
| What the partner configures | Not applicable | The Tracking Tag and the integration on the partner property. No cross-domain settings. |
| What to enter in Additional Domains | The root domain, for example shop.com | The root domain and each exact host of the destination pages, for example shop.com and www.shop.com |
| Extra check before AnyTrack copies | None | The host of the destination page must be in your list |
What to Expect After Setup
Section titled “What to Expect After Setup”- The source property shows the conversion with the original ad click, the campaign, and the UTM parameters of the first visit.
- The source property sends the conversion to the ad platforms connected to it, through the Conversion API.
- The destination property keeps the conversion too. Its reports show the conversion as a referral from the source domain.
- Only the events in the Event Names list come back. An event outside the list stays on the destination property.
- Only visits that arrive through a tagged link come back. A visitor who types the shop address in the browser has no
atrefid, so the conversion stays on the destination property. - Direct links to a Shopify cart or checkout are a separate method. The Shopify checkout does not load the Tracking Tag, so
atrefiddoes not reach the store property. See Shopify Cart Permalinks. - The same pixel on two properties counts twice in Events Manager. AnyTrack does not deduplicate across properties. Ads Manager attribution stays correct. See Deduplication.
Pick Your Guide
Section titled “Pick Your Guide”Two properties in one account: an advertorial that sends visitors to your Shopify store.
A top 10 review site that links to your WooCommerce store, your Shopify store, and an affiliate offer.
Your advertorial sends visitors to a shop that a partner tracks in another AnyTrack account.
Your review site sends visitors to a ClickFunnels funnel in another AnyTrack account.
Related Articles
Section titled “Related Articles”- Cross-Domain Settings: each field, its default, and the verification steps
- AnyTrack Identifiers: the Click ID,
atrefid, andatclid - Deduplication: why the same pixel on two properties counts twice in Events Manager
- Install the AnyTrack Tag
Frequently Asked Questions
FAQ was last reviewed on 2026-11-12
Should I use one property for both domains instead of cross-domain tracking?
Can I add a domain that I do not own to the cross-domain list?
Do I need the AnyTrack Multiaccount integration and an outgoing webhook for cross-domain tracking across accounts?
Shall I add the domain of a platform integrated in AnyTrack (example: ThriveCart)?
My checkout or booking engine is embedded as an iframe on my site. Why do purchases stay in the destination property?
Purchase is selected. 3. Remove every script that adds a _ga= parameter to booking links or iframes. With _ga= present, the Tracking Tag adds atclid instead of atrefid, and only atrefid syncs a conversion to the source property. 4. Start a test booking on the source site. Finish the booking. Then check for a copy of the purchase in the source property.