Skip to main content
User Community Portal
Solved

Mixpanel Brightcove integration

  • January 30, 2024
  • 1 reply
  • 52 views

Forum|alt.badge.img

Is there a way to integrate between mixpanel and brightcove?

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

Best answer by Michael Arguin

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})
});
View original
Did this topic help you find an answer to your question?

1 reply

Michael Arguin
Forum|alt.badge.img

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings