# Setup Referral Forms

**GoAffPro** provides you with the option to set up referral forms.

> The referral forms feature lets you capture leads through a form on your website. Affiliates can refer visitors to your website, and when these visitors fill out those forms, our app will capture those leads and credit them to the corresponding affiliates who referred them.

To set up referral forms, go to the **Form referrals** tab in the GoAffPro admin panel.

<figure><img src="/files/BAvRQpbsELpQDSGhsMtj" alt=""><figcaption><p>Form referrals</p></figcaption></figure>

Here, click on **Setup form**.

<figure><img src="/files/gGe55F0CoVzOELtJb2pk" alt=""><figcaption><p>Click on Setup form</p></figcaption></figure>

This will open up the New form section.

<figure><img src="/files/kxQFVP1FIoknW9dzD4FW" alt=""><figcaption><p>New form</p></figcaption></figure>

Here, set the form name.

<figure><img src="/files/2jXbd2YODzeo1WKFzTFO" alt=""><figcaption><p>Set the form name</p></figcaption></figure>

Now, select the form type.

{% hint style="info" %}
Here, you have the option to connect an existing form or create and embed a new form on your website.&#x20;
{% endhint %}

<figure><img src="/files/vIgD08PXG5wyXkNRyQz7" alt=""><figcaption><p>Select the form type</p></figcaption></figure>

After this, click on **Submit**.

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

It will open up the Edit form section.

<figure><img src="/files/KkbhVh91QEgyp3Rd7IjN" alt=""><figcaption><p>Edit form</p></figcaption></figure>

Here, add the page URL.

<figure><img src="/files/8p0X7DPGcqjXO4Yxblob" alt=""><figcaption><p>Add the page URL</p></figcaption></figure>

Now, set the form selector.

<figure><img src="/files/l5MaaCeWKwpI0Eb8ZmZX" alt=""><figcaption><p>Set the form selector</p></figcaption></figure>

Next, click on **Add a field**.&#x20;

<figure><img src="/files/1mYj3sSsL7GIwoSa4lQ2" alt=""><figcaption><p>Click on Add a field</p></figcaption></figure>

Next, select the name of the field and set the selector.

<figure><img src="/files/2i1tMOtMbxwSOaN3eIRE" alt=""><figcaption><p>Select the name of the field and set the selector</p></figcaption></figure>

You also have the option to set up a lead bonus.&#x20;

<figure><img src="/files/KprhX5WY8RbkloNg4egL" alt=""><figcaption><p>Set the lead bonus</p></figcaption></figure>

There is also an option to enable the lead notification for affiliates.&#x20;

<figure><img src="/files/d9x97lDgP27AxvltqJ0O" alt=""><figcaption><p>Enable lead notification for affiliates</p></figcaption></figure>

Finally, click on **Submit**.

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

The referral form will be saved.&#x20;

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

{% embed url="<https://youtu.be/9wdMbaF9HFU>" %}
Setup Referral Forms
{% 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/extra-settings/setup-referral-forms.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.
