brettr
asked on
How to get stats for audio?
I have an audio player (javascript based) on several webpages that plays MP3 files from my web server. Is there some way to track clicks that starts the audio?
If it can't be done from my web server, is there some service available that I can upload the MP3s to and track them? I'd like to continue using the audio player on my site and reference any MP3s files remotely.
If it can't be done from my web server, is there some service available that I can upload the MP3s to and track them? I'd like to continue using the audio player on my site and reference any MP3s files remotely.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Have you considered Google Analytics?
ASKER
I'm not sure how to do that with IIS logs but would rather avoid them.
How is it done with Google Analytics?
How is it done with Google Analytics?
GA is not going to help you here.
GA injects a piece of javascript code that tracks your page, but afaik it cannot track an AJAX page subcomponent like an embedded mp3 player. The player does its own IO with the web server and GA is helpless.
So, IIS logs are your only rescue. This is not as bad as it sounds.
You can direct the IIS logs into a SQL database.
You can also apply logging selectively only to the /mp3 folder.
Another benefit from dealing with IIS logs is that GA does not track automated access to your web site. Search engines, bots, downloaders, malicious attacks etc are NOT tracked with GA.
GA injects a piece of javascript code that tracks your page, but afaik it cannot track an AJAX page subcomponent like an embedded mp3 player. The player does its own IO with the web server and GA is helpless.
So, IIS logs are your only rescue. This is not as bad as it sounds.
You can direct the IIS logs into a SQL database.
You can also apply logging selectively only to the /mp3 folder.
Another benefit from dealing with IIS logs is that GA does not track automated access to your web site. Search engines, bots, downloaders, malicious attacks etc are NOT tracked with GA.
ASKER
Thanks.
Are there any services such as Amazon's S3 that can track clicks against MP3s?
Are there any services such as Amazon's S3 that can track clicks against MP3s?
any $5/month hosting plan will do.
Most come with built-in log analysis tools.
Most come with built-in log analysis tools.
ASKER
Can give an example?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks. My hosting service does have Awstats. I just need to enable logging and give it a little time to accumulate.
Are you saying that you have a log and the mp3 files' requests are not there?