[Plugin: Audio Player] Google Analytics Integration?
-
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
- The topic ‘[Plugin: Audio Player] Google Analytics Integration?’ is closed to new replies.