> 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/shopify-plugin-consent-management-explained.md).

# Shopifyプラグインの同意管理の解説

impact.comの [Shopifyプラグイン](https://integrations.impact.com/integration-guides/for-brands/plugin-integrations/e-commerce/integrate-with-shopify) は、トラッキングと顧客の同意をまとめて管理します。

* **プライバシー規制への対応を強化** — 変化するプライバシー基準に準拠し、顧客の同意を尊重できます。
* **報酬のトラッキングを確実に** — ロイヤルティ／キャッシュバックパートナー経由のコンバージョンを常に記録できます。
* **失われたコンバージョンを可視化** — 顧客が同意しなかった場合の影響を、impact.comのレポートで確認できます。
* **すぐに有効化** — impact.com と Shopify ストアを再連携する必要はありません。設定を 1 つ更新するだけです。

トラッキングの欠落を防ぐため、Shopify の設定が正しく構成されていることを確認してください。詳しくは、以下の [*Shopify の顧客プライバシー設定を構成する*](#configure-your-shopify-customer-privacy-settings) セクションをご覧ください。

{% hint style="success" %}
**注:** impact.com の Shopify プラグインを使用している場合は、 [同意モード](https://help.impact.com/brand/ja/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/ensure-gdpr-compliance-using-consent-mode.md) を有効にしないでください。この 2 つはまだ互換性がありません。
{% endhint %}

## 仕組み

impact.com の Shopify 同意管理は、Shopify ストアで設定した同意シグナルに従うよう構成されています。独自の同意ルールを設定するものではありません。impact.com Shopify Web Pixel は、ストアの `customerPrivacyStatus.marketingAllowed` 値（`true` または `false`）を指定して、トラッキングフローを実行するかどうかを決定します。

### トラッキングが行われるタイミング

コンバージョントラッキングは、次のいずれかの条件を満たした場合にのみ行われます。

* 顧客がサイトのプライバシー／Cookieのポップアップで同意し、トラッキングを許可する。
* 顧客がキャッシュバックまたはロイヤルティパートナーのサイトにあるリンクを開き、Shopifyストアにアクセスする。この場合、紹介プログラムへの参加によって、すでに同意が確認されています。
  * このシナリオでもトラッキングを継続できるようにするには、 `im_rewards=1` キャッシュバックまたはロイヤルティのパートナー経由で顧客が訪問する場合は、ランディングページのURLにパラメーターを含める必要があります。正しく設定する方法については、担当のCSMまたは [サポート](https://app.impact.com/support/portal.ihtml) にお問い合わせいただくか、詳細については [Shopifyでキャッシュバックとロイヤルティのトラフィックを追跡する](https://help.impact.com/brand/ja/what-would-you-like-to-learn-about/technical-integration-guides/track-cashback-and-loyalty-traffic-with-shopify.md) をご覧ください。

### Page Load APIが実行される場合

Page Load APIが実行されるかどうかは、ストアの顧客プライバシー設定とページ読み込み時のデフォルト設定によって異なります。

* 次の場合、 `customerPrivacyStatus.marketingAllowed` です `true`の場合、Page Load APIが実行されます。
* 設定によっては、ページにアクセスした直後に実行される場合と、顧客が同意した後にのみ実行される場合があります。

## 同意が拒否された場合にConversion APIが送信する内容

顧客が同意を拒否した場合、コンバージョンリクエストから個人を特定できる情報（PII）が削除されてから、impact.comに送信されます。 `ClickId` および `CustomProfileId` は削除されませんが、同意が拒否される前に取得されていなければ、値は表示されません。

*省略されます（ `null` として返され、リクエストから削除されます）：*

* `CustomerEmail` （SHA1ハッシュ）
* `CustomerEmailSHA256`
* `CustomerId`
* `IpAddress` （クライアントのIPアドレス）
* `FirstPartyCookie`

*引き続きimpact.comに送信されます：*

* `OrderId`
* `ClickId` （同意が撤回される前にすでに保存されていた場合、またはURLパラメーター経由で渡された場合）
* 注文の詳細（`CurrencyCode`, `ItemSku`, `ItemSubtotal`, `ItemQuantity`, `ItemCategory`)
* `OrderPromoCode`
* `IntegrationSource`
* `CampaignId` / `ActionTrackerId`

## Shopifyの顧客プライバシー設定を構成する

1. Shopifyストアの左下隅で、 ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FG7Zr5cOHUYjH8vUdZvaB%2Fcog-solid.svg?alt=media\&token=b522fb12-36b9-49e6-8a9e-f07a2859acda) **\[設定]を選択します。**
2. 左側のナビゲーションメニューから、 **顧客のプライバシー**.
3. を選択します。 **プライバシーポリシー** を選択して、プライバシーポリシーが設定されていることを確認します。
   * Cookieバナーとデータ共有のオプトアウトページが正しく機能するには、プライバシーポリシーを公開しておく必要があります。
4. 「 **Cookieバナー** 」と **「データ共有のオプトアウトページ」** には、それぞれ独自の **自動設定を使用する** 切り替えがあります。各ページの *地域とコンテンツ* の下にあります：
   1. 「 **自動設定を使用する** 」が ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FiZjM1xY8o3v1iR3Zaysd%2FToggle.svg?alt=media\&token=b1550d48-bba9-4e81-8604-bc12370c5caa) **\[オン]** （新しいストアではデフォルトでオン）の場合、Shopifyは両方のページを最新の推奨事項に合わせて維持し、地域ごとに判断しなくても、EEAのオプトインと米国のオプトアウトの違いに対応します。
5. Shopifyの自動ロジックに従わず、すべての地域でオプトインを必須にするには、次の手順を完了します：
   1. 「 **Cookieバナー** および ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FACIoqj1Ayhx8QzL9aqYB%2Ftoggle-off-solid%20\(1\).svg?alt=media\&token=a85366cd-4b70-41a6-83df-319f89597ede) **\[オフに切り替える]** **自動設定を使用**。サードパーティの同意管理プラットフォーム（CMP）を使用していて、これらのリストがShopify独自のバナーだけに適用されると思っている場合でも、このページの地域リストをクリアしないでください。これらのリストは、impact.comを含め、Customer Privacy APIを読み取るすべてのものに適用される同意制度を制御します。
   2. 選択 **データ共有のオプトアウトページ** および ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FACIoqj1Ayhx8QzL9aqYB%2Ftoggle-off-solid%20\(1\).svg?alt=media\&token=a85366cd-4b70-41a6-83df-319f89597ede) **\[オフに切り替える]** **自動設定を使用**。Global Privacy Control（GPC）が尊重されるのは、このページで設定されている地域のみです。設定を省略すると、その地域ではGPCが適用されません。
      1. （自動設定されていない場合に）手動で有効にするには、スタッフに次の3つの権限が必要です。
         1. *ストア設定：設定を管理*
            1. *オンラインストア：ブログ記事とページ*
            2. *コンテンツ：メニュー*

{% hint style="success" %}
**注：** Shopify標準のCookieバナーではなくサードパーティのCMPを使用している場合は、サードパーティの提供元に、Shopifyの `setTrackingConsent` APIを呼び出していることを確認してください。独自のUIを表示するだけでこのAPIを一度も呼び出さないバナーでは、Customer Privacy APIがデフォルト値を報告したままになり、impact.comはそのデフォルト値を読み取ります。
{% 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/shopify-plugin-consent-management-explained.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.
