> 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/technical-integration-guides/track-cashback-and-loyalty-traffic-with-shopify.md).

# 使用 Shopify 跟踪返现和忠诚度流量

作为使用 impact.com 的 Shopify 插件的品牌，请确保您的返现和忠诚度合作伙伴配置正确，以便充分受益于我们插件的 [同意管理更新](/brand/zh/what-would-you-like-to-learn-about/technical-integration-guides/shopify-plugin-consent-management-explained.md). 正确设置这些合作伙伴后，即使客户跳过您的隐私/Cookie 弹窗，您也能可靠地跟踪其流量，因为他们的同意已通过参与返现和忠诚度推荐而事先获得。

您有 2 种方案可确保您的返现和忠诚度流量被可靠跟踪：

* **品牌主导方案** — 通过允许您自行实施所需更新，而无需依赖合作伙伴进行任何更改，从而让您拥有更多控制权。
* **合作伙伴主导方案** — 此方案仅适用于已获批准的合作伙伴，通常还需要他们付出额外工作。

#### 品牌主导方案：配置动态落地页 URL

首先，更新您的 impact.com [网关设置](/brand/zh/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/configure-gateway-tracking-settings.md)，然后分配一个 [自定义跟踪值](/brand/zh/what-would-you-like-to-learn-about/platform-features/tracking/set-up-tracking/assign-custom-tracking-values-to-partners.md) 给您的返现/忠诚度合作伙伴。完成后，每当您从这些合作伙伴处获得流量时，impact.com 都会在您的落地页 URL 后附加所需参数。

**步骤 1：更新您的网关设置**

1. 在顶部导航栏中，选择 ![](/files/34cff7cafbbfcd416778a35b63cb058c27bcda8b) **\[用户资料] → 设置**.
2. 在右侧栏中，向下滚动到 *跟踪* 部分并选择 **Gateway**.
3. 下方 *项目跟踪模板*, ![](/files/a4d92afe6e302635e52a9d3b155bca7a8dedb2ea) **\[添加]** 新行。
4. 回车 `im_rewards` 在 *名称* 字段，并 `{mp_value1}` 在 *值* 字段中。
   * 或者，如果您已在使用 `{mp_value1}` 字段用于其他用途，则请使用 `{mp_value2}` 或 `{mp_value3}`.
5. **保存** 你的更改。

**步骤 2：分配自定义跟踪值**

{% hint style="info" %}
**提示：** 如果您有大量返现和忠诚度合作伙伴，您可以 [批量编辑](/brand/zh/what-would-you-like-to-learn-about/platform-features/tracking/set-up-tracking/assign-custom-tracking-values-to-partners.md#bulk-edit-partner-custom-values-0-1) 他们的自定义值，而无需按照此流程操作。
{% endhint %}

1. 在左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 合作伙伴 → 合作伙伴**.
2. 将鼠标悬停在相关合作伙伴上，然后在行末选择 ![](/files/48274f9251fd79e93a99aad7b4393690b07a61c9) **\[更多] → 跟踪 → 自定义值**.
   * 如果您的返现和忠诚度合作伙伴属于各自的 [合作伙伴组](/brand/zh/what-would-you-like-to-learn-about/platform-features/reach-out-to-partners/partner-groups/create-and-manage-partner-groups.md)，请使用 **组名称** 筛选器即可轻松找到它们。
3. 在 *编辑合作伙伴自定义值* 屏幕中，在 *合作伙伴值 1* 字段，输入 **1**.
   * 如果您已设置 `{mp_value2}` 或 `{mp_value3}` 网关设置中的查询字符串参数，您仍然需要输入 **1** 作为 *合作伙伴价值*.
4. **保存** 您的更改，然后对所有返现和忠诚度合作伙伴重复此过程。
5. 最后，我们建议您联系您的 CSM 或 [支持](https://app.impact.com/support/portal.ihtml) 以确保针对您的使用场景一切都已正确实施。

#### 合作伙伴主导方案：向合作伙伴分享说明

使用此方案时，请注意您的返现和忠诚度合作伙伴需要手动更新其跟踪链接，这会为人为错误留下更多空间，并且需要他们付出额外工作。

{% hint style="warning" %}
**请记住：** 此方法仅适用于目前已获得 impact.com 批准采用此跟踪设置的合作伙伴。如果未获批准的合作伙伴尝试使用此参数，您可能会遇到部分跟踪丢失。
{% endhint %}

1. 可通过以下任一方式联系您的返现和忠诚度合作伙伴：
   * **任务** — 使用 impact.com 内置的 [任务](/brand/zh/what-would-you-like-to-learn-about/account-administration/account-settings/manage-tasks.md) 功能来分配行动项。
   * **消息** — 使用 impact.com 内置的 [消息](/brand/zh/what-would-you-like-to-learn-about/platform-features/reach-out-to-partners/messaging/send-a-message-to-a-partner.md) 功能轻松联系他们。
   * **商务联系人** — 直接联系合作伙伴的 [商务联系人](/brand/zh/what-would-you-like-to-learn-about/platform-features/reach-out-to-partners/partner-management/get-partner-contact-information.md).
2. 请合作伙伴添加 `im_rewards=1` 参数到他们的跟踪链接中。
   * 向合作伙伴分享这份关于如何向跟踪链接添加动态参数的指南： [向您的跟踪链接添加报告信息](/partner/zh/ni-xiang-liao-jie-shen-me/platform-features/tracking/tracking-links/create-and-manage-links/add-reporting-information-to-your-tracking-links.md).

{% hint style="info" %}
**示例：** 以下是合作伙伴跟踪链接的示例样式： `https://stark-industries.pxf.io/c/1111/222222/3333?&im_rewards=1`
{% endhint %}


---

# 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/technical-integration-guides/track-cashback-and-loyalty-traffic-with-shopify.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.
