- 印刷する
映像進行イベントのトラッキング
- 印刷する
このページでは、messageCallbackおよびEVENT_LOGを使用してビデオの進行に関連するイベントを受信する方法について説明します。
ビデオプレーヤーは「ON_PLAYER_STARTED」で開始します。
表示された秒数は、「EVENT_LOG」を介して追跡できます。名前は「player_active_seconds」です。
messageCallback
Property | Type | Description |
---|---|---|
name | string | イベントの名前 |
feature | "click" | "action" | “show” | イベントのタイプ |
parameter | JSON | イベントの参照オブジェクト |
campaignKey | string | キャンペーンの一意のキー |
Video progress related Events: full list of event
name | feature | parameter | Description |
---|---|---|---|
player_on_foreground | show | { "activatedAt": Number, "activatedDuration": Number, "mode": String, "videoCurrentTime": Number } | |
player_on_background | show | { "activatedAt": Number, "activatedDuration": Number, "mode": String, "videoCurrentTime": Number } | |
player_active_seconds | show | { "activatedAt": Number, "activatedDuration": Number, "interval": Number, "mode": String, "videoCurrentTime": Number } |
このページでは、messageCallbackおよびEVENT_LOGを使用してビデオの進行に関連するイベントを受信する方法について説明します。
messageCallback - Definition
Property | Type | Description |
---|---|---|
name | string | Name of event |
feature | "click" | "action" | “show” | Type of event |
parameter | JSON | Reference object of the event |
campaignKey | string | Unique Key of campaign |
Video progress related Events: full list of event
name | feature | parameter | Description |
---|---|---|---|
player_on_foreground | show | { "activatedAt": Number, "activatedDuration": Number, "mode": String, "videoCurrentTime": Number } | プレーヤーがforegroundに表示されました activatedAt : プレーヤーのアクティベーションのタイムスタンプ activatedDuration: プレーヤーのアクティブな状態の期間 mode: 'LIVE' | 'REPLAY' videoCurrentTime: 現在の再生時間のタイムスタンプ" "プレーヤーがバックグラウンドに移りました |
player_on_background | show | { "activatedAt": Number, "activatedDuration": Number, "mode": String, "videoCurrentTime": Number } | プレーヤーがバックグラウンドに移りました activatedAt: プレーヤーのアクティベーションのタイムスタンプ activatedDuration: プレーヤーのアクティブな状態の期間 mode: 'LIVE' | 'REPLAY' videoCurrentTime: 現在の再生時間のタイムスタンプ" |
player_active_seconds | show | { "activatedAt": Number, "activatedDuration": Number, "interval": Number, "mode": String, "videoCurrentTime": Number } | プレーヤーがアクティブな場合のコール activatedAt: プレーヤーのアクティベーションのタイムスタンプ activatedDuration: プレーヤーのアクティブな状態の期間 mode: 'LIVE' | 'REPLAY' videoCurrentTime: 現在の再生時間のタイムスタンプ Interval: このコールの時間間隔 |