> 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 program 中所使用代码之间的差异。主要有三种代码：

* **推荐代码** - 主要用作归因方式
* **优惠券代码** - 主要用作参与者和推荐奖励
* **促销代码** - 主要用于将归因和奖励合二为一

{% tabs %}
{% tab title="推荐代码" %}
当用户在系统中注册时，会向其提供一个唯一的推荐代码。该代码通常采用 `FIRSTNAMELASTNAME`，例如 `JOHNDOE`。默认情况下，推荐代码会显示在推荐组件中，位于主文本正下方。

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

推荐代码不会为被推荐的朋友提供奖励，它们仅用于归因。了解更多关于 [Advocate Program Sharing Options](/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="优惠券代码" %}
优惠码可以集成到您的计划小组件或微型网站中，用于奖励您的参与者以及他们推荐的任何朋友。

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

优惠券代码可以通过您的 impact.com 账户添加、删除或管理。查看我们的 [Set Up a 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.
