Heartbeat Event ordering

michael_jwplaye

24-09-2018

Greetings,  I'm new to this forum.  I'm a Solutions Architect at JW Player and am building a Javascript adapter to connect JW Player events to the Adobe Heartbeat SDK and have a few questions about Heartbeat event ordering.

  1. Consider the scenario of a pre-roll ad playing before main VOD content.  Which scenario should events be fired? Should TrackPlay come before TrackAdStartBreak or after the ad break is over?  In one spot the docs say TrackPlay comes on the users 'intent' to play the video, and another place it says that TrackPlay should be fired on the first rendered frame of the main content.  Which is it?
    1. TrackSessionStart, TrackPlay, TrackAdStartBreak, TrackAdStart, TrackAdComplete, TrackComplete, TrackSessionEnd
    2. TrackSessionStart, TrackAdStartBreak, TrackAdStart, TrackAdComplete, TrackComplete, TrackPlay, TrackComplete, TrackSessionEnd
  2. When should the trackEvent(MediaHeartbeat.Event.AdBreakStart, adBreakInfo); and trackEvent(MediaHeartbeat.Event.AdStart, adObject, adCustomMetadata); be sent? Should they be sent only on successful AD playback starting, i.e. the firstFrame of the ad being played? Or when the ad request goes out, response returned, etc.  The JW player has events for the entire lifecycle of ads, Ad Break Started, Ad Request, Ad Response Received, AdPlaying, AdComplete, AdBreakComplete and I'm trying to figure out how to map the JW Player Ad events to the Adobe Heartbeat events.

Thanks in advance for any help.

Michael

Accepted Solutions (1)

Accepted Solutions (1)

michael_jwplaye

02-10-2018

Someone pointed me to this set of docs which has a real nice description

of the event ordering for various scenarios. I'm going to start by

making sure we are following that convention and will post if I have any

questions.

Thank you.

https://marketing-stage.adobe.com/resources/help/en_US/sc/appmeasurement/hbvideo/c_vhl_scenarios-top...

Gigazelle <mailto:forums_noreply@adobe.com>

October 2, 2018 at 4:23 PM

>

Heartbeat Event ordering

created by Gigazelle <https://forums.adobe.com/people/Gigazelle> in

/Adobe Analytics/ - View the full discussion

<https://forums.adobe.com/message/10653955#10653955>

Answers (2)

Answers (2)

Gigazelle

Employee

27-09-2018

Hi Michael,

Outside of what the docs say (Measuring video in Analytics​), You are welcome to be the judge on when certain events are called. What would be more valuable in tracking an event going in one place or another?

Whatever you decide, you'll simply want to make sure your decision is documented so users will be able to distinguish any potential discrepancies.