> 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/advocate-rewards/referral-promo-codes-for-participants.md).

# 参与者推荐促销代码

{% hint style="danger" %}
**重要**：一旦该功能在你的项目中开启，就无法关闭。
{% endhint %}

推荐促销码是将归因和奖励压缩为一步的绝佳方式，位于 **开始** 推荐流程。优惠券由客户倡导者提供给被推荐的朋友，并提供折扣。一旦被推荐的朋友在结账时使用其促销码，该代码就会归因给客户倡导者，倡导者随后也会获得奖励。

你可以通过在项目规则中上传促销码，为你的倡导者创建推荐促销码。一旦你完成了你的 [计划规则](/brand/zh/what-would-you-like-to-learn-about/advocate-program/getting-started-with-advocate/configure-your-advocate-program.md) 设置，请前往 *促销代码* 部分以上传一批推荐促销码。

{% hint style="success" %}
**注意**：此功能与以下内容是分开的 [燃料箱奖励](/brand/zh/what-would-you-like-to-learn-about/advocate-program/advocate-rewards/fuel-tank-rewards-explained.md)。燃料箱奖励也使用代码，但这些代码只用于奖励参与者——不用于在倡导者和被推荐朋友之间建立归因。
{% endhint %}

#### 设置推荐促销码

1. 在左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 项目规则**.
2. 滚动到 *促销代码* 部分，然后选择 **设置促销码**。对于推荐促销码，这可以设置为以下任一项： **多次使用** 或 **一次性使用**.
   * 建议使用一次性使用码而不是多次使用码，因为这有助于将欺诈降到最低。

     <div data-with-frame="true"><figure><img src="/files/7ee28454662049426e82d57dd3040c414fb5acf6" alt="" width="563"><figcaption></figcaption></figure></div>
3. 选择你希望每位倡导者可用的代码数量。仅当你已选择创建 **一次性使用** 促销码时，此选项才可用。
   * 一位倡导者可以分配到多个代码。当他们已有的某个代码被使用后，系统会自动再给该倡导者分配一个促销码。

     <div data-with-frame="true"><figure><img src="/files/c20c1891e99c564c268b85704e7e04974b08237d" alt="" width="375"><figcaption></figcaption></figure></div>
4. 你可以设置在促销码即将不足时希望何时收到通知。
   * 一旦代码数量达到你在通知部分设置的数量，系统就会向你发送电子邮件，提醒你促销码已接近不足。确保你的项目不要耗尽为零非常重要，因此一旦库存不足，请务必创建更多代码，以保持项目顺利运行。
5. 选择 **上传代码** 以上传一批推荐促销码。
   * 你将被重定向到一个页面，在那里你可以以上传接受的任意文件格式来批量上传代码。

     <div data-with-frame="true"><figure><img src="/files/7d7f930f8078ed45502a2bf2661a602c52655a2e" alt="" width="375"><figcaption></figcaption></figure></div>
6. 选择 **保存** 在你配置好促销码后。系统会弹出一个窗口询问你是否确定要保存。一旦启用一次性代码，此操作将无法撤销。

   <div data-with-frame="true"><figure><img src="/files/4ecc4cb7647e3382b47cf8118705d05b346877b9" alt="" width="344"><figcaption></figcaption></figure></div>
7. 选择 ![](/files/d4151d93ed2da7b33e79d07ae02bdd88dbd67390) **\[复选框]** 以自动将新的促销码模板应用到你的小部件。
   * 或者，如果你已有一个小部件或微型网站，你可以手动添加推荐促销码组件。你可以通过前往 **内容** 左侧导航栏，然后选择编辑你的小部件或微型网站。选择 **添加** 右侧以向你现有的小部件或微型网站添加组件。了解更多关于 [小部件和微型网站组件](/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/widget-and-microsite-components-explained.md).

在你上传推荐促销码后，这些代码将自动生成，并通过 [小部件](/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/introduction-to-participant-experiences.md#widgets-0-0) 或你已设置的微型网站提供。

在下图中，倡导者会获得 5 个不同的代码，他们可以在这些代码之间切换并复制分享给被推荐人。如果某个代码之前已被复制，你会在代码字段下方收到通知。这有助于避免你可能将同一个代码发送给多个人的情况。

<div data-with-frame="true"><figure><img src="/files/b894510d8f7b87e5584f42f74fc39ab0cdf9cf00" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="success" %}
**注意**：如果你的倡导者代码用完并联系你索取更多，你可以在特殊情况下手动为他们创建一个代码。为此，请前往 **参与者**。选择你想为其生成新代码的参与者，然后选择 **代码和链接** 选项卡，然后选择 **添加推荐代码** 为他们生成一个新代码。该代码将添加到其小部件中的现有批次里。
{% endhint %}

#### 事件时间归因

推荐归因通过用户 upsert 进行，这些操作可通过 API 调用、用户导入，甚至小部件加载来完成。推荐促销码也可以随购买事件一起回传。你可以通过以下方式将事件传给我们： `OrderPromoCode` 来自转化 API。了解更多如何创建 [转化事件](https://integrations.impact.com/brand-api-reference/reference/conversions/conversions).

#### 查看你的促销码

你可以在以下位置查看多个详细信息： *查看代码* 界面。你可以通过查看代码类型来区分一次性代码和多次使用代码。你还可以看到哪些代码已经被使用，以及哪些倡导者被归因到哪些推荐。

{% hint style="success" %}
**注意**：一次性使用代码是最大限度降低促销码被欺诈使用风险的好方法。多次使用代码通常会在第三方网站上被共享，而一次性使用代码只能使用一次，并降低被传播到不可靠来源的可能性。
{% endhint %}

1. 在左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[互动] →** **奖励 → 代码管理器**.
2. 选择你想查看其代码的参与者。
3. 在 *查看代码* 界面上，你会找到关于已发放何种类型代码、哪些已被使用等所有相关信息。

   <div data-with-frame="true"><figure><img src="/files/9731d06e88ad5444ab48203949e46d777ee5e1ae" alt=""><figcaption></figcaption></figure></div>


---

# 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/advocate-rewards/referral-promo-codes-for-participants.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.
