> 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's *跟踪促销代码*，您可以添加 [归因逻辑](#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. 从左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 内容 →** [**促销代码**](https://app.impact.com/secure/advertiser/engage/ads/view-adv-promo-codes-flow.ihtml).
2. 在右上角，选择 **创建促销代码 → 跟踪**.
   * 如果您看不到此选项， [先启用促销代码跟踪](/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="/files/0a009ecb3b418b2f2a04f75b71360f44aa0ccbad" alt="" width="299"><figcaption></figcaption></figure></div>

3. 填写相关字段：

<details>

<summary>合作伙伴</summary>

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

</details>

<details>

<summary>促销代码</summary>

| **设置** | **描述**                                                                                                                                                                                                                                                                                                                  |
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 促销代码   | 输入您的 **唯一的字母数字促销代码** （Regex 代码区分大小写）。                                                                                                                                                                                                                                                                                   |
| 可用日期   | <p>使用这些字段设置促销代码处于激活状态的时间范围。<br><br>• <strong>开始日期：</strong> 选择促销代码开始生效的日期和时间。如果留空，该代码将立即生效。<br></p><p><strong>• 结束日期：</strong> 选择促销代码到期的日期和时间。如果留空，它将无限期运行。</p><p><strong>• 清除日期：</strong> 选择此选项可删除以下两项中的值： <em>开始日期</em> 和 <em>结束日期</em> 字段。<br></p><p><strong>• 时区：</strong> 为开始和结束日期选择适当的时区，以确保该代码的可用性与特定地区保持一致。</p> |
| 交易     | 如果促销代码与先前创建的交易相关联，请使用 ![](/files/9ee7bd3c79aae4d0667377d18611647c3469f8d1)**\[下拉菜单]** 以选择该交易。                                                                                                                                                                                                                           |

</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="/pages/61ba811a6d80073109f9347454a1be09607c0d58">Regex 说明</a> ，以了解如何使用 regex 来匹配您的促销代码。</p>                                   |

</details>

<details>

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

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

</details>

4. 选择 **保存** 完成后。


---

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