> 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 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="优惠券代码" %}
优惠码可以集成到您的程序小组件或微型网站中，用于奖励您的参与者以及他们推荐的任何朋友。

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

优惠券代码可以通过您的 impact.com 账户添加、删除或管理。请查看我们的 [设置 Fuel Tank 奖励](/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 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/getting-started-with-advocate/advocate-code-types-explained.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.
