サブスクリプションコールバック

コールバックを使用することで、Adjustがイベントを記録後、ユーザーレベルのデータを直接かつリアルタイムにサーバーに送信できます。

Adjustは、次のサブスクリプションイベントを自動的に記録します。

  • サブスクリプションの有効化
  • サブスクリプションの初回コンバージョン
  • サブスクリプションの請求リトライ開始
  • サブスクリプションの更新
  • サブスクリプション解約
  • サブスクリプションの請求リトライ更新
  • サブスクリプションの再有効化

コールバックに {subscription_event_subtype}プレースホルダーを含めると、各サブスクリプションイベントのサブタイプを受信することができます。これらのサブタイプを使用することで、ユーザーデータをより深く理解できます。詳細はサブスクリプションデータの管理をご覧ください。

推奨プレースホルダー

注意:
プレースホルダーのデータが使用できない場合は、コールバックから削除されます。

コールバックの例

プレースホルダーを含むコールバックURLエンコード前(使用不可)
値を含むコールバックURL
https://mynetworkserver.com/mobile_attribution?gps_adid={gps_adid}&idfa={idfa}&tracker_name={link_name}&app_name={app_name}&activity_kind={activity_kind}&created_at={created_at}&reattributed_at={reattributed_at}&reattributed_at_hour={reattributed_at_hour}&subscription_event={subscription_event_type}&subscription_event_subtype={subscription_event_subtype}&subscription_product_id={subscription_product_id}&subscription_sales_region={subscription_sales_region}&subscription_transaction_id={subscription_transaction_id}&subscription_original_transaction_id={subscription_original_transaction_id}&subscription_store={subscription_store}&subscription_purchased_at={subscription_purchased_at}&subscription_expiration_time={subscription_expiration_time}&subscription_environment={subscription_environment}

その他の推奨プレースホルダー

Adjustは、全てのコールバックURLに以下のプレースホルダーを含めることを推奨します。以下のプレースホルダーを使うことにより、アプリ、リンク、データポイント、およびデバイスの特定に使用できる基本的な端末情報を取得することができます。

プレースホルダー説明
{gps_adid}Google Play Store 広告ID(Androidのみ)38400000-8cf0-11bd-b23e-10b96e40000d
{idfa}広告ID(iOSのみ)8C6CBCOD-5F43-4765-A6E6-84DFF3D24707
{idfv}ベンダーID(iOSのみ)CCB300A0-DE1B-4D48-BC7E-599E453B8DD4
{adid}AdjustデバイスID18546f6171f67e29d1cb983322ad1329
{tracker}Adjustリンクトークンabc123
{tracker_name}Campaign Labで定義された現在のリンク名Network1%3A%3AChristmas%3A%3AReindeers%3A%3A320x70_en
{app_name}アプリ名MyApp
{activity_kind}インプレッション、クリック、インストール、拒否されたインストール、拒否されたリアトリビューション、セッション、リアトリビューション、アンインストール、再インストール、リアトリビューション再インストール、更新されたアトリビューション、アプリ内イベント、または広告費用(cost_updated)のデータポイントを決定できます。rejected_reattribution
{created_at}計測対象のイベント発生時のタイムスタンプ(Unix Time)1404214665