Skip to content

Set up cross-domain tracking between your advertorial and a shop that a partner tracks in another AnyTrack account.

You run ads to an advertorial on your domain. The advertorial sends visitors to a shop that a partner owns and tracks in another AnyTrack account. This guide sends the shop purchases back to your advertorial property, so your ad platform receives them with your ad click.

Advertorial and Shop in Two Accounts

Across accounts, the outgoing webhook of the partner property sends the purchase to the AnyTrack integration of your property.

  1. Visitor clicks your ad. Tools: Facebook Ads. Your account. The visitor lands on your advertorial. Your property records the session with the ad click ID.
  2. Link carries atrefid. The Tracking Tag adds atrefid to the link that points to the shop. Data: atrefid (present). Passes on: ?atrefid=<Click ID>.
  3. Shop records the purchase. Partner account. The Tracking Tag and the integration of the partner property track the visit and the Purchase.
  4. Partner webhook sends the purchase. Partner account. The outgoing webhook of the shop property sends the Purchase to your webhook URL.
  5. Your integration matches the purchase. Your account. The AnyTrack integration of your property reads atrefid and matches the Purchase to your visitor. Data: atrefid (present).
  6. Your property sends the purchase. Tools: Facebook Ads. Your property attributes the Purchase to the original ad click and sends it through the Conversion API.

Result: Both accounts see the purchase. You see the purchase on your ad. Your partner sees it as a referral from your advertorial.

The partner property records each purchase first, as in one account. The outgoing webhook of the partner property then sends the purchase to the AnyTrack integration of your advertorial property. Your property reads the atrefid value, matches the purchase to your visitor, and sends the purchase to your ad platform.

TaskYou (advertorial account)Partner (shop account)
Tracking TagOn every advertorial pageOn every shop page
IntegrationYour ad platform, and the AnyTrack integration from the Integration CatalogThe shop integration, for example Shopify
Cross-Domain SettingsDomains, Sync Conversions, and Event NamesNone
Outgoing webhookNone. You give the webhook URL of the AnyTrack integration to the partner.One webhook on the shop property, with your webhook URL and the events to share

Step 1: The Partner Sets Up the Shop Property

Section titled “Step 1: The Partner Sets Up the Shop Property”

The partner does these steps in the shop account:

  1. Install the Tracking Tag on every page of the shop. For a Shopify store, follow Shopify.
  2. Set up the shop integration.
  3. Make a test order and verify that the Purchase shows in the Conversions Report of the shop property.
  1. Open a product page of the shop in your browser.
  2. Read the host in the address bar, for example www.partnershop.com.
  3. Open a second shop page, for example the cart page. Note the host if it is different.

Step 3: Configure Your Advertorial Property

Section titled “Step 3: Configure Your Advertorial Property”
  1. Open your advertorial property.
  2. Open the Settings tab, then find Cross-Domain Settings.
  3. In Additional Domains, enter the root domain of the shop, for example partnershop.com. Press Enter.
  4. Enter each exact host from Step 2, for example www.partnershop.com. Press Enter after each host.
  5. Turn on Enable to sync Conversions triggered on cross-domain properties with this property.
  6. In Event Names, keep only the events that you agreed on, for example Purchase. The list needs at least one event: with an empty list, the links carry atclid, not atrefid.
  7. Optional: turn on AutoTag UTM parameters for cross-domain properties. The partner then sees your source, medium, and campaign in the UTM parameters of each visit.
  8. Click Save.

Step 4: Install the AnyTrack Integration in Your Account

Section titled “Step 4: Install the AnyTrack Integration in Your Account”
  1. Open the Integration Catalog and search for AnyTrack.
  2. Open the AnyTrack card and click Install Integration.
  3. Copy the webhook URL of the integration.
  4. Send the webhook URL and the Property ID of your advertorial property to the partner. The Property ID is the 12-character ID in your Tracking Tag code.

See AnyTrack Multiaccount for the details of the integration.

Step 5: The Partner Adds an Outgoing Webhook

Section titled “Step 5: The Partner Adds an Outgoing Webhook”

The partner does these steps in the shop account:

  1. Open the shop property.
  2. Click Webhooks (outgoing) in the left sidebar.
  3. Click New Webhook.
  4. Enter a name in Webhook Name.
  5. Paste your webhook URL in Webhook URL.
  6. In Event Names, select the events that you agreed on, for example Purchase. Use the same events as in the Event Names list of Step 3.
  7. Under Additional filters, enter your Property ID in Cross domain property source. The webhook then sends only the events that carry an atrefid value of your property.
  8. Keep Payload Version on V1 (latest). The filter of step 7 needs this version.
  9. Click Create.

See Webhooks (Outgoing) for each option.

  1. Open the advertorial in a new incognito window.
  2. Hover over a link to a shop page. The link URL must contain ?atrefid=.
  3. Click the link and complete a test order on the shop.
  4. Ask the partner to verify that the Purchase shows in the shop property as a referral from your domain.
  5. Open the Events Log of the AnyTrack integration in your account. The Purchase from the partner shows there.
  6. Open the Conversions Report of your advertorial property. The same Purchase shows with the traffic source of your visit.
WhereWhat you see
Your advertorial propertyThe Purchase with the order value of the shop, attributed to your ad click and campaign
Your ad platformThe Purchase, sent through the Conversion API by your advertorial property
The partner shop propertyThe same Purchase, as a referral from your domain
The partner ad platformsOnly what the partner property sends, as for any other purchase

Frequently Asked Questions

FAQ was last reviewed on 2026-12-01

The purchase shows in the partner account but not in mine. What do I check?
Check five points. 1. The link carries atrefid. 2. The exact host of the shop page, for example www.partnershop.com, is in your Additional Domains list. 3. The outgoing webhook of the partner is enabled, has your webhook URL, and has the event selected. 4. The Events Log of your AnyTrack integration shows the event. 5. The visitor reached the shop through the tagged link on your advertorial.
Does the partner need cross-domain settings or a Personal plan for this setup?
The partner needs no cross-domain settings. In this setup, the partner property has the Tracking Tag, the shop integration, and one outgoing webhook. Webhooks (outgoing) are on the Personal and Advance plans, so the partner account needs one of these plans. All the cross-domain settings live on your advertorial property, which is on the Personal plan or higher.
Does this setup use the AnyTrack integration and an outgoing webhook?
Yes. The setup across two AnyTrack accounts uses both. You install the AnyTrack integration in your account and give its webhook URL to the partner. The partner adds an outgoing webhook to the shop property, with your webhook URL and the events to share. See Step 4 and Step 5.
Which events do I receive from the partner shop?
The events that you and the partner agreed on, for example Purchase. Two lists hold these events: the Event Names list of your advertorial property (Step 3), and the Event Names list of the outgoing webhook of the partner (Step 5). Keep the same events in the two lists. To stop an event, remove it from both lists.
Does the partner see my ad data?
The partner property records the visit as a referral from your domain. If you turn on AutoTag UTM parameters for cross-domain properties, the partner also sees your source, medium, and campaign names in the UTM parameters.