# Review Site and Partner Funnel

> Cross-domain tracking across two AnyTrack accounts, from your review site to a ClickFunnels 2.0 funnel that a partner tracks, with the host rule, the events, and the checks.

You run ads to a review page on your domain. The review page recommends an offer that sells through a ClickFunnels 2.0 funnel. A partner owns the funnel and tracks it in another AnyTrack account. This guide sends the funnel purchases back to your review site 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 review site property has the Tracking Tag in the head section of every page.", done: false },
    { label: "The partner property has the ClickFunnels 2.0 integration, with the Tracking Tag in the Header Code of the funnel.", done: false },
    { label: "The partner account is on the Personal or Advance plan. These plans have Webhooks (outgoing).", done: false },
    { label: "You and the partner agree on the events to share, for example Purchase.", done: false },
  ]}
/>

## How the Data Travels

**Review Site to a Partner Funnel**

The outgoing webhook of the partner property sends each funnel purchase to the AnyTrack integration of your review site property.

1. **Visitor clicks your ad**. Tools: Google Ads. Your account. The visitor lands on your review page and clicks the link to the partner funnel.
2. **Visitor buys in the funnel**. Tools: ClickFunnels. Partner account. The link carries `atrefid`. The partner property records the order as a `Purchase`. Data: atrefid (present).
3. **Partner webhook sends the purchase**. Partner account. The outgoing webhook of the funnel property sends the `Purchase` to your webhook URL.
4. **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).
5. **Your property sends the purchase**. Tools: Google Ads. Your property attributes the `Purchase` to your ad and sends it to the ad platform.

Result: **Purchase on your property**. You see the purchase on your ad. Your partner sees it in the funnel property.

ClickFunnels sends the order to the partner property through the ClickFunnels webhook. AnyTrack matches the order to the funnel visit, which arrived with `atrefid`. The outgoing webhook of the partner property then sends the order to the AnyTrack integration of your review site property. Your property reads the `atrefid` value and matches the order to your visitor.

## Who Does What

<Table variant="specs">

| Task | You (review site account) | Partner (funnel account) |
| --- | --- | --- |
| Tracking Tag | On every review page | In the Header Code of every funnel page |
| Integration | Your ad platform, and the **AnyTrack** integration from the Integration Catalog | ClickFunnels 2.0, with the AnyTrack webhook |
| Cross-Domain Settings | Domains, Sync Conversions, and Event Names | None |
| Outgoing webhook | None. You give the webhook URL of the AnyTrack integration to the partner. | One webhook on the funnel property, with your webhook URL and the events to share |

</Table>

## Step 1: The Partner Sets Up the Funnel Property

The partner does these steps in the funnel account:

1. Set up the ClickFunnels 2.0 integration. Follow [ClickFunnels 2.0](/docs/clickfunnels2), including the Tracking Tag and the webhook.
2. Make a test order in the funnel.
3. Verify that the `Purchase` shows in the [Conversions Report](/docs/conversions-report) of the funnel property.

## Step 2: Find Each Host of the Funnel

1. Open each step of the funnel in your browser: the sales page, the order page, and the upsell page.
2. Read the host in the address bar of each step, for example `offer.partner.com`.
3. Note each different host. A funnel on a custom domain and a funnel on a ClickFunnels domain have different hosts.

## Step 3: Configure Your Review Site Property

1. Open your review site property.
2. Open the **Settings** tab, then find **Cross-Domain Settings**.
3. In **Additional Domains**, enter the root domain of the funnel, for example `partner.com`. Press Enter.
4. Enter each exact host from Step 2, for example `offer.partner.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. Click **Save**.

<Callout icon="🚧" theme="warn">
**The root domain alone is not enough across accounts**

The root domain tags your links to every host of the funnel. Across accounts, the copy also needs the exact host of the funnel page in the list. Without it, the purchase stays in the partner account.
</Callout>

## Step 4: Install the AnyTrack Integration in Your Account

1. Open the [Integration Catalog](https://dashboard.anytrack.io/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 review site property to the partner. The Property ID is the 12-character ID in your Tracking Tag code.

See [AnyTrack Multiaccount](/docs/anytrack-multiaccount) for the details of the integration.

## Step 5: The Partner Adds an Outgoing Webhook

The partner does these steps in the funnel account:

1. Open the funnel 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. If you do not want the opt-ins of the funnel, keep `CompleteRegistration` out of both lists.
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)](/docs/webhooks-outgoing) for each option.

## Step 6: Verify the Setup

1. Open the review page in a new incognito window.
2. Hover over the link to the funnel. The link URL must contain `?atrefid=`.
3. Click the link and complete a test order in the funnel.
4. Ask the partner to verify that the `Purchase` shows in the funnel property.
5. Open the [Events Log](/docs/integration-event-log) of the AnyTrack integration in your account. The `Purchase` from the partner shows there.
6. Open the Conversions Report of your review site property. The same `Purchase` shows with the traffic source of your visit.

## What to Expect

<Table variant="specs">

| Funnel event | Event name in AnyTrack | Sent to your review site property |
| --- | --- | --- |
| Paid order (`order.completed`) | `Purchase` | Yes, when `Purchase` is in your Event Names list and in the outgoing webhook of the partner |
| Opt-in (`contact.created`) | `CompleteRegistration` | Yes, when `CompleteRegistration` is in your Event Names list and in the outgoing webhook of the partner |
| Upsell order (`order.completed`) | `Purchase` | Yes. The partner property records a separate `Purchase` for each upsell, and the webhook sends each one. |

</Table>

The partner funnel property keeps each event too, as a referral from your domain. Your review site property sends the copies to your connected ad platforms through the Conversion API.

## 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
- [ClickFunnels 2.0](/docs/clickfunnels2): the funnel integration
- [AnyTrack Multiaccount](/docs/anytrack-multiaccount): the AnyTrack integration and its webhook URL
- [Webhooks (Outgoing)](/docs/webhooks-outgoing): each option of the webhook form
- [Advertorial and Partner Shop](/docs/cross-domain-accounts-advertorial-shop): the same setup with a shop

<FaqAccordion
  title="Frequently Asked Questions"
  icon="fa-duotone fa-circle-question"
  items={[
    {
      question: "The funnel purchase shows in the partner account but not in mine. What do I check?",
      answer: "Check five points. 1. The link carries <code>atrefid</code>. 2. The exact host of the funnel page is in your Additional Domains list. 3. The outgoing webhook of the partner is enabled, has your webhook URL, and has <code>Purchase</code> selected. 4. The Events Log of your AnyTrack integration shows the event. 5. The funnel pages load the Tracking Tag of the partner property, in the Header Code."
    },
    {
      question: "Does my review site property receive the upsells of the funnel?",
      answer: "Yes. Each upsell triggers the <code>order.completed</code> webhook of ClickFunnels, and the partner property records it as a separate <code>Purchase</code>. With <code>Purchase</code> selected in the outgoing webhook of the partner, the webhook sends each upsell to your review site property."
    },
    {
      question: "Does the partner need to change the ClickFunnels webhook?",
      answer: "No. The partner keeps the standard ClickFunnels 2.0 setup. The partner adds one outgoing webhook to the funnel property, with your webhook URL. The partner property needs no cross-domain settings."
    },
    {
      question: "Does this setup use the AnyTrack integration and an outgoing webhook?",
      answer: "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 funnel property, with your webhook URL and the events to share. See Step 4 and Step 5."
    },
    {
      question: "The funnel uses a custom domain and a ClickFunnels domain. Which one do I add?",
      answer: "Add both. Enter the root domain and the exact host of each funnel step that the visitor opens."
    }
  ]}
/>
