前提として、CloudPages (クラウドページ) 側で URL のクエリ文字列から値を取得する実装が完了しているものとします。
例えば、以下ページの【CloudPages 側の実装】のような実装です。
(1) OpenDirect (オープンダイレクト) 有効化
以下ヘルプを参考に、MobilePush (モバイルプッシュ) の OpenDirect を有効にします。
(2) アプリ内実装
プッシュ通知から URL を処理できるようにするため、アプリ内に以下を実装します。
(3) プッシュメッセージ作成
MobilePush でアウトバウンド等でメッセージを作成し、[コンテンツの定義] の [OpenDirect] に以下例のような URL を設定します。
この例では、Lookup 関数を使って任意の値をデータエクステンションから取得し、その値を URL のパラメータ値として付加しています。
https://<CloudPagesのURL>/<CloudPagesのページID>?Value=%%=Lookup('DE','Value','Key',_subscriberkey)=%%
※上記 Lookup () 内の第 1 引数の「DE」は取得したい値が格納されているデータエクステンション名を指定します。
第 2 引数の「Value」は取得したい列の名前を指定します。
第 3 引数の「Key」は第 4 引数の値を検索する列の名前を指定します。
第 4 引数の「_subscriberkey」はパーソナライズ文字列です。
以上で実装は完了です。
(1) 受信トレイメッセージ作成
MobilePush で受信トレイメッセージを作成し、[コンテンツの定義] の [受信トレイメッセージ] の [ページの選択] で、対象の CloudPages のページを選択します。
URL の横の鉛筆マークをクリックし、以下例のようにパラメータを追加します。
この例では、上記プッシュメッセージ同様に、Lookup 関数を使って任意の値をデータエクステンションから取得し、その値を URL のパラメータ値として付加しています。
https://<CloudPagesのURL>/<CloudPagesのページID>?Value=%%=Lookup('DE','Value','Key',_subscriberkey)=%%
※上記 Lookup () 内の第 1 引数の「DE」は取得したい値が格納されているデータエクステンション名を指定します。
第 2 引数の「Value」は取得したい列の名前を指定します。
第 3 引数の「Key」は第 4 引数の値を検索する列の名前を指定します。
第 4 引数の「_subscriberkey」はパーソナライズ文字列です。
以上で実装は完了です。
【参考】
【補足・注意点】
000394877

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.