Adds Google Analytics Event Tracking to some API calls so that usage of the API can be reported on via Google Analytics.