Update google analytics

GA has been updated and has a [new API](https://developers.google.com/analytics/devguides/collection/analyticsjs/method-reference). I added the most important top-level typedefs.