function trackButtonClick(e) {
  _gaq.push(['_trackEvent', e.target.id, 'clicked']);
}
Track a click on a button using the asynchronous tracking API.

See http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html
for information on how to use the asynchronous tracking API.