Added google analytics event tracking to various parts of the UI and the API. More to come, guess.