<strong>Introduction:</strong>
<a href="Google" rel="nofollow">http://www.playerdiy.com/configuration/addons/googlytics.html">Google Analytics Plugin</a> allows you to track events within the flash video player, which created with <a href="Moyea" rel="nofollow">http://www.playerdiy.com/">Moyea Web Player</a>. With it, the tracking results of the player events like play, pause, stop, complete, can be easily viewed in Google analytics account, and you can easily know how the users operate the player, which video is more popular.

<strong>Where this Google Analytics Plugin appears:</strong>
After install this plugin, it will appears on the following interface of Moyea Web Player.
<img src="http://www.playerdiy.com/images/addons/google-analytics1.jpg" />

<strong>Tutorial about how to use this Google Analytics Plugin:</strong>

It's very easy to make this Google Analytics Plugin work in the generated <a href="flash" rel="nofollow">http://www.playerdiy.com/">flash video player</a>, no any js code involved, Please track out the following two examples.

About Moyea Web Player:
It is an easy-to-use FLV player creator, with which, customizing skinning streaming FLV player and FLV player (flash video player) for website only needs a few mouse-clicks. And the created player can be easily edited via flashvars code.
Its official website is:
http://www.playerdiy.com/

Example 1:

If want to make this Google analytics plugin to check the events of an unexisted flash video player, when customize the flash video player, only 2 extra steps are needed:

Step 1: Register a Google analytics account, add a website profile and get the Google analytics tracking ID (UA-xxxxxx-x) of the website.

Step 2: Fill the "Analytics Tracking ID" forum with the tracking ID and submit.
http://www.playerdiy.com/images/addons/google-analytics2.jpg

Note: The "Virtual Directory Name" on the setting page is helpful for viewing information of the player events in Google analytics account, it can be anything you want it to.

Example 2:
If want to track the events of an existed flash video player, you need to put a folder named "plus" (contains a plugin file googlytics.swf) and a file addonslist.xml in the same folder with the player files.

The "plus" folder with a googlytics.swf file and the addonslist.xml file can be easily generated with Moyea Web Player.

However, if you don't want to generate the "plus" folder and addonslist.xml file with Moyea Web Player, then you could build them by yourself.

The code of the addonslist.xml file as below:

[code]
<?xml version="1.0"?>
<addonslist><addonsitem href="plus/googlytics.swf?u=UA-xxxxxx-x&amp;vd=mwplayer-play-video"/></addonslist>
[/code]

The googlytics.swf file is the plugin, if Moyea web Player was installed in your C: disc, then you can get it from C:\Documents and Settings\Administrator\My Documents\Moyea\WebPlayer\addons\free

Note: Please replace UA-xxxxxx-x with your Google analytics tracking ID.