Skip to content

Commit ca5b753

Browse files
authored
Merge pull request #135 from segmentio/repo-sync
repo sync
2 parents 22cf477 + 6a98b9d commit ca5b753

File tree

1 file changed

+37
-16
lines changed
  • src/connections/destinations/catalog/adobe-analytics

1 file changed

+37
-16
lines changed

src/connections/destinations/catalog/adobe-analytics/heartbeat.md

Lines changed: 37 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ options:@{
9797
9898
## Supported Video Events
9999
100-
Adobe Analytics supports many - but not all - of the [Segment video spec events](/docs/connections/spec/video/), however **some events required for Adobe Analytics are not included as part of Segment's standard video tracking**, so read the documentation closely. The list below shows supported events and the corresponding Adobe method(s) they trigger. The next section explains the function of each event in more detail, and lists any required properties.
100+
Adobe Analytics supports many - but not all - of the [Segment Video Spec events](/docs/connections/spec/video/), however **some events required for Adobe Analytics are not included as part of Segment's standard video tracking**, so read the documentation closely. The list below shows supported events and the corresponding Adobe method(s) they trigger. The next section explains the function of each event in more detail, and lists any required properties.
101101
102102
<table>
103103
<tr>
@@ -174,9 +174,11 @@ Adobe Analytics supports many - but not all - of the [Segment video spec events]
174174
</tr>
175175
</table>
176176
177+
On web, multiple video sessions can be open at once so video events must have a `session_id` property unique to the session the content belongs to. If a `session_id` is not included, Segment will send `default` as the [s:event:sid](https://experienceleague.adobe.com/docs/media-analytics/using/sdk-implement/validation/heartbeat-params.html?lang=en) and Adobe will create a new session. For more information on `session_id`, please visit [Segment's Video Spec](/docs/connections/spec/video/#playback).
178+
177179
### Video Playback Started
178180
179-
"Video Playback Started" is required to begin a new video session. This event **must** include the appropriate properties and options to configure the `MediaHeartbeat` instance for this video session. Although all the properties and options listed below are also **required**, you can also send additional standard and custom video properties with this event. See the [Custom Video Metadata section below.](#custom-video-metadata)
181+
"Video Playback Started" is required to begin a new video session. This event **must** include the appropriate properties and options to configure the `MediaHeartbeat` instance for this video session. Although all the properties and options listed below are also **required**, you can also send additional standard and custom video properties with this event. See the [Custom Video Metadata section below](#custom-video-metadata).
180182
181183
<table>
182184
<tr>
@@ -193,19 +195,23 @@ Adobe Analytics supports many - but not all - of the [Segment video spec events]
193195
</tr>
194196
<tr>
195197
<td>`properties.title`</td>
196-
<td>The title of the video session.</td>
198+
<td>The title of the video.</td>
197199
</tr>
198200
<tr>
199201
<td>`properties.contentAssetId`</td>
200-
<td>The unique id for the video session.</td>
202+
<td>The unique id for the video.</td>
201203
</tr>
202204
<tr>
203205
<td>`properties.totalLength`</td>
204-
<td>The total length in seconds of the video session.</td>
206+
<td>The total length in seconds of the video.</td>
205207
</tr>
206208
<tr>
207209
<td>`properties.livestream`</td>
208-
<td>Whether the session is a livestream (boolean).</td>
210+
<td>Whether the video is a livestream (boolean).</td>
211+
</tr>
212+
<tr>
213+
<td>`properties.session_id`</td>
214+
<td>The unique id for the session. Required for web.</td>
209215
</tr>
210216
<tr>
211217
<td>`options.ovp`</td>
@@ -215,7 +221,7 @@ Adobe Analytics supports many - but not all - of the [Segment video spec events]
215221
216222
### Video Playback Completed
217223
218-
This Segment event triggers an Adobe `trackSessionEnd()` event. You do not need to pass any properties along with this event. Properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
224+
This Segment event triggers an Adobe `trackSessionEnd()` event. On web, you must include a `session_id` property to tie this event to the correct video session. Any other properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
219225
220226
### Video Content Started
221227
@@ -242,35 +248,39 @@ This Segment event triggers an Adobe `trackSessionEnd()` event. You do not need
242248
<td>`properties.startTime`</td>
243249
<td>The position of the video playhead in seconds when the chapter starts playing.</td>
244250
</tr>
251+
<tr>
252+
<td>`properties.session_id`</td>
253+
<td>The unique id for the session. Required for web.</td>
254+
</tr>
245255
</table>
246256
247257
### Video Content Completed
248258
249-
This Segment event triggers an Adobe `trackEvent(chapterComplete)` event and a `trackComplete()` event. You do not need to pass any properties along with this event. Properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
259+
This Segment event triggers an Adobe `trackEvent(chapterComplete)` event and a `trackComplete()` event. On web, you must include a `session_id` property to tie this event to the correct video session. Any other properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
250260
251261
### Video Playback Paused
252262
253-
This Segment event triggers an Adobe `trackPause()` event. You do not need to pass any properties along with this event. Properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
263+
This Segment event triggers an Adobe `trackPause()` event. On web, you must include a `session_id` property to tie this event to the correct video session. Any other properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
254264
255265
### Video Playback Resumed
256266
257-
This Segment event triggers an Adobe `trackPlay()` event. You do not need to pass any properties along with this event. Properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
267+
This Segment event triggers an Adobe `trackPlay()` event. On web, you must include a `session_id` property to tie this event to the correct video session. Any other properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
258268
259269
### Video Playback Buffer Started
260270
261-
This Segment event triggers an Adobe `trackEvent(bufferStart)` event. You do not need to pass any properties along with this event. Properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
271+
This Segment event triggers an Adobe `trackEvent(bufferStart)` event. On web, you must include a `session_id` property to tie this event to the correct video session. Any other properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
262272
263273
### Video Playback Buffer Completed
264274
265-
This Segment event triggers an Adobe `trackEvent(bufferComplete)` event. You do not need to pass any properties along with this event. Properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
275+
This Segment event triggers an Adobe `trackEvent(bufferComplete)` event. On web, you must include a `session_id` property to tie this event to the correct video session. Any other properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
266276
267277
### Video Playback Seek Started
268278
269-
This Segment event triggers an Adobe `trackEvent(seekStart)` event. You do not need to pass any properties along with this event. Properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
279+
This Segment event triggers an Adobe `trackEvent(seekStart)` event. On web, you must include a `session_id` property to tie this event to the correct video session. Any other properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
270280
271281
### Video Playback Seek Completed
272282
273-
This Segment event triggers an Adobe `trackEvent(seekComplete)` event. To reconcile the new playhead position, you **must** pass this value as `seekPosition`.
283+
This Segment event triggers an Adobe `trackEvent(seekComplete)` event. On web, you must include a `session_id` property to tie this event to the correct video session. To reconcile the new playhead position, you **must** also pass the position as `seekPosition`.
274284
275285
<table>
276286
<tr>
@@ -304,11 +314,15 @@ This Segment event triggers an Adobe `trackEvent(adBreakStart)` event. This even
304314
<td>`properties.startTime`</td>
305315
<td>The position of the video playhead in seconds when the chapter starts playing.</td>
306316
</tr>
317+
<tr>
318+
<td>`properties.session_id`</td>
319+
<td>The unique id for the session. Required for web.</td>
320+
</tr>
307321
</table>
308322
309323
### Video Ad Break Completed
310324
311-
This Segment event triggers an Adobe `trackEvent(adBreakComplete)` event. You do not need to pass any properties along with this event. Properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
325+
This Segment event triggers an Adobe `trackEvent(adBreakComplete)` event. On web, you must include a `session_id` property to tie this event to the correct video session. Any other properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
312326
313327
### Video Ad Started
314328
@@ -335,11 +349,15 @@ This Segment event triggers an Adobe `trackEvent(adStart)` event. This event **m
335349
<td>`properties.totalLength`</td>
336350
<td>The total length of the ad in seconds.</td>
337351
</tr>
352+
<tr>
353+
<td>`properties.session_id`</td>
354+
<td>The unique id for the session. Required for web.</td>
355+
</tr>
338356
</table>
339357
340358
#### Video Ad Completed
341359
342-
This Segment event triggers an Adobe `trackEvent(adComplete)` event. You do not need to pass any properties along with this event. Properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
360+
This Segment event triggers an Adobe `trackEvent(adComplete)` event. On web, you must include a `session_id` property to tie this event to the correct video session. Any other properties passed to this event are not forwarded to Adobe (but are sent to other downstream destinations that support video events).
343361
344362
### Video Quality Updated
345363
@@ -358,6 +376,9 @@ This event is required to set quality of service information in the `MediaHeartb
358376
<tr>
359377
<td>`properties.droppedFrames`</td>
360378
</tr>
379+
<tr>
380+
<td>`properties.session_id` _Required for web. Defaults to `default` if missing._</td>
381+
</tr>
361382
</table>
362383
363384
## Standard Video Metadata

0 commit comments

Comments
 (0)