I was just about to suggest the same thing.
Google Analytics has Event Tracking, which is easy to implement and create a structured program around Event Categories, Event Actions, and Event Labels, all 3 parameters are passed upon the onclick event via Javascript.
It can be implemented in a variety of ways, but I suggest looking into this.
-Geoff