You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Looking to hire: Google Analytics tracking and Flowplayer Created Nov 20, 2009

This thread is solved

Views: 2066     Replies: 3     Last reply Mar 1, 2010  
You must login first before you can use this feature

k626

Posts: 1

Registered:
Nov 20, 2009

Looking to hire: Google Analytics tracking and Flowplayer

Posted: Nov 20, 2009

We are seeking someone who can help configure our Flowplayer code to work with the Google Analytics Event Tracking variable. None of the instructions that we have looked at on this site, or elsewhere, have worked.

We are willing to pay you $100 for a working solution (it must result in data collection in our GA account for it to be working!).

Contact k626@live.com for more information.

Edge
Vizmu Media ------------------- http://vizmu.com/

Posts: 576

Registered:
Nov 29, 2008

» Looking to hire: Google Analytics tracking and Flowplayer

Posted: Nov 20, 2009

Reply to: Looking to hire: Google Analytics tracking and Flowplayer, from k626
Since this was posted in the configuration section I'll post a quick example below. If you're only looking to hire someone this thread can be moved to the market place.

Remember to replace "UA-Your-GA-Code-Here" with your GA code.

Also check to make sure the normal GA tracking code is not anywhere else on the page with the player you want tracked.

<script src="http://www.google-analytics.com/ga.js"></script>
<script type="text/javascript" src="/flowplayer-3.1.4.min.js"></script>

<a id="player" style="display:block;width:480px;height:270px;"></a>

<script language="JavaScript"> 
var _tracker = _gat._getTracker("UA-Your-GA-Code-Here");
_tracker._trackPageview();

$f("player", "/flowplayer-3.1.5.swf",{ 
   clip:{

   onStart: function(clip) { 
            _tracker._trackEvent("Videos", "Play", clip.url); 
        },onPause: function(clip) { 
            _tracker._trackEvent("Videos", "Pause", clip.url, parseInt(this.getTime())); 
        },onStop: function(clip) { 
            _tracker._trackEvent("Videos", "Stop", clip.url, parseInt(this.getTime())); 
        },onFinish: function(clip) { 
            _tracker._trackEvent("Videos", "Finish", clip.url); 
        },

         url: '/path/to/your/video.flv',
         autoBuffering:true,
         autoPlay:true,
         scaling: 'fit'
         },
    plugins:{
	    controls:{
		   autoHide: 'always'
	         }
        },
    canvas:{
	   backgroundColor: '#000'
	}
}); 
</script>


SETBC

Posts: 4

Registered:
Jan 25, 2010

» » Looking to hire: Google Analytics tracking and Flowplayer

Posted: Feb 25, 2010

Reply to: » Looking to hire: Google Analytics tracking and Flowplayer, from edge
"Also check to make sure the normal GA tracking code is not anywhere else on the page with the player you want tracked."

I agree, that when you have google analytics twice on the page the code above you will have inflated visits to the site.

But what if you want to track the rest of the page as well as the videos? Most people have google analytics embedded in the footer, as instructed by Google Analytics.

Would you have to remove the code from the footer? and make an exception in how google analytics is embedded everytime there is a video on the page? This will be a maintenance nightmare. Isn't there a way to leverage the Google Analytics that is already on the page?

Edge
Vizmu Media ------------------- http://vizmu.com/

Posts: 576

Registered:
Nov 29, 2008

» » » Looking to hire: Google Analytics tracking and Flowplayer

Posted: Mar 1, 2010

Reply to: » » Looking to hire: Google Analytics tracking and Flowplayer, from SETBC
Have you tried using the analytics swf plugin?

Checkout the Bridge mode example: http://flowplayer.org/plugins/flash/analytics.html