This plugin allows you to track your media content in Comscore. It supports VoD, livestreams as well as ads tracking. The Flowplayer platform analytics are not replaced by usage of this plugin.
Prerequisites
Flowplayer native, ads plugin if you want to measure ads and the Flowplayer platform integration plugin if you want to use macro replacement for titles and similar.
Installation
Add the plugin next to the core player:
<script src="//cdn.flowplayer.com/releases/native/stable/flowplayer.min.js"></script>
<script src="//cdn.flowplayer.com/releases/native/stable/plugins/comscore.min.js"></script>
<!-- add further plugins if required -->
account_id - Your Comscore account id, also referred to as c2
c3 - Your c3 value provided to you by Comscore.
media_title: Use string directly or [media_name] as a placeholder for media title in metadata event.
media_id: Use string directly or [media_id] as a placeholder for media id in metadata event.
ns_st_*: There are several more Comscore values that can be specified in the config. Please read the general Comscore documentation for all available properties.
Tracked Events
The plugin tracks following event:
ad_started - Sent at the start of each ad
ad_complete - Sent at end of each ad
video_started - Sent first time the video/livestream playback start
video_resume - Sent each time the video/livestream playback start after being paused
video_paused - Sent each time the video/livestream playback is paused
video_complete - Sent when the video/livesteam has finished playing