Show Menu

AppMeasurement for JavaScript

Cumulative release notes for AppMeasurement for JavaScript.
The latest version of each library can be downloaded in Analytics > Admin > Code Manager .

Versions 2.17.0

Release date: August 23, 2019
Added Baidu support
Added support for Baidu query string reordering.
Fixed an issue that caused stale visitor values in hits that were queued while waiting for opt-in.

Version 2.16.0

Release Date: August 15, 2019
sendBeacon support for exit links
Implemented sendBeacon support in AppMeasurement for exit links. This will improve exit link tracking and will likely result in increased traffic. SendBeacon doesn't execute in the context of a page but in the context of the browser. That is if a page unloads with sendBeacon , the request will still be completed. This is very useful for exit links because it will make it much more likely that the exit link request will be completed.
ECID/fid values
ECID/fid values are now cached on the first hit even though OptIn settings change.
DIL 9.3
Updated Audience Management Module to DIL 9.3
Scroll reach tracking
Exposed switch in s.ActivityMap.trackScrollReach to turn scroll reach tracking on or off.
Visitor ID Service 4.4.0
Upgraded AppMeasurement to use Visitor ID Service 4.4.0.

Version 2.15.0

Release Date: July 15, 2019
  • Added ActivityMap scroll reach tracking to the Activity Map extension (AN-172949)
  • Added DIL 9.2 to AppMeasurement (AN-182472)

Version 2.14.0

Release Date: May 21, 2019
  • Fixed issues with management of the state of tracker parameters when multiple hits are pending. (AN-176931, AN-176629, DTM-12758)
  • Updated AppMeasurement to include Visitor.js 4.3.0 (AN-180049)

Version 2.13.0

Release Date: April 10, 2019
Fix for many reported problems with clearVars. The problem occurs when hits are sent out before the tracker is ready. When the tracker becomes ready, the library can set variables that have already been cleared or changed. (AN-176931, AN-176629, DTM-12758).

Version 2.12.0

Release Date: 02/22/2019
  • Updated Audience Management module to DIL 9.1. (AN-175255)
  • GTM Security Policy not allowing Activity Map Module. (AN-174679)
  • Improved AppMeasurement to honor opt-out when the Identity Service is not approved in opt-in. (AN-175259)

Version 2.11.0

Release Date: 02/11/2019
  • Added support for the new Adobe Opt-in services functionality in AppMeasurement. (AN-163546)
  • Added support for storing link tracking data on session-storage. (AN-162272)
  • Added support for media stream type for Audio Analytics. (AN-173265)

Version 2.10.0

Release Date: 09/20/2018
This release ensures that the AppMeasurement library submits cookies correctly for all connection types.
  • AppMeasurement blocks cookie transmissions during POST. (AN-165538)
  • Drop support for XDomainRequest. (AN-165733)
  • Reduce AppMeasurement default cookie lifetime from five to two years. (AN-158572)
  • Remove the Media Module from the Code Manager ( AppMeasurement) (AN-166590)

Version 2.9.0

Release Date: 05/24/2018
Visitor API 3.0 or higher is required for customers using the Experience Cloud ID Service. Adobe recommends upgrading to the latest Visitor API version whenever associated code libraries are updated ( at.js, AppMeasurement.js, and so forth.)
  • Updated AppMeasurement to use the updated Visitor interface for requesting IDs. (AN-151483)
  • Fixed an issue where link tracking cookie keeps getting written after link tracking is turned off. (AN-156332)
  • Fixed an issue where registerPreTrackCallback and registerPostTrackCallback breaks callback function signature when called multiple times. (AN-158566)

Version 2.8.2

Release Date: 04/12/2018
  • Update AppMeasurement to use the updated visitor interface for requesting IDs. (AN-151483)
  • Link tracking cookie keeps getting written once link tracking is turned off. (AN-156332)
  • Reduce AppMeasurement default cookie lifetime from five to two years. (AN-158572)

Version 2.8.1

Release Date: 03/29/2018
Re-bundle Visitor API 3.1.0 (AN-159524), which includes the hot-fixes: (CORE-11390, CORE-10634)

Version 2.8.0

Release Date: 03/15/2018
Re-bundle Visitor API 3.1.0 (AN-159524), which includes the hot-fixes: (CORE-11390, CORE-10634)
  • Bundle VAPI v3.1 with AppMeasurement v2.8. (AN-158353)
  • Refactor building the data collection end point to facilitate sharing. (AN-156647)
  • Add request round-trip timing metrics to AppMeasurement. (AN-158343)

Version 2.7.0

Release date: 01/18/2018
  • Dropping support for IE 6 through 9
  • Inclusion of Visitor API v3.0.0
  • Inclusion of DIL v7.00

Version 2.6.0

Release date: 11/09/2017
Fixed an issue where AppMeasurement library does not always set the correct account combination when s_gl is called. (AN-152153)

Version 2.5.0

Release date: 09/21/2017
  • Inclusion of dil.js 6.12 ( Audience Manager module)
  • Inclusion of Visitor API 2.5.0.

Version 2.4.0

Release date: 08/17/2017
  • Include dil.js v6.11
  • Include Visitor API 2.4.0

Version 2.3.0

Release date: 07/20/2017
  • Fixed bug where s.Util.getQueryParam was capturing #
  • Added v6.10 of dil.js (AN-145701)

Version 2.2.0

Release date: 06/08/2017
  • Added support for multiple AppMeasurement instantiation order. (AN-138237)
  • Inclusion of version 2.2.0 Visitor API. (AN-144042)

Version 2.1.0

  • Included latest version of dil.js (AN-140396)
  • Added support for adobe_mc_ref parameter which overrides the page referrer. (AN-131920)
  • Re-Included Visitor API 2.1.0. (AN-140873)
  • Added mcorgid parameter. (AN-139586)
  • Added cp (customerPerspective) parameter. (AN-140897)

Version 2.0.0

Release date: 03/09/2017
  • Moved to a new build process that requires a version number update to 2.0.0. (AN-137878)
  • Moved mboxMCSDID handling into the correct section location where the tracking call is made. (AN-138483)

Version 1.8.0

Release date: 01/19/2017
  • Include VisitorAPI 2.0.0
  • Re-sequenced function calls and checks so that the SDID is consumed after the abort check has completed. (AN-134364)
  • Added the following pre- and post-tracking call hooks. (AN-134567)
    • s.registerPreTrackCallback
    • s.registerPostTrackCallback
    These functions take as parameters: the callback (a function), and the parameters to that function. For example:
    s.registerPreTrackCallback(function(requestUrl,a,b,c) { 
        console.log("pre track callback"); 
        console.dir(requestUrl); // Request URL 
        console.dir(a); // param1 
        console.dir(b); // param2 
        console.dir(c); // param3 
    }, "param1", "param2", "param3");
    The callback is invoked with the requestUrl and any parameters passed in when the callback is registered. This occurs either before or after the tracking call, depending on which method is used to register the callback. The order in which these callbacks are called is not guaranteed. Callbacks registered in the pre function are invoked after the final tracking URL is created. The post callbacks are called upon a successful tracking call (if the tracking call fails, these functions are not called). Any callback registered with registerPreTrackCallback do not affect the tracking call. Also, calling any of the tracking methods in any registered callback is not recommended and could cause an infinite loop.

Version 1.7.0

Updated: 11/10/2016
  • Include Visitor API 1.10.1.

Version 1.7.0

Updated: 10/20/2016
  • Update Audience Manager module with Demdex Integration Library (DIL) 6.6. (AN-132065)
  • Inclusion of Visitor API 1.9.0. (AN-132072)

Version 1.7.0

Updated: 9/15/2016
  • Update AppMeasurement Audience Manager Module with DIL 6.5 and Additional Configurations (AN-129411)
  • Inclusion of Visitor API 1.8.0 (AN-129887)

Version 1.6.4

Updated: 8/18/2016
  • Updated AppMeasurement to read and write AMCV cookies. (AN-127098)
  • Inclusion of Visitor API 1.7.0.
Also see the following release notes for JavaScript version 1.6.3, which includes updated requirements for Experience Cloud ID service.

Version 1.6.3

Updated: 8/4/2016
  • Fixed an issue where AppMeasurement prematurely terminated request connections. (AN-126448)
Version 1.6.0 of the Experience Cloud ID service requires AppMeasurement for JavaScript version 1.6.3 or higher. If you want to upgrade to version 1.6.0 of the Experience Cloud ID service, please make sure you are using AppMeasurement code verison 1.6.3 or higher.

Version 1.6.2

Release Date: July 21, 2016
  • Inclusion of Visitor API 1.6.0.
  • Fixed an issue causing AppMeasurement to call the wrong obfuscated method in the Visitor API. (AN-126006)
  • Fixed an issue causing the JavaScript error: "Attribute only valid on v:image". (AN-124009)

Version 1.6.1

Release date: June 16, 2016
Inclusion of Visitor API 1.5.7.

Version 1.6.1

Release Date: May 19, 2016
JavaScript version 1.5.6
  • Inclusion of Visitor API 1.5.6
  • Fixed the handling of link click tracking in Firefox that was not firing the complete event.

Version 1.6

Release Date: April 21, 2016
  • The AppMeasurement Activity Map module has been integrated in the AppMeasurement standard module, so that you only have to reference one .js file. Additionally, Activity Map tracking is activated by default. (AN-112689)
  • Fixed a truncation issue occurring with the order of query-string variables in AppMeasurement, so that pageURLRest is last. (AN-114647)

Version 1.5.4

Release Date: March 17, 2016
  • Inclusion of Visitor API 1.5.4
  • Support for Visitor API 1.5.4+ opt-out

Version 1.5.3

Release Date: January 21, 2016
  • Fixed handling of Audience Manager module when POSTs are used for tracking calls. (AN-115381)
  • Moved the rest of the page URL ("-g") to the end of the tracking request query string. (AN-114647)

Version 1.5.2

Release Date: November 5, 2015
  • Inclusion of Visitor API 1.5.3.
  • Fixed detection of IE11 for URL Truncation 2047 (AN-114914)

Version 1.5.1

Release Date: September 17, 2015
  • Inclusion of Visitor API 1.5.2

Version 1.5.1

Release Date: August 29, 2015
  • Inclusion of Visitor API 1.5.1.

Version 1.5.1

Release Date: July 16, 2015
  • Updated Audience Manager module to use AAM DIL 6.2 - getCustomer IDs from VisitorAPI.js and pass them in /event call to AAM. (AN-104978)

Version 1.5

Release Date: June 18, 2015
  • Support for Visitor API 1.5, which uses the getCustomerIDs method to gather Customer IDs and authenticated state, and sends the IDs in with data collection requests.
  • Fixed the creation of duplicate destinationing iframe in AudienceManagement module (DIL 6.1)
  • Fixed the known issue described in release 1.4.5.

Version 1.4.5

Release Date: May 21, 2015
Feature Description
iOS Extension
Starting in iOS SDK version 4.5, a new iOS extension lets you collect usage data from your Apple Watch Apps, Today Widgets, Photo Editing widgets, and all the other iOS extension apps.
Android Wearable Extension
Starting in Android SDK version 4.5, a new Android extension lets you collect data from your Android Wearable app.
  • Inclusion of Visitor API 1.4.
  • Updated AudienceManagement module to use DIL version 6.0.
Known Issue
In the Visitor API / AppMeasurement Audience Manager Module integrations, there will be two destination publishing iFrame requests made in IE6-9: //fast.<subdomain> and //fast.<subdomain> . The correct behavior, as seen in other browsers, is to only load //fast.<subdomain> .

Version 1.4.4

Release Date: April 16, 2015
Feature Description
Custom data with lifecycle metrics
You can now include custom context data variables with lifecycle metrics.
Beacon tracking support in PhoneGap
The trackBeacon and clearCurrentBeacon calls are now available in PhoneGap .
A minor fix to clear the light-server call profile ID after the trackLight call.

Version 1.4.3

Release Date: February 19, 2015
  • Made all handling of delayed tracking calls consistent, which fixes issues with backed-up variables during the delay, such as the clicked object.
  • Changed to not do automatic referrer tracking after the first tracking call so the 2nd, 3rd, etc tracking call (usually link tracking) will not double-count the referrer when s.referrer was manually set before the first tracking call.
  • The distribution zip was updated to include Visitor API 1.3.5.

Version 1.4.2

Release Date: January 15, 2015
  • Fixed handling of WebKit prerender handling to prevent tracking of pre-rendered pages that are not viewed.
  • The distribution zip was updated to include Visitor API 1.3.4 and an updated AudienceManagement module that includes DIL version 5.5.

Version 1.4.1

Release Date: September 18, 2014
  • Added a tagContainerMarker variable that allows the implementation to specify up to 4 characters that are appended to the version string along with an additional dash character delimiter. This is used by dynamic tag management.
    // JavaScript 
    s.tagContainerMarker = "D1.0"; 
    // Data Collection request 
    The 4 characters are limited to characters that are allowed in URL file paths, such as alpha-numeric and period.
  • On pages that are dual-tagged with H Code, fixed a loop that might occur during automatic link tracking (download and exit) with when forced link tracking is enabled (default in Webkit browsers). Additionally, added a general safeguard around automatic link tracking to prevent similar loops. This safeguard limits automatic link tracking of repeated clicks to the same object to once every 10 seconds. This safeguard applies only to automatic link tracking, so manual link tracking ( calls are not limited. Clicks to different objects are also not impacted by this safeguard and will be tracked.
  • Fixed handling of clicked object when a delay is needed.
  • Fixed an issue that caused a double page-view count when s.t was called from a link onclick function, if the Visitor API does not have the needed values yet.
  • HTTP POST support.
    For an Analytics call to use the POST method instead of the GET method in AppMeasurement (a method of solving truncated URLs in IE ), you must be using the latest Visitor ID Service implementation for Experience Cloud.

Version 1.4

Release Date: August 21, 2014
  • Removed tracking of browser plug-ins ( p query parameter) as plug-ins are no longer reported in version 15.
  • Addition of the AudienceManagement Module in the download zip.
Added support for additional eVars (76 - 250) and events (101-1000).
H-Code does not support the additional eVars and events.

Version 1.3.2

Release Date: June 19, 2014
  • Fixed handling of done and waiting flags for Visitor API fields such as the legacy Analytics Visitor ID, that was causing errors.
  • Support for new features in visitor ID service 1.3.

Version 1.3.1

Release Date: May 22, 2014
  • AppMeasurement for JavaScript s_gi function was not correctly finding instances created using H code s_gi . Note that this issue only impacted some dual tagging implementations where AppMeasurement for JavaScript and H code were on the same page with separate instances, and s_gi was being used to find instances by report suite.

Version 1.3

Release Date: April 17, 2014

Version 1.2.4

Release Date: March 13, 2014
  • Bug fixes for heartbeat video.

Version 1.2.3

Release Date: February 20, 2014
  • Bug fixes for heartbeat video.

Version 1.2.2

Release Date: February 6, 2014
  • Fixed a compatibility issue with the Audience Manager DIL module. Audience Manager customers must also update to version 4.8 of the DIL module.

Version 1.2.1

Release Date: November 15, 2013

Version 1.2

Release Date: November 14, 2013

Version 1.1.1

  • Prevented a link tracking call from being sent from Opera browsers for links that start with "opera:" ("opera:" is similar to "about:" and "chrome:" in other browsers).
  • Added alt="" to all Image objects to comply with Accessible Video and Communications Act.

Version 1.1

Release Date: September 18, 2013
  • Fixed support for placing the library and page code in the head tag.
  • Added missing module onLoad support.

Version 1.0.3

Release Date: August 15, 2013
  • Added support for deployment through Adobe tag management.
  • Fixed an issue that prevented hierarchy variables from being set on the AppMeasurement object.

Version 1.0.2

Release Date: July 18, 2013
  • The hash/fragment is now ignored by automatic link tracking. Previously the following URL was automatically tracked since the entire href ended in .pdf :
    <a href="index.htm#anchor.pdf">Test Link</a>
    Now the hash/fragment is ignored so the link is tracked only when the filename ends in an extension that matches.

Version 1.0.1

Release Date: May 23, 2013
A new JavaScript AppMeasurement library is now available in Code Manager. This library provides the same core functionality of s_code.js, but is lighter and faster for use on both mobile and desktop sites.
  • 3-7x faster than the H.25 code.
  • Only 21k uncompressed and 8k gzipped (H.25 code is 33k uncompressed and 13k gzipped).
  • Native support to get query parameters, read and write cookies, and perform advanced link tracking.
  • Small and fast enough to be used with mobile sites, and robust enough to be used on the full desktop web, allowing you to leverage a single library across all web environments.
See AppMeasurement for Javascript in the Analytics Implementation Guide.
Some plug-ins are not supported in this new version. See Plug-in Support for details.