> 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). Agents can also search and read this documentation through its [MCP server](https://help.impact.com/~gitbook/mcp).

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

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

您有两种选择，可确保可靠地跟踪返现和忠诚度流量：

* **品牌主导方案** — 您可以自行实施所需的更新，无需依赖合作伙伴进行任何更改，从而获得更高的控制权。
* **合作伙伴主导方案** — 此方案仅适用于已获批准的合作伙伴，而且通常需要他们额外投入工作。

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

首先，更新您的 impact.com [网关设置](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/configure-gateway-tracking-settings.md)，然后为您的 [返现/忠诚度合作伙伴](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) 分配自定义跟踪值。完成后，每当您收到来自这些合作伙伴的流量时，impact.com 都会将所需参数附加到您的落地页 URL。

**第 1 步：更新网关设置**

1. 在顶部导航栏中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2F210dEQa93qyQgoJDkieL%2FUser%20profile.svg?alt=media\&token=f84c5b17-fae4-4a30-990a-9de5e57a150b) **\[用户个人资料] → 设置**.
2. 在右侧栏中向下滚动到 *跟踪* 部分，然后选择 **网关**.
3. 在 *计划跟踪模板*, ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-6282f271b7521383385339243690b303086736d9%2F3b5a585dd2895bdf1c30d1236c72ba590dddd18717863b27074c8d313d05ae20.svg?alt=media) **\[添加]** 新行。
4. 在 `im_rewards` 中 *名称* 字段输入 `{mp_value1}` 中 *，并在* 值字段中输入。
   * 或者，如果您已将 `{mp_value1}` 字段用于其他用途，请使用 `{mp_value2}` 或 `{mp_value3}`.
5. **保存** 所做的更改。

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

{% hint style="info" %}
**提示：** 如果返现和忠诚度合作伙伴数量较多，您可以 [批量编辑](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#bulk-edit-partner-custom-values-0-1) 他们的自定义值，而不必按此流程逐一操作。
{% endhint %}

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) **\[互动] → 合作伙伴 → 合作伙伴**.
2. 将鼠标悬停在相关合作伙伴上，然后在该行末尾选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FMLtRUwWz0pujlfmYWOgg%2FMoreVN.svg?alt=media\&token=03a3c355-a347-4207-baf7-c44fadf6d080) **\[更多] → 跟踪 → 自定义值**.
   * 如果您的返现和忠诚度合作伙伴属于他们自己的 [合作伙伴组](https://help.impact.com/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 内置的 [任务](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/account-administration/account-settings/manage-tasks.md) 功能分配一项待办事项。
   * **消息** — 使用 impact.com 内置的 [消息](https://help.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) 功能轻松联系他们。
   * **业务联系人** — 直接联系合作伙伴的 [业务联系人](https://help.impact.com/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` 参数。
   * 与合作伙伴分享这份指南，说明如何在跟踪链接中添加动态参数： [向跟踪链接添加报告信息](https://help.impact.com/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 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/technical-integration-guides/track-cashback-and-loyalty-traffic-with-shopify.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.
