> 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/getting-started-with-advocate/advocate-code-types-explained.md).

# Advocate 代码类型说明

本文解释了 Advocate 计划中使用的代码之间的差异。主要有三种代码：

* **推荐代码** - 主要用作归因方式
* **优惠券代码** - 主要用作参与者和推荐奖励
* **促销代码** - 主要同时用于归因和奖励

{% tabs %}
{% tab title="推荐代码" %}
当用户在系统中注册时，会获得一个唯一的推荐代码。该代码通常采用以下形式： `FIRSTNAMELASTNAME`的形式，例如 `JOHNDOE`。默认情况下，推荐代码会显示在推荐小组件中的主文本下方。

推荐代码为用户提供了一种简单的方式来加入您的推荐计划。它们是相对简短、可读性强的代码，用户可以与朋友和家人分享。人们对优惠券代码这一概念很熟悉，因此将推荐代码作为推荐计划的一部分可以让流程更容易理解。

推荐代码不会为被推荐的好友提供奖励，它们仅用于归因。了解更多关于 [Advocate 计划分享选项](/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/advocate-program-sharing-options.md).

{% hint style="info" %}
**示例**：当被推荐的好友访问您的网站时，系统会提示他们填写表单以申请演示，并可选择输入他们从倡导者那里收到的推荐代码。
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/b7350bde0bc38a58d1ae8bcbd62152f20e0c0e07" alt=""><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="优惠券代码" %}
优惠码可以嵌入你的计划小组件或微型网站中，用于奖励参与者及其推荐的任何朋友。

“ [燃油箱奖励](/brand/zh/what-would-you-like-to-learn-about/advocate-program/advocate-rewards/fuel-tank-rewards-explained.md) 该功能通过使用唯一的优惠券代码来简化发放奖励的流程。您的计划参与者可以兑换这些代码以获得折扣、积分和其他奖励类型。

优惠券代码可以通过您的 impact.com 账户添加、删除或管理。查看我们的 [设置 Fuel Tank Rewards](/brand/zh/what-would-you-like-to-learn-about/advocate-program/advocate-rewards/set-up-a-fuel-tank-reward.md) 文章了解如何操作。您还可以跟踪哪个优惠券已发放给哪个计划参与者，并在需要时取消其奖励。

{% hint style="info" %}
**示例**：当被推荐的好友访问您的网站并在 Friend Widget 中输入其信息时，他们会收到一个可用于订单 20% 折扣的优惠券代码，可在结账时使用。该优惠券代码对该被推荐好友是唯一的，并且只能使用一次。
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/8664068302abbb1f9ce2c3109365a67e90f8b89b" alt=""><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="促销代码" %}
促销代码是消费者在生成订单时用于获得某种折扣的值。它们与优惠券代码不同之处在于，也可用于归因推荐。如果消费者在结账过程中输入了促销代码，则该促销代码值可作为转化数据的一部分传递给 impact.com。随后，impact.com 可以将促销代码值作为一种方法，把转化事件追踪回特定的倡导者。

[推荐促销代码](/brand/zh/what-would-you-like-to-learn-about/advocate-program/advocate-rewards/referral-promo-codes-for-participants.md) 是一种在推荐流程开始时将归因和奖励合并为一步的好方法。促销代码由客户倡导者提供给被推荐的好友，并提供折扣。一旦被推荐的好友在结账时使用其促销代码，该代码就会归因给客户倡导者，倡导者随后获得奖励。

为您的倡导者设置推荐促销代码需要您在您的 [项目规则](/brand/zh/what-would-you-like-to-learn-about/advocate-program/getting-started-with-advocate/advocate-program-rules-explained.md)中上传促销代码。它们可以设置为可重复使用或一次性使用。对于一次性使用代码，可以为倡导者分配多个唯一代码。当其已拥有的某个促销代码被使用后，系统会自动再给该倡导者一个新的促销代码。

{% hint style="info" %}
**示例**：您的每位倡导者都分配有 5 个一次性使用的促销代码。当某位倡导者与朋友分享其中一个代码时，朋友可在结账时输入推荐促销代码，以在购买时获得折扣。随后，系统会根据输入的促销代码将该推荐归因给该倡导者。
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/3022cd1fdc1e75a7dd79df48080bdc782ad3c3ae" alt=""><figcaption></figcaption></figure></div>
{% endtab %}
{% endtabs %}


---

# 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/getting-started-with-advocate/advocate-code-types-explained.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.
