> 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 分享选项](/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="https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-ea88073f93a71871801c724444707842e339dd9b%2F9f5106faf1bc102a44d939296d3315878ca2300f918bb3345df1f45d9458d730.png?alt=media" alt=""><figcaption></figcaption></figure></div>
{% endtab %}

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

该 [Fuel Tank Rewards](/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="https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-3a1fe72867766b21f49b2c22657db27e3772bd37%2F6bb4d0bd0e3a1343617b2ae32e17a72edd7272cddc63e627474c468f84e77cba.png?alt=media" 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="https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-320dcc46acec91f1e0f6222c11f8a2310704428e%2F01d583ad2ac6d70e4bc28d7cfa02e9cc3deb45555c26884893c5bbcfb8713c0b.png?alt=media" 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.
