Google Analytics Web Tracking (analytics.js) Changelog

We periodically update the Google Analytics JavaScript Tracking Code (analytics.js) in order to deliver new features and to repair defects discovered in previous versions.

This page documents any changes made to the analytics.js tracking code. We recommend that you periodically check this list for any new announcements. You can also subscribe to changes via the feeds listed under the Subscribe section below.

Note that you and your users might not see the updated analytics.js tracking code right away because:

  • Changes are incrementally rolled out over several days across Google's global data center infrastructure.
  • Users of your website might have older versions of our javascript cached in their browsers.

Subscribe To Related Changelogs

Includes all Collection, Configuration, and Reporting APIs.

Includes Web Tracking (ga.js and analytics.js), Android SDK, iOS SDK, and Measurement Protocol.

Added “android-app://” URLs as a valid referral source.

This release contains the addition of a new field. Review the Field Reference for the complete list of fields.

Transport

  • The transport field allows you to set the mechanism with which hits will be sent.

Other Changes

  • The useBeacon option is deprecated.
  • Bug fixes

This release contains the addition of a new field. Review the Field Reference for the complete list of fields.

Data Source

  • The Data Source field allows you to set the data source of a hit.
  • Updated the list of supported organic sources.

    • Removed: Netscape, About, Mamma, Voila, Live, Wirtulana Polska, Yam, Ozu.
    • Added/Updated: Baidu, DOCOMO, Onet, Centrum, Sogou, Tut.By, Globo, Ukr.net, So.com, au one.

This release contains the replacement of the appview hit type and the addition of new fields. Review the Field Reference for the complete list of fields.

appview Replacement

  • The appview hit type has been replaced with screenview. Update your app tracking code as soon as possible to use screenview instead of appview.

New Fields

Other Changes

  • Improved debug output.
  • Fixed various prerendering bugs.
  • Added support for unprefixed prerendering apis. Prerendering now works in IE11 in addition to Chrome.
  • Other minor bug fixes in linker support.
  • Linker parameters are no longer ignored when navigating across domains at different zoom levels in Firefox.
  • Fixed a problem where In-Page Analytics would fail to load for certain URLs.
  • Improvements to debug mode output.
  • Maintenance release.