> 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/platform-features/promo-codes/create-a-promo-code.md).

# 创建促销代码

促销代码与优惠券代码类似，是客户在结账时可以输入到字段中的唯一字符串，以获得折扣。不过，与优惠券代码不同，使用 impact.com 的 *促销代码追踪*，您可以添加 [归因规则](#para-idm73492854945518) ，将销售或转化归因于特定合作伙伴或媒体来源。这能激励客户购买您的品牌产品，并加强您与合作伙伴的关系。

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2F987UYG9UWiWOSmPx2M3P%2FHow_to_create_promo_codes_on_impact.com.mp4?alt=media&token=56de2bd8-0e67-4e53-ac38-c643090ef106>" %}

1. 在左侧导航菜单中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[Engage] → 内容 →** [**促销代码**](https://app.impact.com/secure/advertiser/engage/ads/view-adv-promo-codes-flow.ihtml).
2. 在右上角，选择 **创建促销代码 → 追踪**.
   * 如果看不到此选项，请先 [启用促销代码追踪](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/promo-codes/enable-promo-code-tracking.md) 。

<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%2FZVOVbtrypTYEvrBd4SXX%2FScreenshot%202026-05-07%20at%2009.53.47.png?alt=media&amp;token=b5e0411d-3ec8-48f0-8e17-adc72fae7b9f" alt="" width="299"><figcaption></figcaption></figure></div>

3. 填写相关字段：

<details>

<summary>合作伙伴</summary>

| **设置** | **说明**                                                                                               |
| ------ | ---------------------------------------------------------------------------------------------------- |
| 媒体     | 选择要分配此促销代码的 **合作伙伴** 或 **媒体来源** 。所选合作伙伴是唯一可以获得此代码归因的合作伙伴。如果其他合作伙伴推广了该代码，impact.com 会将由此产生的转化标记为无效转化。 |

</details>

<details>

<summary>促销代码</summary>

| **设置** | **说明**                                                                                                                                                                                                                                                                                                        |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 促销代码   | 输入您的 **唯一字母数字促销代码** （正则表达式代码区分大小写）。                                                                                                                                                                                                                                                                           |
| 可用日期   | <p>使用这些字段设置促销代码的有效时间范围。<br><br>• <strong>开始日期：</strong> 选择促销代码开始生效的日期和时间。如果留空，代码将立即生效。<br></p><p><strong>• 结束日期：</strong> 选择促销代码到期的日期和时间。如果留空，代码将无限期有效。</p><p><strong>• 清除日期：</strong> 选择此选项可清除 <em>开始日期</em> 和 <em>结束日期</em> 字段中的值。<br></p><p><strong>• 时区：</strong> 为开始日期和结束日期选择适当的时区，确保代码的可用时间与特定地区相符。</p> |
| 交易     | 如果促销代码关联到之前创建的优惠，请使用 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-c2cb550b55c51ea1eeff0acbd6f437a03b621a2c%2F60d033ae8a04c14498d5229c3c0160ac05feea7f605dbd770741793c900469f0.svg?alt=media)**\[下拉菜单]** 选择该优惠。        |

</details>

<details>

<summary>付款</summary>

| **设置** | **说明**                                                                                                                                                                                                                                                                                                            |
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 归因政策   | <p>控制使用促销代码时，合作伙伴或媒体来源在何种情况下可获得转化归因：<br></p><p><strong>• 始终归因</strong> — 始终将归因记入促销代码。分配了此政策的合作伙伴所带来的点击不会被追踪，因此，虽然合作伙伴仍会获得归因，但报告中不会显示点击数据。</p><p><strong>• 有参与时归因</strong> — 只有在合作伙伴带来点击时，促销代码才会获得归因。</p><p><strong>• 获胜时归因</strong> — 只有在合作伙伴带来了获胜点击时，促销代码才会获得归因。</p>                                             |
| 匹配类型   | <p>• <strong>完全匹配</strong> — 促销代码必须完全匹配，合作伙伴才能获得归因。</p><p>• <strong>正则表达式</strong> （高级）—<br>使用正则表达式匹配促销代码的不同变体。</p><p>• 请参阅 <a href="https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/promo-codes/regular-expression/regex-explained.md">正则表达式详解</a> ，了解如何使用正则表达式匹配促销代码。</p> |

</details>

<details>

<summary>电子邮件通知</summary>

| **设置** | **说明**                                                     |
| ------ | ---------------------------------------------------------- |
| 电子邮件地址 | 输入要接收此新促销代码通知的电子邮件地址。多个地址请用逗号分隔。如果此字段留空，通知将发送到合作伙伴的默认联系邮箱。 |
| 备注（可选） | 向合作伙伴发送有关此促销代码的备注或说明。                                      |

</details>

4. 选择 **创建** 完成后。

如需在创建促销代码后进行修改，请参阅 [编辑促销代码](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/promo-codes/manage-your-promo-codes.md#edit-a-promo-code).


---

# 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/platform-features/promo-codes/create-a-promo-code.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.
