Clone of https://gerrit.wikimedia.org/r/mediawiki/extensions/googleAnalytics, with updated javascript