# Automatically Add Referral Code to Outgoing Links

**GoAffPro** provides you with the option to automatically add the referral code to the outgoing links on your store.

To automatically add the referral code to the outgoing links on your store, go to the **Advanced** section of the **Settings** tab in the GoAffPro admin panel.

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

Here, go to the Referral link section.

<figure><img src="/files/ukhlI6xa4BgBIJIW9WIc" alt=""><figcaption><p>Referral link</p></figcaption></figure>

Now, you can disable the toggle or keep it enabled.

{% hint style="info" %}
The Auto Ref linking option is enabled by default.
{% endhint %}

<figure><img src="/files/4aiSO3cKn56xgt49HQZE" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/OkC_iBnpHg0>" %}
Automatically Add Referral Code to Outgoing Links
{% endembed %}


---

# 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/referral-link-configuration/automatically-add-referral-code-to-outgoing-links.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.
