Chapter skip
The chapter skip event signals that the viewer skipped a chapter before it finished. Send it when the viewer navigates past the chapter boundary without watching it to completion. Send Chapter complete if the chapter plays to its end.
- Prerequisites: Session start, Chapter start
- Associated metric: None
Web SDK
Call sendEvent with eventType: "media.chapterSkip":
alloy("sendEvent", {
xdm: {
eventType: "media.chapterSkip",
mediaCollection: {
sessionID: "{sid}",
playhead: 60
}
}
});
Mobile SDK
Call trackEvent with the ChapterSkip event type.
iOS (Swift)
tracker.trackEvent(event: MediaEvent.ChapterSkip, info: nil, metadata: nil)
Android (Kotlin)
tracker.trackEvent(Media.Event.ChapterSkip, null, null)
Roku (BrightScript)
Call sendMediaEvent with eventType: "media.chapterSkip":
m.aepSdk.sendMediaEvent({
"xdm": {
"eventType": "media.chapterSkip",
"mediaCollection": {
"playhead": 60
}
}
})
Media Edge API
Call the chapterSkip endpoint:
curl -X POST "https://edge.adobedc.net/ee/va/v1/chapterSkip?configId={datastreamID}" \
--header 'Content-Type: application/json' \
--data '{
"events": [{
"xdm": {
"eventType": "media.chapterSkip",
"mediaCollection": {
"sessionID": "{sid}",
"playhead": 60
},
"timestamp": "YYYY-08-20T22:41:40+00:00"
}
}]
}'
Media SDK
Call trackEvent with the ChapterSkip event type:
tracker.trackEvent(ADB.Media.Event.ChapterSkip, null, null);
Media Collection API
Send a chapterSkip POST to the events endpoint:
{
"playerTime": { "playhead": 60, "ts": 1699523820000 },
"eventType": "chapterSkip"
}
recommendation-more-help
media-analytics-help