tracking Flash event using Google Analytics or jQuery

I have a number of mp3 files on a client's page. The client would like to track these events. The code to play one of the events is attached. The others are identical except for the filename. I have tried to track these with Google Analytics asynchronous code and also jQuery without accurate results. I am looking for specific code examples that would accurately track each time a file is played by filename.
Thanks for your help
HalRauAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
sweetfa2Connect With a Mentor Commented:
Not sure about google analytics.  You can do whatever javascript you want.  If you can update the google-analytics stuff programatically then you can do it.
0
 
sweetfa2Commented:
You could monitor the access log on the server.  It will give you real counts of access to files.

Add an onclick method for the object tag.  When the file is selected update a counter value for that particular mp3 file.
0
 
HalRauAuthor Commented:
sweetfa2 The client would like to view these via their Google Analytics account. Would your scheem work for that?
0
 
sparabCommented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.