> For the complete documentation index, see [llms.txt](https://docs.goaffpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goaffpro.com/program-settings/advanced-settings/affiliate-conflict-resolution.md).

# Affiliate Conflict Resolution

**GoAffPro** provides you with the option to set the affiliate conflict resolution.&#x20;

To set the affiliate conflict resolution, go to the **Advanced** section in the **Settings** tab of the GoAffPro admin panel.

<figure><img src="/files/fUDA3Aripl1eYEpvzyfx" alt=""><figcaption><p>Settings > Advanced</p></figcaption></figure>

Here, go to the Affiliate Conflict Resolution section.

![Affiliate Conflict Resolution](/files/-MAPaxvfumCUgvv0xSIg)

Now, select the affiliate who you want to credit for the referral sale if the customer comes to the store using two different affiliate links.

{% hint style="info" %}
The credit for the referral sale is set by default to the last affiliate whose referral link was used by the customer to visit the store.
{% endhint %}

![Select the affiliate who will be credited for the sale](/files/-MAPbQ66x9c40hK91voy)

With the "The first affiliate" option, the first affiliate whose referral link was used by the customer to visit the store will be credited with the sale.

![](/files/-MAPbZKI_H0da4kAjVbt)

<details>

<summary>Affiliate conflict resolution examples</summary>

**Example #1**&#x20;

If a customer visits your store directly > closes the browser > returns using affiliate A's link > closes the browser again > visits back using affiliate B's link, and then places the order.

If the affiliate conflict resolution is configured to:

* The last affiliate  = Affiliate B will earn the commission for that sale.
* The first affiliate = Affiliate A will earn the commission for that sale.
* The first affiliate (strict mode) = No affiliate earns the commission for that sale. (since the customer came to the store directly)

**Example #2**

If a customer visits using affiliate A's link > closes the browser > visits back using affiliate B's link, and places the order.

If the affiliate conflict resolution is configured to:

* The last affiliate  = Affiliate B will earn the commission for that sale.
* The first affiliate = Affiliate A will earn the commission for that sale.
* The first affiliate (strict mode) = Affiliate A will earn the commission for that sale.

</details>

{% embed url="<https://www.youtube.com/watch?v=0Dyjr-3-vV0&feature=youtu.be>" %}
Affiliate Conflict Resolution
{% endembed %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.goaffpro.com/program-settings/advanced-settings/affiliate-conflict-resolution.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
