> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/assign-vanity-share-links-or-referral-codes.md).

# 为 Advocate 分配专属分享链接或推荐代码

Advocate 会自动为每位参与者生成唯一的分享链接和推荐代码。为了创建更个性化的体验，你可以为某个单独的参与者分配自定义的个性化链接或代码。

#### 关键规则和使用场景

* 个性化链接和代码必须对每位参与者唯一。
* 每个个性化链接或代码只能关联 1 个推荐计划。
* 一个参与者可以同时激活多个个性化链接和代码。

当你想为表现优异的倡导者提供一个容易记住的链接或代码时，个性化链接很有用，例如社交媒体网红（例如：share.yourdomain.com/INFLUENCER10）。

|      | 自动生成示例                         | 个性化示例                               |
| ---- | ------------------------------ | ----------------------------------- |
| 推荐码  | `CODE4746`                     | `INFLUENCER10`                      |
| 分享链接 | `share.yourdomain.com/mzw&lkO` | `share.yourdomain.com/INFLUENCER10` |

#### 打开参与者的个人资料

所有个性化分享链接和代码都在各个参与者的个人资料中管理。要在参与者的个人资料中查看此信息：

1. 在左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[互动]** → **参与者。**
2. 搜索并选择 **名称** 你想更改其代码的参与者的。这会打开其参与者个人资料。
3. 选择 **代码和链接** 选项卡，位于参与者的计划信息下方。

#### 分配个性化推荐代码

你可以将现有推荐代码转换为个性化代码，或创建新的个性化代码。

<details>

<summary>更改现有推荐代码</summary>

1. 在 *推荐代码* 标题，鼠标悬停在你想更改的代码上，然后选择 **编辑**.
2. 在 *推荐码* 框中，输入新代码。

   <div data-with-frame="true"><figure><img src="/files/4363dd4b6d51c353ae7fdc1f2e2259d704807236" alt="" width="563"><figcaption></figcaption></figure></div>
3. 可选地，如果你想永久停用旧推荐代码，请取消选择 *将 {CODE} 保留为可用的推荐代码*.
   * 如果你怀疑存在潜在的推荐欺诈，或者旧代码曾用于现已停用的活动，impact.com 建议停用旧推荐代码。
4. 可选地，如果你想自动生成新的分享链接，请取消选择 *继续使用现有分享链接*.
5. 选择 **保存**.

</details>

<details>

<summary>添加新的个性化推荐代码</summary>

1. 在 *推荐代码* 标题，选择 **添加推荐代码**.
2. 从 **项目** ![](/files/9ee7bd3c79aae4d0667377d18611647c3469f8d1) **\[下拉菜单]**，选择你希望该推荐代码用于的计划。
3. 在 *推荐码* 框中，输入个性化推荐代码。
4. 将该推荐代码设置为此计划的主推荐代码或次推荐代码。
   * 次推荐代码不会显示在计划组件、电子邮件或其他参与者接触点中。当你想开展定向活动或其他限时促销时，次代码会很有用。
5. 选择 **添加**.

当你选择 **设为主推荐代码**，Advocate 会自动生成一个新的唯一分享链接。如果你希望新的分享链接与个性化推荐代码匹配，请参阅更改现有分享链接一节。

</details>

#### 分配个性化分享链接

要使用个性化分享链接，你必须先 [设置自定义域名](/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/set-up-a-domain-for-advocate.md).

<details>

<summary>更改现有分享链接</summary>

你可以为任何现有分享链接修改个性化信息。如果你之前创建了新的个性化推荐代码，可以使用此流程来自定义自动生成的分享链接。

1. 在 *分享链接* 标题，鼠标悬停在你想更改的分享链接上，然后选择 **编辑**.
   * 此按钮仅在你已经 [设置自定义域名](/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/set-up-a-domain-for-advocate.md).
2. 用新的个性化代码更新 URL 末尾的文本。
3. 可选地，如果你想永久停用旧链接，请取消选择 *将 {LINK} 保留为可用的分享链接*.
   * 如果出现潜在的推荐欺诈，或者要停用现已不活跃活动中的链接，你可以稍后返回并通过此菜单停用旧链接。
4. 选择 **保存**.

</details>

<details>

<summary>添加新的个性化分享链接</summary>

{% hint style="success" icon="memo" %}
**注意：** 即使你没有创建相应的个性化推荐代码，也可以添加新的个性化分享链接。此选项尤其适用于定向或限量活动。
{% endhint %}

1. 在 *分享链接* 标题，选择 **添加分享链接**.
   * 只有在你 [设置自定义域名](/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/set-up-a-domain-for-advocate.md).
2. 选择你希望将分享链接用于的计划。
3. 在 URL 末尾的文本框中输入个性化代码。如果你之前创建了新的个性化推荐代码，则可以将此代码重新用于分享链接。
4. 将该分享链接设置为该计划的主链接或次链接。
   * 主链接用于组件、电子邮件、API 和集成。次链接不用于这些场景。当你想开展定向活动或其他限时促销时，次分享链接会很有用。
5. 选择 **添加**.

</details>


---

# 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://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/assign-vanity-share-links-or-referral-codes.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.
