> 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 代码类型说明

本文介绍推广者计划中使用的各种代码之间的区别。主要有三种代码：

* **推荐码** ——主要用于归因
* **优惠券代码** ——主要用于奖励参与者及其推荐的好友
* **促销码** ——主要用于同时实现归因和奖励

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

推荐码为用户参与您的推荐计划提供了一种简单的方式。这些代码相对简短，便于阅读，用户可以将其分享给亲朋好友。人们熟悉优惠券代码的概念，因此在推荐计划中使用推荐码可以让整个流程更易于理解。

推荐码不会为被推荐的好友提供奖励，仅用于归因。了解更多： [推广者计划分享选项](https://help.impact.com/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="优惠券代码" %}
优惠券代码可以集成到您的计划小组件或微型网站中，用于奖励计划参与者及其推荐的好友。

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

您可以通过 impact.com 账户添加、删除或管理优惠券代码。请参阅 [设置燃料池奖励](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/advocate-rewards/set-up-a-fuel-tank-reward.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-3a1fe72867766b21f49b2c22657db27e3772bd37%2F6bb4d0bd0e3a1343617b2ae32e17a72edd7272cddc63e627474c468f84e77cba.png?alt=media" alt=""><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="促销码" %}
促销码是消费者下订单时用于获得某种折扣的代码。与优惠券代码不同，促销码还可用于推荐归因。如果消费者在结账过程中输入促销码，该促销码的值可以作为转化数据的一部分传递给 impact.com。impact.com 随后可以使用促销码将转化事件追踪并归因到特定推广者。

[推荐促销码](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/advocate-rewards/referral-promo-codes-for-participants.md) 是将归因和奖励合并到推荐流程初始阶段的一个步骤中的有效方式。客户推广者向被推荐的好友提供促销码，让他们享受折扣。被推荐的好友在结账时使用促销码后，该推荐便会归因于客户推广者，推广者也会因此获得奖励。

要为推广者提供推荐促销码，您需要在 [计划规则](https://help.impact.com/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.
