Tracking player clicks (SoundManager 2)

Hi!

I’m a self publishing musician, and i would like to track clicks on my music player. I’m fairly new to this system, and my knowledge in java is pretty much equivalent to none. However, i’ve tried to fibble with some “Custom Variables” to let piwik react when an mp3 is loaded, only to get very strange results.

The player i use is soundmanager 2, which is a fairly easy (…hrm… api?) to implement.

If i’ve got things right, i need piwik to react on


soundManager.play('mySound')

but i have no idea how to, also given that the ‘mySound’ is realtive to which track is being played.

I would be very greatfull for some help. I cannot offer very much in exchange except gratitude and a hole lot of groovy creative commons licensed music.

Thank you for reading, yours,
Set H.

I think i found my answer here:
http://piwik.org/docs/javascript-tracking/#toc-manually-trigger-a-page-view-on-click-or-on-js-event

It’s seems it has nothing to do with custom variables :slight_smile:

I’ll see what happens if i implement it in the code and let you know.

Thank you for your attention.