Implementation methods for events and transactions tracking in Google Analytics

I previously covered the different integration patterns and pitfalls when implementing google analytics. In that article, however, I did not include the implementation of events for Google Analytics, their setup within a website code base, or how to QA them.