http://www.renfei.org/blog/google-analytics-event-tracking-for-links.html