Skip to main content

Is there a way to integrate between mixpanel and brightcove?

We want to know the exact video duration watched by a user on mixpanel?

Hello @Gopichand A, Brightcove is able to retrieve MixPanel events via our Interactivity Embed API: https://apis.support.brightcove.com/interactivity/embed-api/reference.html, specifically the onTrackingEvent() handler.  Hope this helps!

 

Best, Michael
 

onTrackingEvent (optional)

Used to intercept playback statistics. Can be used, for example, to track playback statistics in MixPanel.

hapyak.viewer({
onTrackingEvent: function(data) {
console.log('Brightcove Interactivity / ' + data.event, data.properties);
}
});

JavaScript

There is a built in MixPanel tracking event function that will push the tracking events into your MixPanel instance.

hapyak.viewer({
onTrackingEvent: hapyak.mixpanelTrackingEventListener({mixpanel: window.mixpanel})
});

Reply