Chapter start
The chapter start event signals the beginning of a chapter within the content. Chapter tracking is optional and not required for core media tracking. Chapters cannot overlap; send Chapter complete or Chapter skip to close the current chapter before starting a new one.
- Prerequisites: Session start
- Associated metric: Chapter starts
Recommended implementation types
Call sendEvent with eventType: "media.chapterStart" and the required chapterDetails:
| code language-javascript |
|---|
|
Pass the chapter name, position, length, and start time to createChapterObject, then call trackEvent.
| code language-swift |
|---|
|
Pass the chapter name, position, length, and start time to createChapterObject, then call trackEvent.
| code language-kotlin |
|---|
|
Call sendMediaEvent with eventType: "media.chapterStart" and the required chapterDetails:
| code language-brightscript |
|---|
|
Call the chapterStart endpoint with the required chapterDetails:
| code language-sh |
|---|
|
Legacy implementation types (Analytics-only)
Pass the chapter name, position, length, and start time to ADB.Media.createChapterObject:
| code language-javascript |
|---|
|
Pass the chapter name, position, length, and start time to ADBMobile.media.createChapterObject:
| code language-javascript |
|---|
|
Send a chapterStart POST to the events endpoint:
| code language-json |
|---|
|