#78 Google analytics integration

open
nobody
None
5
2007-09-19
2007-09-19
denis queffeulou
No

Google analytics doesn't provide an XML API to submit hits, otherwise I will developp PHP URL instead of putting MP3 URL in the XSPF.
So the consequence is that each MP3 play thru the player is not recorded in stats.
This can be disappointing if the MP3 author is the creator of the website (this is my case).

So perhaps it is possible to make javascript calls to Google Analytics each time a MP3 is played.
A new parameter would be necessary to get the Google ID.

Obviously, Google Analytics is not the only one stat system so the javascript code can be different. Perhaps the javascript code to be used could be provided by an URL and execute by the player.
I'm not a Flash developper so I don't know what is possible to do.

Discussion