• I had an idea for very easy addition of stats to this plugin. For those of us using Google Analytics, just add a track pageview instance in the embed, i.e. onClick=”javascript: pageTracker._trackPageview(‘/audio-download’);”

    For more customization, allow us to change how the link will appear in Google Analytics so that it can be unique for each piece of media, e.g.

    [audio:https://www.mydomain/mp3/episode2.mp3;google:episode2-download%5D

    would create:

    onClick=”javascript: pageTracker._trackPageview(‘/episode2-download’);”

    I feel like this is an easy fix but I’m not a PHP programmer ??

    Adding this would eliminate the need for me to look into a separate plugin or service to track downloads of my files through the front-end

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am working on a solution. The hard thing is to come up with a flexible solution for everybody. I have taken note of your suggestion and will see if it’s feasible.

    Martin

    hi guys,

    i’m interested in this theme!

    where can i place a function_name(‘value1’, ‘value2’);
    in the audio-player.js, so that runs this function on play by user?

    thanks
    helmut

    I too am interested in using Google Analytics to see what audio files people are actually listening to on my site. My preference would be for tying into GA events, and not making fake pageviews. This is exactly what events are for.

    Does anyone know if the flash player has any event handles built into it (play, stop, etc.)? I’m pretty good with javascript, but have no experience with flash.

    ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Audio Player] Google Analytics Integration?’ is closed to new replies.