First You should to open page:
Google Analytics
And to register or to login there.
After You've entered Your account You should to open
Admin page and select one of Your accounts (sites) or Create one:
Then You should to select Your site's account and click on Account Settings. You'll see the Account ID there:
We get it. It's
27852055, for example.
Then You need to open index.php of Your template and insert this script there betwee the <head></head> tags, for example:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27852055-1']);
_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);
})();
</script>
of new code from GA system.
After You did it, You should to open Commedia content plugin settings and enable
Google Analytics option.
It will send events to Google Analytics every time when the user play or download the file using Commedia.
Some time (or days) later You'll have to see information about playing and download counts in Your GA panel:
On the last screenshot You have to see information about how many times every file was played for the last week.