No-Library (pure JS), HTML, CSS, JavaScript
Source version with comments: http://j.mp/gaeventtrackingforcro
Dynamically track optimization audit data for user behaviors like bounce (ABR) and scrolling along with clicks on tabs, file downloads, jump-to buttons, email address links, phone click-to-call, and external domain links.