Could you add a way, if there isn't already, to track these Hana FLV videos as an event in Google Analytics? If there is already a way, please let me know. Thank you very much!
Event Tracking in Google Analytics
(6 posts) (2 voices)-
Posted 1 year ago #
-
There is no such function yet but I am looking into it. Never used Google Analytic event tracking before. So it may take some time.
Posted 1 year ago # -
You can check out the flowplayer article about how to set up GA in flowplayer. That may give you a good idea where to start/what code you need to have it create.
Posted 1 year ago # -
I tried editing the hana-flv-player.php to this
<script type='text/javascript'>
flashembed('$flow_id',
{ src:'".$this->plugin_url."/".$this->player_base[$player]."/FlowPlayerDark.swf', wmode: 'transparent', width: ".$flv_attr['width'].", height: ".$flv_attr['height']." },
{ config: { $videoFile autoPlay: ".$flv_attr['autoplay']." ,loop: ".$flv_attr['loop'].", autoRewind: ".$flv_attr['autorewind'].", autoBuffering: ".$flv_attr['autoload'].",
$splashImage initialScale: 'scale' " . $flv_attr['more_2'] . "
$playList
}},
{ clip: {
// track start event for this clip
onStart: function(clip) {
_tracker._trackEvent("Videos", "Play", "Main Video");
}}}
);
</script>But that returned a fatal error.
Posted 1 year ago # -
Thanks I will take a look at it.
Posted 1 year ago # -
Ok now it's implemented in version 2.7. Check it out.
Posted 1 year ago #
Reply
You must log in to post.
resolved