CMP プロバイダの同意モード
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
この記事では、同意モードを同意管理プラットフォームと統合する方法について詳しく説明します。同意管理プラットフォーム(CMP)プロバイダは、Google の同意モードと統合することで、Google サービスを利用するユーザーの利便性を高めることができます。
同意モードを使用すると、Google の測定システムは、ユーザーの行動全体で同意ステータスを追跡できます。Google タグと第三者タグは、ユーザーの同意に基づいて自動的に調整されます。たとえば、広告でのデータの保存についてユーザーが同意を拒否した場合、通常は広告 Cookie を設定するタグから Cookie のない ping が送信されます。
タグを手動でブロックする代わりに同意モードを使用すると、同意に関するユーザーの選択を尊重しながら、一般的な測定情報を収集できます。同意モードに対応するには、ユーザーが使用する各タグ設定プラットフォームにソリューションを提供する必要があります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-04-17 UTC。
[null,null,["最終更新日 2024-04-17 UTC。"],[[["\u003cp\u003eConsent mode allows Google products to adjust data collection based on user consent, improving the experience for customers using Google products.\u003c/p\u003e\n"],["\u003cp\u003eIntegrating consent mode lets websites gather general analytics while respecting user privacy choices by using cookieless pings when consent is denied.\u003c/p\u003e\n"],["\u003cp\u003eCMP providers need to offer solutions for both gtag.js and Google Tag Manager to fully support consent mode integration.\u003c/p\u003e\n"],["\u003cp\u003eFor gtag.js integration, provide code snippets for websites, while for Google Tag Manager, the creation and distribution of consent mode templates are recommended.\u003c/p\u003e\n"],["\u003cp\u003eCustomers can utilize pre-built templates for GTM from the Community Template Gallery to simplify implementation.\u003c/p\u003e\n"]]],["Consent mode integration allows Google's measurement system to track user consent, adjusting tag behavior accordingly (e.g., sending cookieless pings when consent is denied). CMP providers should offer solutions for each tagging platform. For gtag.js, providers must add code for customer use. For Google Tag Manager (GTM), providers should create and publish consent mode templates, enabling customers to easily implement tags that respect consent choices. Guidance is provided on creating and adding GTM templates to the community gallery.\n"],null,["# Consent Mode for CMP providers\n\nThis article gives details on how to integrate consent mode with a consent\nmanagement platform. As a Consent Management Platform (CMP) provider, you can\nprovide a better experience for customers who use Google products by integrating\nwith [Google consent mode](https://support.google.com/analytics/answer/9976101).\n\nConsent mode enables Google's measurement system to track consent state across a\nvisitor's journey. Google and third-party tags automatically adjust their\nbehavior based on consent. For example, if a visitor denies consent for ad\nstorage, tags that would normally set ad cookies send cookieless pings instead.\n\nUsing consent mode instead of manually blocking tags enables your customers to\ncollect generalized measurement information while still respecting their\nvisitors' consent choices. To support consent mode, you will need to provide a\nsolution for each tagging platform your customers use:\n\n- For gtag.js, add code to your platform that customers can utilize on their website. See the gtag.js instructions in [Manage consent settings](/tag-platform/security/guides/consent) for more information.\n- For Google Tag Manager (GTM), we strongly recommend creating and publishing\n consent mode templates. Your customers will use the templates to create tags\n for their website. See the following articles for more information:\n\n- [How to create GTM templates](/tag-platform/tag-manager/templates)\n\n- [How to create a GTM consent mode template](/tag-platform/tag-manager/templates/consent-apis)\n\n- [How to add a template to the Community Template Gallery](/tag-platform/tag-manager/templates/gallery)"]]