Rather than embedding individual page tracking or event tracking within each element I prefer to create a JQuery listener to pick up any predefined classes or Id's and action them according to rules contained in the object.
This means I don't have a load of inline analytics code to maintain and I only have one place to create and manage tracking rules.
After that I simply stuff it into a Google Asynchronous analytics call.
var selectedidname = $(this).attr('id');
var splitelem = selectedidname.split("-");
var category = splitelem;
var action = 'click';
var label = splitelem;
_gaq.push(['_trackEvent', category, action, label]);
// any errors?
console.log('error = ' + err);
The corresponding hyperlink looks like this.