I am using the Linkr Plugin on my joomla site to upload documents and post a link to them. When a link is added you are given the chance to add Title, Class or Rel attributes to the link. I want to add the ability to add the Google Analytics Event Tracking code. The user would be asked for the Category and the Value which would then be used to create this code: <a href="#" onClick="[url removed, login to view](['_trackEvent', 'Category', 'Download', 'Value']);">Play</a>
and place that inside of the link.
After this is done I need the files that were changed so that I can repeat this on other sites.