Cross-Domain Tracking
Cross-domain tracking returns a conversion on your shop or funnel to the property that owns the ad click, when the shop is on another root 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. The purchase goes to the destination property first. AnyTrack then copies it to the source property, which owns the ad click, and the source property sends it to your ad platforms.
The destination property also has visitors from other traffic sources, for example its own ads, email, or search. Their conversions stay in the destination property. Across two properties of one account, AnyTrack copies a conversion only when the visitor clicked through from the source domain and the event is in the Event Names list. Across two AnyTrack accounts, the outgoing webhook of the partner also has a list of events. Keep the same events in the two lists.
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. In one account, if the event name is in the Event Names list of the source property, AnyTrack copies the conversion to the source property. Across AnyTrack accounts, an outgoing webhook of the partner property sends the conversion. See Across Properties or Across AnyTrack Accounts.
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”Across properties of one account, Sync Conversions copies the conversion to the source property. Across AnyTrack accounts, the setup has two more parts: the AnyTrack integration in your account, and an outgoing webhook on the partner property.
| 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, and an outgoing webhook with your webhook URL. No cross-domain settings. |
| What you add in your account | Nothing | The AnyTrack integration from the Integration Catalog. You give its webhook URL to the partner. |
| 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 |
Connect Two AnyTrack Accounts
Section titled “Connect Two AnyTrack Accounts”- In your account, install the AnyTrack integration from the Integration Catalog. See AnyTrack Multiaccount.
- Copy the webhook URL of the integration. Give the webhook URL to the partner.
- In the partner account, the partner adds an outgoing webhook to the partner property. The partner pastes your webhook URL and selects the same events as in your Event Names list. See Webhooks (Outgoing).
The two partner guides in Pick Your Guide have each step.
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.
- In one account, only the events in the Event Names list come back. An event outside the list stays on the destination property. Across accounts, two lists hold the events: your Event Names list and the outgoing webhook of the partner. Keep the same events in your Event Names list and in the outgoing webhook of the partner. To stop an event, remove it from both lists.
- 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. - Cross-Domain Tracking does not support a Shopify permalink. Do not use a Shopify permalink in a Cross-Domain Tracking setup. A direct link to a Shopify cart or checkout is a separate setup with one 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-12-02
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?
Does the setup across two AnyTrack accounts use the AnyTrack integration and an outgoing webhook?
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.