> 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/tracking/set-up-tracking/assign-custom-tracking-values-to-partners.md).

# 为合作伙伴分配自定义跟踪值

<a href="https://pxa.impact.com/student/activity/1117597?sid=0c0e3e5c-54c9-4435-9bee-ebcdccb7f292&#x26;sid_i=0?utm_source=app.impact.com&#x26;utm_medium=owned-platform&#x26;utm_content=tra-350&#x26;utm_campaign=help-center" class="button primary">参加 PXA 课程</a>

您最多可以为合作伙伴分配三个自定义值。一旦分配了自定义值，您就可以将这些值添加到落地页查询字符串中。为合作伙伴分配自定义值有助于：

* 在内部分析仪表板中按名称识别合作伙伴。
* 指定与该合作伙伴相关的流量类型（例如，付费搜索、电子邮件、忠诚度、优惠券、工具栏等）。
* 跟踪您是否曾通过其他网络与该合作伙伴合作，并希望能够合并数据并分配来自其他网络的合作伙伴 ID。

{% hint style="info" %}
**注意：** 当您设置自定义合作伙伴值后，数据将从您最后一次 [更新合作伙伴合同](/brand/zh/what-would-you-like-to-learn-about/platform-features/contracts-and-template-terms/template-terms/modify-template-terms.md)的日期开始填充。查看历史数据并避免混淆时，请仅考虑在实施合作伙伴值之后收集的数据。
{% endhint %}

#### 分配自定义值

1. 在左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 合作伙伴 → 合作伙伴**.
   * 或者，对于创作者项目，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 合作伙伴 → 创作者**.
2. 将鼠标悬停在您要设置自定义值的合作伙伴上，然后选择 ![](/files/48274f9251fd79e93a99aad7b4393690b07a61c9) **\[更多] → 跟踪 → 自定义值**.
3. 选择 *合作伙伴值* 要设置的字段。
   * 最多可设置三个值。
4. 输入一个值并选择 **保存**.

   <div data-with-frame="true"><figure><img src="/files/13a5afa60d2889151df1adf5b051cac8ef0d7727" alt="" width="375"><figcaption></figcaption></figure></div>

   * 要查看您现有的所有合作伙伴自定义值，请选择 ![](/files/34cff7cafbbfcd416778a35b63cb058c27bcda8b) **\[用户资料] → 设置 → 合作伙伴自定义值**.

{% hint style="info" %}
**注意：** 合作伙伴自定义值对应于 `{mp_value1}` 落地页查询字符串参数的动态值。请参见 [Gateway 跟踪模板](/brand/zh/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/gateway-tracking-templates.md) 以了解更多背景信息。
{% endhint %}

#### 批量编辑合作伙伴自定义值

合作伙伴自定义值也可以通过 .XLSX 或 .CSV 文件批量上传和配置。

1. 在左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 合作伙伴 → 合作伙伴**.
   * 或者，对于创作者项目，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 合作伙伴 → 创作者** 并在右上角选择 ![](/files/48274f9251fd79e93a99aad7b4393690b07a61c9) **\[更多] → 恢复到旧版界面**.
2. 在右上角，选择 **批量编辑**.
3. 选择 **选择文件** 并上传包含您所有自定义值的文件。
   * 选择 **显示/隐藏文件格式详细信息** 以了解所需文件格式的更多信息。
   * 您也可以选择 **将列复制到剪贴板** 并将模板粘贴到电子表格中。

     <div data-with-frame="true"><figure><img src="/files/7047cd14590b4903855f9163711acd4ab5f49a59" alt="" width="375"><figcaption></figcaption></figure></div>
4. 选择 **下一步**.
5. 数据将加载到 *合作伙伴值批量上传* 屏幕中，其中包含您列出的所有合作伙伴 ID 和自定义值。
   * 您可以在这里查看验证错误、下载错误文件，并筛选仅显示错误或通过的值。
6. 选择 **接受并创建合作伙伴自定义值**.

#### 将合作伙伴自定义值添加到落地页查询字符串

要将您的合作伙伴值设置到落地页查询字符串中：

1. 在顶部导航栏中，选择 ![](/files/34cff7cafbbfcd416778a35b63cb058c27bcda8b) **\[用户资料] → 设置**.
2. 在 *跟踪* 部分下，选择 **Gateway**.
3. 下找到 *合作伙伴跟踪模板* 部分。

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>注意：</strong> 该 <em>合作伙伴跟踪模板</em> 会自动将查询字符串参数附加到所有合作伙伴的落地页。这对于将信息传递给第三方分析工具非常有用。</p></div>
4. 在提供的方框中输入名称和自定义值。
   * 请参见 [Gateway 跟踪模板](/brand/zh/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/gateway-tracking-templates.md) 了解更多信息。
5. 选择 **保存**.

   <div data-with-frame="true"><figure><img src="/files/9b51d49880bba82802b7805cb60041da186b4045" alt="" width="563"><figcaption></figcaption></figure></div>


---

# 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/tracking/set-up-tracking/assign-custom-tracking-values-to-partners.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.
