> 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. 从顶部导航栏中，选择 ![](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. 在右侧列中，向下滚动到 *跟踪* 部分并选择 **Gateway**.
3. 在下方 *Program Tracking Template*, ![](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" %}
**提示：** 如果您有大量返现和忠诚度合作伙伴，您可以 [批量编辑](/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) **\[Engage] → Partners → Partners**.
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) **\[更多] → 跟踪 → 自定义值**.
   * 如果您的返现和忠诚度合作伙伴属于自己的 [合作伙伴组](/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 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.
