> 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/ja/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/ja/what-would-you-like-to-learn-about/technical-integration-guides/shopify-plugin-consent-management-explained.md)を最大限に活用できるようにしてください。パートナーを正しく設定すると、顧客がプライバシー／Cookieのポップアップをスキップした場合でも、キャッシュバックおよびロイヤリティの紹介プログラムへの参加を通じてすでに同意を得ているため、パートナー経由のトラフィックを確実に追跡できます。

キャッシュバックおよびロイヤリティ経由のトラフィックを確実に追跡するには、次の2つの方法があります。

* **ブランド主導の方法** — 必要な更新を自社で実施できるため、パートナーに変更を依頼せずに、より細かく管理できます。
* **パートナー主導の方法** — この方法を利用できるのは承認済みパートナーのみで、通常はパートナー側に追加作業が必要です。

#### ブランド主導の方法：動的なランディングページURLを設定する

まず、impact.comの [ゲートウェイ設定](https://help.impact.com/brand/ja/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/configure-gateway-tracking-settings.md)を更新し、次にキャッシュバック／ロイヤリティパートナーに [カスタムトラッキング値](https://help.impact.com/brand/ja/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://1458456015-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://1458456015-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/ja/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://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[エンゲージ] → パートナー → パートナー**.
2. 該当するパートナーにカーソルを合わせ、行の右端にある ![](https://1458456015-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/ja/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/ja/what-would-you-like-to-learn-about/account-administration/account-settings/manage-tasks.md) 機能を使って、アクション項目を割り当てます。
   * **メッセージ** — impact.com に組み込まれている [メッセージ](https://help.impact.com/brand/ja/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/ja/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/ja/nitsuitebitaidesuka/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/ja/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.
