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.
Release 2017-09-21 (September 21, 2017)
Added “android-app://” URLs as a valid referral source.
Release 2017-07-12 (July 12, 2017)
This release adds the new customTask task.
Release 2015-04-13 (April 13, 2015)
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
Release 2015-01-30 (January 30, 2015)
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.
Release 2014-09-02 (September 2, 2014)
- Hits can now be sent using
navigator.sendBeacon
(in supported browsers) by passing theuseBeacon
parameter. - The cookie set by the display features plugin has been renamed from
_dc
to_gat
.
Release 2014-06-25 (June 25, 2014)
- Hits that do not contain a valid tracking id are now dropped.
- Added support for Regular Expressions in Cross Domain linking plugin.
Release 2014-05-12 (May 12, 2014)
-
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.
Release 2014-04-16 (April 16, 2014)
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 withscreenview
. Update your app tracking code as soon as possible to usescreenview
instead ofappview
.
New Fields
- Screen Name - The name of the page/screen. When not set it defaults to the page URL (web) or Id of the screen (app).
- Application ID - Application identifier.
- Application Installer ID - Application installer identifier.
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.
Release 2014-04 (April 2, 2014)
- Added the ability to override User ID parameter.
Release 2014-02 (February 11, 2014)
- 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.
Release 2013-11 (November 22, 2013)
- Maintenance release.
Release 2013-11 (November 7, 2013)
- Added Automatic Cookie Domain Configuration
- Added Cross-Domain Auto Linking for Forms
- Bug fixes
Release 2013-03 (March 22, 2013)
Today we launched the new analytics.js collection library into Open Beta.