Support new style Google Analytics library.

Google Analytics is recommending new users to use its
`analytics.js` instead of the old `ga.js` library.
The new library has a different way to send hits back,
hence the patch to support it.