> 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/1cbb667ec4878308f24ec4acd13cbf03ede0bdfe) **\[用户资料] → 设置**.
2. 在右侧栏中，向下滚动到 *跟踪* 部分并选择 **Gateway**.
3. 在以下内容下方 *Program Tracking Template*, ![](/files/a4d92afe6e302635e52a9d3b155bca7a8dedb2ea) **\[添加]** 新增一行。
4. Enter `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] → Partners → Partners**.
2. 将鼠标悬停在相关合作伙伴上，然后在行尾选择 ![](/files/48274f9251fd79e93a99aad7b4393690b07a61c9) **\[More] → Tracking → Custom Values**.
   * 如果您的返现和忠诚度合作伙伴属于他们自己的 [合作伙伴组](/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/nin-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:

```
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>
```

The question should be specific, self-contained, and written in natural language.
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.
