> 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 のレポートで確認できます。
* **すぐに有効化可能** — Shopifyストアを impact.com に再統合する必要はありません。設定を更新するだけです。

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

{% hint style="success" %}
**注:** impact.com の Shopify プラグインを使用している場合は、有効にしないでください [同意モード](/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`）を見て、トラッキングフローを発火するかどうかを判断します。

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

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

* 顧客がサイト上のプライバシー/クッキーのポップアップを承諾して、トラッキングに同意した場合。
* 顧客がキャッシュバックまたはロイヤルティパートナーのサイトからリンクを開いて Shopify ストアに訪問した場合。この場合、紹介への参加により同意はすでにあるものとみなされます。
  * このシナリオでトラッキングを継続するには、 `im_rewards=1` パラメータは、顧客がキャッシュバックまたはロイヤルティパートナーから紹介されたときに、ランディングページ URL に含める必要があります。設定方法については CSM または [サポート](https://app.impact.com/support/portal.ihtml) 正しく設定するためのサポートが必要な場合は、または [Shopify でキャッシュバック＆ロイヤルティのトラフィックを追跡する](/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.
