# Set Referral Link Parameters

**GoAffPro** provides you with the option to set parameters for affiliate referral links.

{% hint style="info" %}
The referral link parameters option lets you add UTM parameters to the affiliate referral links. This allows tracking specific information, such as the source, medium, and campaign associated with each referral link.
{% endhint %}

To set parameters for affiliate referral links, go to the **Advanced** section of the **Settings** tab in the GoAffPro admin panel.

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

Here, go to the Referral Link Parameters section.

![Referral Link Parameters](/files/-M9vNpNKI6LQCuh4Jezi)

Now, enter the parameters you want to set for the affiliate's referral link.

{% hint style="info" %}
When adding the parameters, the **utm\_source**, **utm\_medium**, and **utm\_campaign** parameters should always be used. Whereas, the **utm\_term** and **utm\_content** parameters are optional.
{% endhint %}

![Enter the parameters for the referral link](/files/-M9vO2rg0xiPPs3Jhve3)

After this, click on **Save**.

![Click on Save](/files/-M9yjduPid1qdX5D0GO4)

The parameters that have been set will be added to the referral links of all the affiliates.

![](/files/-M9ykN1XsxIx6FSpO6Qv)

<details>

<summary>Dynamic Referral Link Parameters</summary>

**To add dynamic UTM parameters to the referral link of affiliates, you can use the following tags:**

{affiliate\_id}

{name}

{email}

{ref\_code}

Example: If you want to use the {name} parameter, it can be added to the link like: utm\_source={name}

For profile information, the following tags are available (if those are set in the affiliate's profile):

{coupon}

{instagram}

{twitter}

{address\_1}

{address\_2}

{city}

{state}

{country}&#x20;

{zip}

</details>

{% embed url="<https://youtu.be/YMhLnup2C0E>" %}
Set Referral Link Parameters
{% 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/advanced-settings/set-referral-link-parameters.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.
