Overriding a MouseEvent.CLICK

Even though the title of this thread mentions overriding, there might be another way to accomplish this.

I would like my custom functionality to happen each time a MouseEvent.CLICK is fired (or captured). This is specifically for tracking clicks on my page. I could just call a tracking function each time a CLICK happens, but if possible - it would be way cooler to have it happen automatically (also I wouldn’t have to remember to make that extra function call every time I want to track), and also I wouldn’t have to go back and fix all the CLICKs that were coded in without tracking.

So if someone knows how would this be done, I’d really appreciate some pointers.