Adobe Analytics for Streaming Media is an add-on that offers measurement tools for different types of media such as audio, video, and advertisements.

Adobe Analytics uses “heartbeats” to collect different metrics related to the video during playback. These heartbeats are sent to the Adobe heartbeat tracking server every ten seconds to measure the time the video is played.

For sending the heartbeat events to Adobe Analytics, you will need the Heartbeat Tracking Server URL. To get this URL, contact your Adobe representative. Also, you will need to map your RudderStack events with the type of Adobe heartbeat event you want to send.
The RudderStack dashboard settings also has a toggle for SSL which, if enabled, will send the Heartbeat Tracking URL in the HTTPS mode.

Playback Head

For sending video heartbeat events to Adobe Analytics through RudderStack's Web (JavaScript) SDK, Adobe's Media Heartbeat SDK needs a playhead update at least once every second for the main content. The video/ad start and heartbeat update playhead type of events update this playhead using the position property.

To stop triggering this event for every second, the playhead to the window needs to be set. This can be done by setting window.rudderHBPlayheads to the key-value pair of the current content’s session_id and position as shown:

window.rudderHBPlayheads = {
"session_id": position value
}

RudderStack sends the Adobe heartbeat events as per the following categories:

Initialize Heartbeat

  • Adobe Analytics Method Triggered: trackSessionStart
  • Description: This is used for initializing all the heartbeat calls. The Context Data is set as mapped in the settings.
  • Properties used:
RudderStack propertyDescriptionDefault Value
channelNeeds to be set for media heartbeat property channel or an empty string will be sent.-
video_playerNeeds to be set for media heartbeat property playerName or "unknown" will be sent.-
session_idTo check if present in window.rudderHBPlayheads"default"
bitrateSent for creating QoSObject.0
startupTimeSent for creating QoSObject.0
fpsSent for creating QoSObject .0
droppedFramesSent for creating QoSObject.0
livestreamSent for creating MediaObject-
titleSent for creating MediaObject."no title"
asset_idSent for creating MediaObject."default ad"
total_lengthSent for creating MediaObject.0
The properties mapped in the Standard Video Metadata section below will also be set.

Heartbeat Video Start

  • Adobe Analytics Method Triggered: trackSessionStart, trackPlay, trackEvent(ChapterStart)
  • Description: This is used when a video is started. The Context Data is set as mapped in settings.
  • Properties used:
RudderStack propertyDescriptionDefault Value
channelNeeds to be set for media heartbeat property channel or an empty string will be sent.-
video_playerNeeds to be set for media heartbeat property playerName or "unknown" will be sent.-
session_idTo check if present in window.rudderHBPlayheads"default"
bitrateSent for creating QoSObject.0
startupTimeSent for creating QoSObject.0
fpsSent for creating QoSObject .0
droppedFramesSent for creating QoSObject.0
livestreamSent for creating MediaObject-
titleSent for creating MediaObject."no title"
asset_idSent for creating MediaObject."default ad"
total_lengthSent for creating MediaObject.0
chapter_nameSent for creating createChapterObject."no chapter name"
positionSent for creating createChapterObject.1
lengthSent for creating createChapterObject.6000
start_timeSent for creating createChapterObject.0
The properties mapped in the Standard Video Metadata section below will also be set.

Heartbeat Video Paused

  • Adobe Analytics Method Triggered: trackSessionStart, trackPause
  • Description: This is used when a video is paused. The Context Data is set as mapped in the settings.
  • Properties used:
RudderStack propertyDescriptionDefault Value
channelNeeds to be set for media heartbeat property channel or an empty string will be sent.-
video_playerNeeds to be set for media heartbeat property playerName or "unknown" will be sent.-
session_idTo check if present in window.rudderHBPlayheads"default"
bitrateSent for creating QoSObject.0
startupTimeSent for creating QoSObject.0
fpsSent for creating QoSObject .0
droppedFramesSent for creating QoSObject.0
livestreamSent for creating MediaObject-
titleSent for creating MediaObject."no title"
asset_idSent for creating MediaObject."default ad"
total_lengthSent for creating MediaObject.0
The properties mapped in the Standard Video Metadata section below will also be set.

Heartbeat Video Complete

  • Adobe Analytics Method Triggered: trackSessionStart, trackEvent(ChapterComplete)
  • Description: This is used when a video is completed. The Context Data is set as mapped in the settings.
  • Properties used:
RudderStack propertyDescriptionDefault Value
channelNeeds to be set for media heartbeat property channel or an empty string will be sent.-
video_playerNeeds to be set for media heartbeat property playerName or "unknown" will be sent.-
session_idTo check if present in window.rudderHBPlayheads"default"
bitrateSent for creating QoSObject.0
startupTimeSent for creating QoSObject.0
fpsSent for creating QoSObject .0
droppedFramesSent for creating QoSObject.0
livestreamSent for creating MediaObject-
titleSent for creating MediaObject."no title"
asset_idSent for creating MediaObject."default ad"
total_lengthSent for creating MediaObject.0
The properties mapped in the Standard Video Metadata section below will also be set.

Heartbeat Session End

  • Adobe Analytics Method Triggered: trackSessionStart, trackComplete, trackSessionEnd
  • Description: This is used when a session ends. The Context Data is set as mapped in the settings.
  • Properties used:
RudderStack propertyDescriptionDefault Value
channelNeeds to be set for media heartbeat property channel or an empty string will be sent.-
video_playerNeeds to be set for media heartbeat property playerName or "unknown" will be sent.-
session_idTo check if present in window.rudderHBPlayheads"default"
bitrateSent for creating QoSObject.0
startupTimeSent for creating QoSObject.0
fpsSent for creating QoSObject .0
droppedFramesSent for creating QoSObject.0
livestreamSent for creating MediaObject-
titleSent for creating MediaObject."no title"
asset_idSent for creating MediaObject."default ad"
total_lengthSent for creating MediaObject.0
The properties mapped in the Standard Video Metadata section below will also be set.

Heartbeat Ad Started

  • Adobe Analytics Method Triggered: trackEvent(AdBreakStart), trackEvent(AdStart).
  • Description: This is used when an ad is started. The Context Data is set as mapped in the settings.
  • Properties used:
RudderStack propertyDescriptionDefault Value
session_idTo check if present in window.rudderHBPlayheads."default"
titleSent for creating AdObject and AdBreakObject."no title"
asset_idSent for creating AdObject."default ad"
positionSent for creating AdObject and AdBreakObject.1
total_lengthSent for creating AdObject.0
typeSent for creating AdBreakObject."unknown"
start_timeSent for creating AdBreakObject.0
contentSent for trackEvent.empty JSON
The properties mapped in the Standard Video Metadata section below will also be set.

Heartbeat Ad Completed

  • Adobe Analytics Method Triggered: trackEvent(AdComplete), trackEvent(AdBreakComplete). If an ad break is in progress, then trackEvent(AdBreakStart) and trackEvent(AdStart) are also triggered.
  • Description: This is used when an ad is completed. The Context Data is set as mapped in the settings.
  • Properties used:
RudderStack propertyDescriptionDefault Value
session_idTo check if present in window.rudderHBPlayheads."default"
titleSent for creating AdObject."no title"
asset_idSent for creating AdObject."default ad"
positionSent for creating AdObject and AdBreakObject.1
total_lengthSent for creating MediaObject.0
typeSent for creating AdBreakObject."unknown"
contentSent for trackEvent.empty JSON
The properties mapped in the Standard Video Metadata section below will also be set.

Heartbeat Ad Skipped

  • Adobe Analytics Method Triggered: trackEvent(AdSkip), trackEvent(AdBreakComplete). If an ad break is in progress, then trackEvent(AdBreakStart) and trackEvent(AdStart) are also triggered.
  • Description: This is used when an ad is skipped. The Context Data is set as mapped in the settings.
  • Properties used:
RudderStack propertyDescriptionDefault Value
session_idTo check if present in window.rudderHBPlayheads."default"
titleSent for creating AdObject."no title"
asset_idSent for creating AdObject."default ad"
positionSent for creating AdObject and AdBreakObject.1
total_lengthSent for creating MediaObject.0
typeSent for creating AdBreakObject."unknown"
contentSent for trackEvent.empty JSON
The properties mapped in the Standard Video Metadata section below will also be set.

Heartbeat Seek Started

  • Adobe Analytics Method Triggered: trackSessionStart, trackEvent(SeekStart)
  • Description: This is used when a video seek is started. The Context Data is set as mapped in settings.
  • Properties used:
RudderStack propertyDescriptionDefault Value
channelNeeds to be set for media heartbeat property channel or an empty string will be sent.-
video_playerNeeds to be set for media heartbeat property playerName or "unknown" will be sent.-
session_idTo check if present in window.rudderHBPlayheads"default"
bitrateSent for creating QoSObject.0
startupTimeSent for creating QoSObject.0
fpsSent for creating QoSObject .0
droppedFramesSent for creating QoSObject.0
livestreamSent for creating MediaObject-
titleSent for creating MediaObject."no title"
asset_idSent for creating MediaObject."default ad"
total_lengthSent for creating MediaObject.0
The properties mapped in the Standard Video Metadata section below will also be set.

Heartbeat Seek Completed

  • Adobe Analytics Method Triggered: trackSessionStart, trackEvent(SeekComplete)
  • Description: This is used when a video seek is completed. The Context Data is set as mapped in settings.
  • Properties used:
RudderStack propertyDescriptionDefault Value
channelNeeds to be set for media heartbeat property channel or an empty string will be sent.-
video_playerNeeds to be set for media heartbeat property playerName or "unknown" will be sent.-
session_idTo check if present in window.rudderHBPlayheads"default"
bitrateSent for creating QoSObject.0
startupTimeSent for creating QoSObject.0
fpsSent for creating QoSObject .0
droppedFramesSent for creating QoSObject.0
livestreamSent for creating MediaObject-
titleSent for creating MediaObject."no title"
asset_idSent for creating MediaObject."default ad"
total_lengthSent for creating MediaObject.0
The properties mapped in the Standard Video Metadata section below will also be set.

Heartbeat Buffer Started

  • Adobe Analytics Method Triggered: trackSessionStart, trackEvent(BufferStart)
  • Description: This is used when a video buffer has started. The Context Data is set as mapped in settings.
  • Properties used:
RudderStack propertyDescriptionDefault Value
channelNeeds to be set for media heartbeat property channel or an empty string will be sent.-
video_playerNeeds to be set for media heartbeat property playerName or "unknown" will be sent.-
session_idTo check if present in window.rudderHBPlayheads"default"
bitrateSent for creating QoSObject.0
startupTimeSent for creating QoSObject.0
fpsSent for creating QoSObject .0
droppedFramesSent for creating QoSObject.0
livestreamSent for creating MediaObject-
titleSent for creating MediaObject."no title"
asset_idSent for creating MediaObject."default ad"
total_lengthSent for creating MediaObject.0
The properties mapped in the Standard Video Metadata section below will also be set.

Heartbeat Buffer Completed

  • Adobe Analytics Method Triggered: trackSessionStart, trackEvent(BufferComplete)
  • Description: This is used when a video buffer has completed. The Context Data is set as mapped in settings.
  • Properties used:
RudderStack propertyDescriptionDefault Value
channelNeeds to be set for media heartbeat property channel or an empty string will be sent.-
video_playerNeeds to be set for media heartbeat property playerName or "unknown" will be sent.-
session_idTo check if present in window.rudderHBPlayheads"default"
bitrateSent for creating QoSObject.0
startupTimeSent for creating QoSObject.0
fpsSent for creating QoSObject .0
droppedFramesSent for creating QoSObject.0
livestreamSent for creating MediaObject-
titleSent for creating MediaObject."no title"
asset_idSent for creating MediaObject."default ad"
total_lengthSent for creating MediaObject.0
The properties mapped in the Standard Video Metadata section below will also be set.

Heartbeat Quality Updated

  • Description: The quality of experience tracking includes both quality of service (QoS) and error tracking. These are optional elements and are not required for the core media tracking implementations. You can use the media player's API to identify the variables related to QoS and error tracking.
  • Properties used:
RudderStack propertyDescriptionDefault Value
bitrateSent for creating QoSObject.0
startupTimeSent for creating QoSObject.0
fpsSent for creating QoSObject .0
droppedFramesSent for creating QoSObject.0

Heartbeat Playhead Update

  • Description: This changes the playhead position. Initially, the playhead is set to 0. While initializing the heartbeat, it is set to the position value of that session_id in window.rudderHBPlayheads.

Standard Video Metadata

The following RudderStack properties must also be sent for mapping to the standard video metadata:

RudderStack propertyAdobe Standard Video Metadata
programMediaHeartbeat.VideoMetadataKeys.SHOW
seasonMediaHeartbeat.VideoMetadataKeys.SEASON
episodeMediaHeartbeat.VideoMetadataKeys.EPISODE
assetIdMediaHeartbeat.VideoMetadataKeys.ASSET_ID
contentAssetIdMediaHeartbeat.VideoMetadataKeys.ASSET_ID
genreMediaHeartbeat.VideoMetadataKeys.GENRE
airdateMediaHeartbeat.VideoMetadataKeys.FIRST_AIR_DATE
publisherMediaHeartbeat.VideoMetadataKeys.ORIGINATOR
channelMediaHeartbeat.VideoMetadataKeys.NETWORK
ratingMediaHeartbeat.VideoMetadataKeys.RATING

Standard Ad Metadata

The following RudderStack properties must also be sent for mapping to the standard ad metadata:

RudderStack propertyAdobe Standard Ad Metadata
publisherMediaHeartbeat.AdMetadataKeys.ADVERTISER

Contact us

For more information on the topics covered on this page, email us or start a conversation in our Slack community.