I thought I had everything right, but there's no event data being reported in GA for my single movie clip. Here's my js code:
The documentation here seems inconsistent with what GA has me include on my page, which is this:
Can anyone shed some light here? Did I miss a semi-colon somewhere?
Oh, I'm using FlowPlayer commercial.
Thanks!
<script>
flowplayer("player", "flowplayer.commercial-3.2.1.swf", {
key: 'my-flowplayer-key-goes-here',
clip: {
autoPlay: true,
autoBuffering: true,
onStart: function(clip) {
_tracker._trackEvent("video", "play", clip.url);
}
}
});
The documentation here seems inconsistent with what GA has me include on my page, which is this:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'my-ga-code-goes-here']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
Can anyone shed some light here? Did I miss a semi-colon somewhere?
Oh, I'm using FlowPlayer commercial.
Thanks!