はじめに
プッシュ通知キャンペーンは、既存のユーザーとの迅速な再エンゲージメントを生み出すのに最適です。
AppsFlyerは、iOSとAndroidの両方のプラットフォームで、プッシュ通知キャンペーンの成功を測定できるオープンなオールソリューションを提供しています。プッシュ通知メッセージから発生したアプリ起動として定義されたコンバージョンは、AppsFlyerのリターゲティングダッシュボードに表示されます。
重要!
社内で開発したプッシュ通知を実装されている広告主さまもいらっしゃいます。他のオウンドメディアと同様に、AppsFlyerを使用してプッシュ通知のパフォーマンスを測定すると、それらのコンバージョンもアトリビューションおよびレポートできます。
AppsFlyer SDKの要件
プッシュ通知の測定には、アプリコード内のSDK APIコールが必要です。
プッシュ通知測定をサポートする最小SDKバージョンは次のとおりです。
- iOS –バージョン4.3.5以降
- Android - バージョン4.6.0以降
実装の詳細については、 iOS SDKの実装:開発者向けおよびAndroid SDKの実装:開発者向けの プッシュ通知の測定 セクションを参照してください。
プッシュ通知キャンペーンのセットアップ
AppsFlyerは、Google Cloud Messaging または Apple push notification を含む全てのベンダーのプッシュ通知キャンペーンの測定をサポートしています。
以下のパラメーターがプッシュ通知ペイロードに挿入されます。以下の例に示すように、これらのパラメーターは "af "オブジェクトに含まれる必要があります。
- C
- キャンペーン名
- is_retargeting=true
- このパラメーターによりリターゲティングキャンペーンと認識します
- pid
- プッシュ通知プロバイダーであるメディアソース
(例:mixpanel_int, urbanairship_int, swrve_int)
使用可能なパラメーターのリストはこちらからご確認ください。
注意
このソリューションは、プッシュプロバイダーに関係なく同様です。
ペイロードの例
以下のOSおよびベンダー別のペイロード例のリストを参照してください。
APNSを介したiOSのペイロード:
ペイロードの例:
{{
"af":{
"c":"test_campaign",
"is_retargeting":"true",
"pid":"push_provider_int"
},
"aps":{
"alert":"Get 5000 Coins",
"badge":"37",
"sound":"default"
}
}}
Firebase Cloud Messaging経由のAndroid
Firebase Cloud Messagingには、プッシュ通知を送信できる複数のAPIエンドポイントがあります。
-
Legacy HTTP Server Protocol - このAPIは、上記のデフォルトのペイロード構造を受け取ります。
"data":{{ "af":{ "pid":"braze_int", "is_retargeting":"true", "c":"test_campaign" } }}
-
HTTP V1 API - このAPIは、Legacy APIのようにネストされたオブジェクトを含むペイロードを受け入れません。正しいペイロード形式は、
af
オブジェクトを文字列 (string) 化する必要があります。例:
"data": {{ "af": "{\"pid\":\"media_int\",\"is_retargeting\":\"true\", \"c\":\"test_campaign\"}" }}
-
Firebase Console UI - Firebase Console UIを使用してプッシュ通知を送信できます。ペイロードは最終段階で追加されます(追加オプション)。カスタムデータの下で、afを Key として、ペイロードを Value として追加します。次のスクリーンショットを参照ください。
{"pid":"MY_MEDIA_SOURCE","is_retargeting":"true","c":"test_campaign"}
その他のサードパーティベンダー
Urban Airship API :
{{
"audience":"all",
"notification":{{
"alert":"A broadcast message",
"extra":{{
"af":{
"pid":"urbanairship_int",
"is_retargeting":"true",
"c":"test_campaign"
}
}}
}},
"device_types":"ios"
}}
詳細: http://docs.urbanairship.com/api/ua.html
Swrve API :
{{
"af":{
"pid":"swrve_int",
"is_retargeting":"true",
"c":"test_campaign"
}
}}
詳細:http://docs.swrve.com/user-documentation/push-notifications/creating-push-notifications/
Braze API :
{
"app_group_id":"getFromBrazeDashboard",
"segment_id":"getFromBrazeDashboard",
"broadcast":true,
"messages":{
"apple_push":{
"alert":"Alert A Message",
"title":"Not Visible, Yet Required",
"body":"Message Body",
"extra":{
"af":{
"pid":"braze_int",
"is_retargeting":"true",
"c":"test_campaign"
}
}
}
}
}
詳細: Braze push notifications API
Mixpanel API:
iOSの場合: https://mixpanel.com/help/reference/ios-push-notifications
Androidの場合: https://mixpanel.com/help/reference/android-push-notifications
Iterable API:
iOSの場合: https://support.iterable.com/hc/en-us/articles/115000315806
Androidの場合: https://support.iterable.com/hc/en-us/articles/115000331943
Localytics API:
iOSの場合: http://docs.localytics.com/dev/ios.html#push-messaging-ios
Androidの場合: http://docs.localytics.com/dev/android.html#push-messaging-android
Leanplum API:
参照先: https://docs.leanplum.com/
Adobe Analytics (Omniture) API:
参照先: https://marketing.adobe.com/resources/help/en_US/mobile/t_create_push_message.html
Appoxee (Teradata) API:
参照先: https://appoxee-wiki.atlassian.net/wiki/display/MIC/Push+Message+API
Upsight API:
参照先: http://help.upsight.com/push/
Omniata API:
参照先: https://www.omniata.com/guide/push-notifications-email
eMMa API:
参照先: http://support.emma.io/hc/en-us/sections/201069911-Push-Notifications
Kahuna API:
参照先: https://app.usekahuna.com/tap/public_docs/Content/APIs/Push.htm
Accengage API:
iOSの場合: http://docs.accengage.com/display/IOS/iOS#iOS-Notificationscustomparameters
AppsFlyerリターゲティングソリューションの詳細については、次の記事を参照してください。