Salesforce では、Marketing Cloud アプリケーションでの Cookie の使用について評価を行い、Marketing Cloud アプリケーションが Google SameSite Cookie の変更による影響を受けないようにするための修正を実装しています。ただし、お客様側でも Cookie の実際の実装とその方法について評価する必要があります。特に、ブラウザ動作の iFrame コンポーネントが影響を受ける場合があるため、更新後の Google Cookie SameSite 要件との互換性を調べる必要があります。
SameSite Cookie の変更に対応するためのすべての Marketing Cloud の変更は、2020 年 2 月 7 日までに実装される予定です。
Chrome ブラウザバージョン 76 以降が SameSite Cookie の変更による影響を受けます。
次の手順で Chrome ブラウザをテストすることにより、お客様の Marketing Cloud インスタンスが影響を受けるかどうかを確認できます (このテストを 2020 年 2 月 7 日より前に実施すると、Marketing Cloud で問題が報告される場合があります)。
Chrome ブラウザ (Chrome バージョン 76 以降) を開きます。
アドレスバーに「chrome://flags/」と入力します。
「SameSite by default Cookies」のフラグを有効化します。
右下隅にある「再起動」ボタンをクリックします。
Chrome ブラウザの開発者コンソールを開いて、SameSite Cookie の変更に関連したエラーを確認します。
Chrome で開発者コンソールを開くには、キーボードショートカットの Ctrl+Shift+J (Windows) または Ctrl+Option+J (Mac) を使用します。または、ブラウザウィンドウの Chrome メニューから [その他のツール] を選択し、[デベロッパーツール] を選択します。
テストするクラウド/アプリケーションをブラウザで開き、想定通りに動作するかどうかを確認します。
想定通りに動作しないアプリケーションの例としては、ブラウザで Journey Builder が表示されない、あるいはクラウドページ/ランディングページ/マイクロサイトが空白になる、などが考えられます。
[下の例では難読化されていますが、実際のコンソールではプレーンテキストで表示されます] でクロスサイトリソースに関連付けられている Cookie が SameSite 属性なしで設定されたことを示す警告を探します。
A cookie associated with a cross-site resource at ////////////////// was set without (index):1 the `SameSite` attribute.A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`.You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032. (////////////////// でクロスサイトリソースに関連付けられている Cookie が (index):1 SameSite 属性なしで設定されています。これからの Chrome バージョンでは、「SameSite=None」と「Secure」が設定されているクロスサイト要求に対してのみ Cookie を返します。Cookie は、デベロッパーツールの [アプリケーション] > [ストレージ] > [Cookie] で確認できます。詳細は https://www.chromestatus.com/feature/5088147346030592 と https://www.chromestatus.com/feature/5633521622188032. を参照してください。)
インターネットの多くの Web サイトは、この機能が有効化されているとエラーとなるため、テストが完了したらフラグを無効化してブラウザを再起動してください。
バージョン 76 より前の Chrome には SameSite のオプションがないため、SameSite Cookie の変更による Marketing Cloud への影響はありません。また、上記のテスト条件により、テストも実施できません。
Salesforce では、Marketing Cloud 機能については Chrome SameSite Cookie の変更に対応しましたが、お客様自身の Web サイトがこの変更による影響を受けていないかどうかを確認する必要があります。
デフォルトでは有効化されていませんが、CloudPages と従来のコンテンツでホスト/作成されている Web ページで Cookieを設定することができます。ページには、マイクロサイト、ランディングページ、モバイルプッシュページ、インタラクティブコンテンツページなど、さまざまな名前があります。
Cookie の設定は、Salesforce Marketing Cloud のサーバサイド JavaScript HTTPHeader.SetValue を使用して行います。また、ページが HTTPS 経由で提供されていることも検証します。
自分の Marketing Cloud アカウントが SameSite Cookie の変更による影響を受けることが判明した場合には、実装コードを調査して、Cookie が適切に利用されることを確認する必要があります。サーバサイド Java Script (SSJS) を実装しているお客様は、以下を確認する必要があります。
SSJS の Marketing Cloud SameSite Cookie に関する考慮事項000381217

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.