# Setup Cross Domain Tracking

**GoAffPro** provides you with the option to set up cross domain tracking. It allows you to track sales across different domains.

{% hint style="info" %}
**Example**: If the store's URL is <https://store.com> and its landing page is <https://landing.com> \
\
Here, if you want to track customers being referred by affiliates to the landing page (<https://landing.com>) and finally placing the order on the store (<https://store.com>), you will  be using cross domain tracking for this.
{% endhint %}

To set up cross domain tracking, go to the **Advanced** section of the **Settings** tab in the GoAffPro admin panel.

#### Embed third party tracking code on the landing page:

Here, go to the Third Party tracking section.

![Third Party Tracking](/files/rPOVpj3TPDUCoK9Ean3j)

Now, enable the toggle.

![Enable the toggle](/files/NmPLeWXyHWbyMwihGdSc)

After this, embed the third party tracking code on the landing page.&#x20;

![Embed the third party tracking code ](/files/d4HYAEnR2WJLio0Sc2u9)

#### Set up cross domain tracking:

Next, go to the Cross Domain Tracking section.&#x20;

![Cross Domain Tracking](/files/qkVEOk7lSVNTfMowSVUc)

Click on **Setup**.&#x20;

![Click on Setup](/files/mciazXRIVmqZF63dGUy5)

Here, select the "I don't have a shared" option.

![Select "I don't have a shared key" option](/files/zpRtA9WeyGc317yB6C25)

Now, click on **Generate Shared Key**.

![Click on Generate Shared Key](/files/B9JddRC7Lg7S1wQqItBt)

#### Set referral links to direct customers to the landing page:

Now, go to the Default Referral link section.

![Default Referral Link](/files/0k0EUTICHea68XBsHA2f)

Here, paste the URL of the landing page.&#x20;

![Paste the URL of the landing page](/files/LAmwsxOl5TcqYOVVD9qO)

Finally, click on **Submit**.

![Click on Submit](/files/bxfd5rbjab01dWKHIt85)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.goaffpro.com/program-settings/advanced-settings/setup-cross-domain-tracking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
