Implement Google Analytics

We should implement Google Analytics into the UI so that we can measure user activity.

Ideally, we should send data for every action that the user undertakes. From logging in to browsing the tripos to logging out.