> For the complete documentation index, see [llms.txt](https://docs.uppromote.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uppromote.com/settings/affiliate-link-settings/custom-link/auto-create-custom-link.md).

# Auto-create custom link

Custom links in affiliate marketing provide a range of advantages, including personalization, improved user experience, higher click rates, and the ability to collect valuable data for optimization.

With the Auto-create custom link feature, you'll have the ability to effortlessly generate unique, customized affiliate links tailored to your affiliates on a large scale. No more manual tinkering or copying and pasting; this feature automates the process, putting the power of optimization and personalization at your fingertips.

## How to set up?

1. To activate Auto-create custom link, go to **Settings** > **Link & coupon** > **Custom affiliate link** and turn on **Auto-create custom link.**

<figure><img src="/files/Q4gwzN5fW1fFa0li7lDu" alt="" width="563"><figcaption></figcaption></figure>

2. Enter the provided variables from the below note into the **Link format** field so the system can generate corresponding custom links for new-registered affiliates. You can include other characters, such as letters or special characters to the field.

<figure><img src="/files/xLQOkulxclZrQbJ19FVM" alt="" width="563"><figcaption></figcaption></figure>

In this example, the link format has a variable **{first\_name}** and other characters like **\_** and **affiliate.** Therefore, when an affiliate named John signs up, he will receive get this custom link: *<mark style="color:blue;"><https://uppromote-test.myshopify.com/JOHN\\_affiliate></mark>*, just like the example underneath the **Link format** box.&#x20;

3. If you want to generate custom links with the link format above for existing affiliates, kindly check this box and remember to press **Save** so the system can start generating for you. UpPromote will send you an email to inform you about a successful or failed (if any) custom link generation.

<figure><img src="/files/4d3mhrQeYhMRyev9uBWO" alt="" width="563"><figcaption></figcaption></figure>

### Update Custom link&#x20;

If you update the Default affiliate link for each program or modify UTM parameters, this changes the Affiliate link but the Custom link will not be updated accordingly and automatically.&#x20;

In that case, you can click the **Re-sync links** button in the Custom affiliate link settings to update all custom links to follow the latest Affiliate link. We will inform you via the Notification center when the Re-sync process is done.&#x20;

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.uppromote.com/settings/affiliate-link-settings/custom-link/auto-create-custom-link.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
