> 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プラグインを使用している場合は、 [Consent Mode](/brand/ja/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/ensure-gdpr-compliance-using-consent-mode.md) を有効にしないでください。現在、両者はまだ互換性がありません。
{% 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. を選択 **プライバシーポリシー** を選択して、プライバシーポリシーがあることを確認します。
   * クッキーバナーとデータ共有オプトアウトページを正しく機能させるには、プライバシーポリシーを公開しておく必要があります。
4. 両方とも **クッキーバナー** および **データ共有オプトアウトページ** にはそれぞれ **自動設定を使用する** トグルがあり、 *地域とコンテンツ* を各ページで:
   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. を選択 **クッキーバナー** および  ![](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の元のクッキーバナーの代わりに第三者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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
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=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
