Stand alone – Google Analytics
If you want to enable Google Analytics on your stand alone you can follow this simple guide:
Firstly go to our previous blog post about Google Analytics, so you can find your GA-identifier. When you got it, go to your stand alone folder and edit the index.html file. In there you can add a section like the following at the bottom:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ?
"https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost +
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
customerTracker = _gat._getTracker("My tracker");
customerTracker._trackPageview();
} catch(err) {}
</script>
Remember to change “My tracker” with the GA-Identifier you got from Google. If the index.html file already contains a section like that you can just replace the tracker code with your own.
If you were one of the first purchasing a stand alone, the player might be from before we integrated Google Analytics. If you find yourself pretty sure you completed this guide correct and it still don’t work you might need to have your stand alone upgraded. Please write to standalone@pagegangster.com

Leave a reply