> 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/set-up-referral-promo-codes.md).

# 设置推荐促销码

在程序规则中上传一批推荐促销码，然后通过小组件或微型网站向推荐人提供这些促销码。

1. 在左侧导航菜单中，选择 ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[互动] → 计划规则**.
2. 滚动到 *促销码* 部分，然后选择 **设置促销码**。对于推荐促销码，此选项可以设为 **多次使用** 或 **一次性使用**.
   * 建议使用一次性代码，而非可多次使用的代码，因为这样有助于尽量减少欺诈行为。

     <div data-with-frame="true"><figure><img src="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FGe75pFju4pGaCP0wkeOP%2FScreenshot%202026-05-19%20at%2011.12.14.png?alt=media&#x26;token=f17160ae-8f36-484e-accc-7a03b84fe2a1" alt="" width="563"><figcaption></figcaption></figure></div>
3. 选择要为每位推荐人提供的代码数量。只有在选择创建 **一次性使用** 促销码后，才会显示此选项。

   * 这是推荐人一次持有的未使用代码数量，而非终身限额。了解 [已使用的代码如何补充](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/advocate-rewards/referral-promo-codes-for-participants/replace-used-promo-codes.md).

   <div data-with-frame="true"><figure><img src="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FTg8TB9rIZdUufsT56vGR%2FScreenshot%202026-05-19%20at%2011.13.16.png?alt=media&#x26;token=0697bf68-55a7-4cd5-a1aa-cd0b1a8fe48d" alt="" width="375"><figcaption></figcaption></figure></div>
4. 你可以设置在促销码即将不足时接收通知。
   * 当代码数量达到你在通知部分设置的数量时，我们会向你发送电子邮件，提醒你代码即将不足。务必确保程序中的代码数量不会降至零，因为只有在有未使用代码可用时，才能补充已使用的代码。代码即将不足时，请务必上传更多代码，以确保程序顺利运行。
5. 选择 **上传代码** 即可上传一批推荐促销码。

   * 你将转到一个页面，可在此上传采用任一受支持文件格式的代码批次。

   <div data-with-frame="true"><figure><img src="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FC01ajR9Orj70bvZ0Zs0M%2FScreenshot%202026-05-19%20at%2011.14.59.png?alt=media&#x26;token=44888203-2077-480d-b81a-ca37492a36dc" alt="" width="375"><figcaption></figcaption></figure></div>
6. 选择 **保存** 促销码配置完成后。系统会弹出窗口，询问你是否确定要保存。启用一次性代码后，此操作无法撤销。

<div data-with-frame="true"><figure><img src="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FCxnU8l4xOjtmKBqip9jl%2FScreenshot%202026-05-19%20at%2012.16.57.png?alt=media&#x26;token=3158ea8d-6b22-4de8-80b5-2e4cc9e4e154" alt="" width="344"><figcaption></figcaption></figure></div>

7. 选择 ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FwXho9QKP3e4iU4ZKUSJ5%2F167ebb8cc30303.svg?alt=media\&token=a046e9f0-63aa-46f6-8a35-f73973fd326c) **\[复选框]** 即可自动将新的促销码模板应用到小组件。
   * 或者，如果你已有小组件或微型网站，也可以手动添加推荐促销码组件。具体操作是：在左侧导航栏中前往 **内容** ，然后选择编辑小组件或微型网站。选择 **添加** ，即可在右侧为现有小组件或微型网站添加组件。详细了解 [小组件和微型网站组件](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/widget-and-microsite-components-explained.md).

上传推荐促销码后，系统会自动生成代码，并通过你设置的 [小组件](https://help.impact.com/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="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-21993c32d4b6f889783325b921cbf28a6bba4c45%2Fd87e360ea05fc772c976e14f0d24ad85084e28eefdd0c1d5c9410098aa3f1a65.jpg?alt=media" alt="" width="375"><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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/advocate-rewards/referral-promo-codes-for-participants/set-up-referral-promo-codes.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
