Video Engagement Data API endpoints are usable only to customers with our Video add-on integrated.
{data: {items: [{path: "video_content_id_12345", //The path that is being passed to Chartbeat to identify the video.stats: {visitors: 3063, //The number of people who have loaded the video.watching: 2736 //The number of people who have loaded this video and are watching now},thumbnail: "https://www.mysite.com/thumbnail-11.jpg", //The URL being passed to Chartbeat for the thumbnail image.title: "My Great Video!" //The video title.},{path: "video_content_id_09876",stats: {visitors: 1695,watching: 1523},thumbnail: "https://www.mysite.com/thumbnail-22.jpg",title: "Must Watch: The President Said What?!"},{path: "video_content_id_45678",stats: {visitors: 1588,watching: 1412},thumbnail: "https://www.mysite.com/thumbnail-33.jpg",title: "Our Top 10 Favorite Seinfeld Episodes"},{...}
names=video_title,video_duration
applied as a query parameter with metrics.{metrics:{video_duration: {count: 13988,max: 11983253.3,sum: 2374541830.886638,min: 0,mean: 169755.6356081383},video_title:{count: 15242,unique_max: 2756,top:{My Great Movie: 463,Watch Now: Live With Mr News: 173,Poll Predicts Landslide Victory: 799,New Video Shows Shocking Car Chase: 164,Hilarious Security Footage: 222},unique: 2756,unique_min: 298}}}
Optional "names" values | Metric Definitions |
| Video length (in milliseconds) |
| The video title |
| Path of the page(s) the video is on |
| Host domain of the page(s) where the video is being played |
| Array of the number of visitors in different video states in the format: [unplayed, playing, paused, completed] |