I haven't tested this in a full production environment, but this little snippet of jQuery seems to be giving me a good way to parse links with customizable class names into an equivalent google analytics events tracking code.I haven't tested this in a full production envi