# Advertorial and Partner Shop

> Cross-domain tracking across two AnyTrack accounts, from your advertorial to a partner shop, with the steps for each account, the host rule, and the expected results.

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.

<Prerequisites
  title="Before you begin"
  items={[
    { label: "Your account is on the Personal plan or higher.", done: false },
    { label: "Your advertorial property has the Tracking Tag in the head section of every page.", done: false },
    { label: "The partner has a property for the shop, with its Tracking Tag and its integration, for example Shopify.", done: false },
    { label: "You and the partner agree on the events to share, for example Purchase.", done: false },
  ]}
/>

## How the Data Travels

**Advertorial and Shop in Two Accounts**

Across accounts, AnyTrack copies the purchase only if the shop host is in the cross-domain list of the advertorial 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. **AnyTrack checks the shop host**. The shop page host, for example `www.shop.com`, must be in your list. The event name must be in your Event Names list. Data: host in your list (present), event name in your list (present).
5. **Your property sends the purchase**. Tools: Facebook Ads. Your property attributes the copy 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 data flow is the same as in one account, with one extra check. Before AnyTrack copies a conversion to your account, AnyTrack verifies that the host of the shop page is in your cross-domain list.

## Who Does What

<Table variant="specs">

| Task | You (advertorial account) | Partner (shop account) |
| --- | --- | --- |
| Tracking Tag | On every advertorial page | On every shop page |
| Integration | Your ad platform | The shop integration, for example Shopify |
| Cross-Domain Settings | Domains, Sync Conversions, and Event Names | None |
| Outgoing webhook or AnyTrack Multiaccount integration | Not needed | Not needed |

</Table>

## 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](/docs/shopify).
2. Set up the shop integration.
3. Make a test order and verify that the `Purchase` shows in the [Conversions Report](/docs/conversions-report) of the shop property.

## Step 2: Find the Exact Host of the Shop

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.

<Callout icon="🚧" theme="warn">
**The exact host decides across accounts**

Across accounts, `partnershop.com` does not match `www.partnershop.com`. If the host of the shop page is not in your list, the purchase stays in the partner account.
</Callout>

## 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`.
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**.

<Callout icon="📘" theme="info">
**Link to shop pages**

This guide covers links that open a shop page with the partner Tracking Tag. A link that goes straight to a Shopify cart or checkout is a different method. See [Shopify Cart Permalinks](/docs/buy-now-button-or-permalink).
</Callout>

## Step 4: Verify the Setup

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 Conversions Report of your advertorial property. The same `Purchase` shows with the traffic source of your visit.

## What to Expect

<Table variant="specs">

| Where | What you see |
| --- | --- |
| Your advertorial property | The `Purchase` with the order value of the shop, attributed to your ad click and campaign |
| Your ad platform | The `Purchase`, sent through the Conversion API by your advertorial property |
| The partner shop property | The same `Purchase`, as a referral from your domain |
| The partner ad platforms | Only what the partner property sends, as for any other purchase |

</Table>

<Callout icon="📘" theme="info">
**Order value, not commission**

The copy carries the order value that the shop records. If the partner pays you a commission, your ROAS in AnyTrack uses the order value, not the commission.
</Callout>

## Related Articles

- [Cross-Domain Tracking](/docs/cross-domain-tracking): when you need it and how it works
- [Cross-Domain Settings](/docs/cross-domain-settings): each field and the host rule
- [Review Site and Partner Funnel](/docs/cross-domain-accounts-review-clickfunnels): the same setup with a ClickFunnels funnel
- [Advertorial and Shopify](/docs/cross-domain-advertorial-shopify): the same flow in one account

<FaqAccordion
  title="Frequently Asked Questions"
  icon="fa-duotone fa-circle-question"
  items={[
    {
      question: "The purchase shows in the partner account but not in mine. What do I check?",
      answer: "Check four points. 1. The link carries <code>atrefid</code>. 2. The exact host of the shop page, for example www.partnershop.com, is in your Additional Domains list. 3. The event name is in your Event Names list. 4. The visitor reached the shop through the tagged link on your advertorial."
    },
    {
      question: "Does the partner need cross-domain settings or a Personal plan for this setup?",
      answer: "The partner needs no cross-domain settings. The partner property needs the Tracking Tag and the shop integration. All the cross-domain settings live on your advertorial property, which is on the Personal plan or higher."
    },
    {
      question: "Do we still need the AnyTrack Multiaccount integration and an outgoing webhook?",
      answer: "No. Sync Conversions copies the purchase across accounts when the host of the shop page is in your cross-domain list."
    },
    {
      question: "Which events do I receive from the partner shop?",
      answer: "Only the events in the Event Names list of your advertorial property. Remove the events that you and the partner did not agree to share."
    },
    {
      question: "Does the partner see my ad data?",
      answer: "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."
    }
  ]}
/>
