> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upmind.com/llms.txt
> Use this file to discover all available pages before exploring further.

# What are Affiliate Links and How do they work?

> Check What are Affiliate Links and How do they work? Affiliate helps you to grow more with others efforts and earn more profit doing less. Click Now!

Affiliate links are URLs which your affiliates can use to send a user to a page on your website, while setting up a cookie to track the referral so that any future orders are assigned to them.

At its most simple, an affiliate link can send a user to your brand homepage.

### How to set up an affiliate link

1. In the affiliate panel (either as a client or staff) click 'Add Affiliate Link'.

2. Enter a destination URL and display name (for your reference)

3. Add the link. You will be given an affiliate link that can be shared.

<Note>
  Allowed affiliate domains - Your clients can't just set redirects to any website. For security reasons the domain they set as a redirect destination needs to be added as a domain under `settings`>`domains`
</Note>

### Setting a default affiliate link destination

You can set a default affiliate link destination under `settings`>`affiliates` under Default Link Redirect.

<img src="https://mintcdn.com/upmind/2ooSxDpt6PiIGMr-/images/fb/07820d9a43d36f04.png?fit=max&auto=format&n=2ooSxDpt6PiIGMr-&q=85&s=b031cde96c59d064d4fb775833c11256" alt="" width="1560" height="266" data-path="images/fb/07820d9a43d36f04.png" />

### Changing the referral cookie lifetime

Under `settings`>`affiliates` you can change the length of time the referral cookie is valid. You can set the number of days.

Within that period, any signups will be credited to the referrer whose link was used.

<img src="https://mintcdn.com/upmind/pcUdSuxUJ6LgBXnd/images/fb/a14ef49acce31e41.png?fit=max&auto=format&n=pcUdSuxUJ6LgBXnd&q=85&s=80457289abb9f6953179274579bb8fb9" alt="" width="1582" height="180" data-path="images/fb/a14ef49acce31e41.png" />
