# Set Referral Link Style

**GoAffPro** provides you with the option to set the referral link style for affiliates.

{% hint style="info" %}
The referral code style option allows you to customize how referral codes are generated for affiliates. Referral codes are unique codes found at the end of the referral link. You can configure the referral code style to be generated in formats such as random strings, affiliate names, and more.
{% endhint %}

To set the referral link style for affiliates, go to the **Advanced** section in the **Settings** tab of the GoAffPro admin panel.

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

Here, go to the Referral link section.

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

Now, click on the **Referral Link Style** section.

<figure><img src="/files/WDZgu5kI22rZfH1Y63cj" alt=""><figcaption><p>Click on the Referral Link Style section</p></figcaption></figure>

This will open up the Referral Code Style window.

<figure><img src="/files/Lx5gjgoq35bjQd2xERd9" alt=""><figcaption><p>Referral Code Style</p></figcaption></figure>

Here, select the referral code style.

| Styles               | Example                                                                      |
| -------------------- | ---------------------------------------------------------------------------- |
| **Random String**    | <https://example.com/?ref=5k2pAo40Xf>  <https://example.com/?ref=mKspEoPx1G> |
| **Random Number**    | <https://example.com/?ref=923403>  <https://example.com/?ref=761343>         |
| **Sequence**         | <https://example.com/?ref=1>  <https://example.com/?ref=2>                   |
| **Affiliate's Name** | <https://example.com/?ref=johndoe>  <https://example.com/?ref=janedoe>       |
| **Dictionary Words** | <https://example.com/?ref=crazyowl>  <https://example.com/?ref=coldrooster>  |
| **Custom Style**     | Use tags to customize the referral code of affiliates                        |

<figure><img src="/files/7TOGd5JsjSw7TnY1ux3V" alt=""><figcaption><p>Select the referral code style</p></figcaption></figure>

After this, click on **Submit**.

<figure><img src="/files/ygsLAV7x86mwZ9ZvgXKb" alt=""><figcaption><p>Click on Submit</p></figcaption></figure>

The new referral code style will be set for affiliates.&#x20;

<figure><img src="/files/eYWhYGIlcKkEpRtCVxrq" alt=""><figcaption><p>The referral code style will be set</p></figcaption></figure>

The new referral code style will be applied for new affiliate registrations.

{% hint style="info" %}
Changing the referral code style will not change the referral codes of existing affiliates.&#x20;
{% endhint %}

<figure><img src="/files/NJTEcGlg8MDAcVSQuMj0" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/78dWg8zXy9s>" %}
Set Referral Link Style
{% 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/set-referral-link-style.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.
