Changelog Javascript

 

5.21.0

29/07/2020 Privacy pluginThe privacy plugin initialy planned for 5.21.0 has been delayed

New

  • Events: New plugin to manage custom events tag.events.send / tag.events.add
  • Tracker: Addition of custom property tagging methods tag.setProp / tag.setProps

Change

  • Campaigns: Automatic addition of square brackets when a label contains an unauthorized character
  • Clicks: Optimization of the sending management by Navigator.sendBeacon()
  • TechClicks: Optimization of redirection management

Fix

  • AvInsights: Fix regarding prefix attribution
  • Campaigns: The values of the Query Parameters at_platform and at_network are sent by default when there is no equivalence (sponsored links)
 

5.20.0

15/04/2020

New

  • AvInsights: Adding a playback speed management method setPlaybackSpeed

Change

  • AvInsights: Adding an optional parameter “cursor position” on a manual tagging heartbeat
  • Ecommerce: Removal of types, data repository and SalesTracker automated tagging configuration autoSalesTracker
    • Boolean properties must now be valued with true or false instead of 1 or 0
 

5.19.0

12/03/2020

New

  • Tracker: New plugin AVInsights allowing the measurement and tracking of media content.
  • Tracker: New global configuration parameter forceHttp allowing to force the sending of hits with ‘HTTP’ protocol ‘(‘HTTPS’ by default)
    var config = {forceHttp: false}; // false (by default) or true
  • Tracker: New global configuration parameter requestMethod allowing to force the ‘POST’ method to send hits (‘GET’ by default) via the function Navigator.sendBeacon()
    var config = {requestMethod: 'GET'}; // 'GET' (by default) or 'POST'
  • Tracker: New configuration parameter maxHitSize allowing to define the maximum size for a hit (2000 by default)
    var config = {maxHitSize: 2000}; // 2000 (by default)
  • Clicks: New configuration parameter requestMethod allowing to force the ‘POST’ method to send hits (‘POST’ by default) via the function Navigator.sendBeacon()
    var config = {Clicks: {requestMethod: 'POST'}}; // 'POST' (by default) or 'GET'
  • Event: Add page context &context= in event hits (Ecommerce, AVInsights, …).

Change

  • Ecommerce: Removal of the configuration parameter collectDomain.
  • Tracker: Send hits with ‘HTTPS’ protocol by default. Removal of the configuration parameter secure.
  • Tracker: Updating test on availability of the native method Array.prototype.indexOf().
  • Clicks: Sending click hits in ‘POST’ by default via the function Navigator.sendBeacon().

Fix

  • Offline: Remove parameter &ref= with no value for hits from offline storage.
  • All: Fix applied in the case of a “multihit” sending containing customObject (parameter &stc=) whose value is larger than the maximum size allowed for a hit.
 

5.18.2

11/12/2019

Fix

  • Better management of form elements

    In order to follow the HTML standard, we have modified the behavior of the tagged elements of a form, with the property elem for the management of the redirection:

 

5.18.1

15/10/2019

Fix

  • SalesTracker: Fix on ID management with a null value
 

5.18.0

18/07/2019

New

  • Ecommerce: Management of a new “cart awaiting payment” event
  • Addition of platform for campaigns tagging
  • Addition of page context in “SalesTracker” viewed products tagging
  • Addition of level 2 in the “Internal Search” click tagging

Change

  • Ecommerce: Lower-case naming of event properties
 

5.17.1

20/03/2019

Fix

  • Fixed a regression on the management of click events (on target="_blank" links)
 

5.17.0

06/03/2019

New

  • Better click detection (ctrl+click, cmd+click, etc.).
  • Detection of new campaign parameters.

Fix

  • Optimization of the management of the size of hit parameters.
 

5.16.0

29/01/2019

New

  • Privacy: New methods for managing consent

Change

  • Tracker: Various optimizations
  • Rich Media: Optimization of stop sending when removing a player

Fix

  • Fix regarding the management of the redirection after a click
 

5.15.0

20/12/2018

New

  • Ecommerce module addition
 

5.14.0

21/11/2018

New

  • Added configuration parameter sendHitWhenOptOut to control sending hits in OPT-OUT mode
 

5.13.4

25/10/2018

Fix

  • Various optimizations
  • Addition of default value for pixelPath configuration parameter
 

5.13.3

01/10/2018

Fix

  • Optimizations related to the use of document.createEvent method
  • Improvements in the OPT-OUT mode detection
 

5.13.2

20/09/2018

Fix

  • JSON parsing improvements
  • CustomEvent polyfill renamed to ATCustomEvent
 

5.13.1

18/09/2018

Fix

  • Fix a potential XSS issue
 

5.13.0

13/09/2018

Change

  • Configurations collectDomain and collectDomainSSL to replace log, logSSL and domain
 

5.12.1

28/08/2018

Fix

  • Identified Visitor: visitor category also sent when retrieved from cookie, in case of textual id
 

5.12.0

27/07/2018

Change

  • New idclient value in case of no consent (disableCookie = true): Consent-NO

Fix

  • Callback method called when the hit has been sent (methods send and dispatchRedirect)
  • Offline: hit in progress stored in case of network disconnection during the sending
 

5.11.2

25/06/2018

Fix

  • ClientSideUserId: Prioritization of OPT-OUT mode on configuration
 

5.11.1

11/06/2018

Fix

  • Offline : Fix on timeout management before hit sending
 

5.11.0

17/05/2018

New

  • New methods to manage Opt-out (see “Respecting data privacy”)

Fix

  • Rich Media : Better management of dynamic refresh
  • Identified visitors : Fix on the method unset()
  • Callback : Fix on the use of deprecated method initEvent()
  • Offline : Better storage and stored hits sending management
 

5.10.1

23/01/2018

Fix

  • Rich media: previousMedia property replaced (but preserved for legacy) by linkedContent
 

5.10.0

19/12/2017

Change

  • Use first-party cookie by default (ClientSideUserID mode to always)
  • Switch configuration ignoreEmptyChapterValue to true by default
  • nugg.ad plugin removed

Fix

  • Fix for the olt parameter format
 

5.9.0

12/10/2017

Change

  • TV Tracking removed
 

5.8.0

18/09/2017

New

  • New context parameter in order to override page referer

Change

  • Idclient generation method change (alphanumeric UUID v4 instead of numeric UUID)

Fix

  • Bugfix regarding cookie management
 

5.7.0

03/08/2017

New

  • Two new parameters available for helpers (OnSiteAds, Page, InternalSearch, Clicks) : event and callback

Fix

  • The case where no document.body exists is now taken into account
 

5.6.1

22/05/2017

Fix

  • Better management of the referer with redirections
 

5.6.0

01/03/2017

New

  • New refresh management possibility, giving a more flexible way to manage refresh duration depending on the playback duration
  • New private configuration base64Storage allowing base64 encoded storage

Fix

  • Bug fix in documentLevel management
 

5.5.0

16/12/2016

New

  • New option allowing “secure” cookies
  • New option to ignore empty chapters

Change

  • Rich Media label now split into mediaTheme (like chapters for page and clicks)
 

5.4.0

10/10/2016

New

  • TV Tracking: add configurable ‘timeout’
  • Add medium parameter

Fix

  • TV Tracking: more accurate partner call timing
 

5.3.0

10/08/2016

New

  • Add callbacks feature
  • Add weborama plugin

Fix

  • Click position in the internal search engine plugin
 

5.2.4

19/05/2016

Change

  • TV Tracking partner call integrated into the plugin
 

5.2.3

21/01/2016

Change

  • Triggers improvements
 

5.2.2

12/01/2016

Change

  • Changing JSON serialization Tracker method for not treating the properties of objects whose value is undefined
  • Changing the use of the Tracker method jsonParse
  • Changing the table way mode in the helper identifiedVisitor.unset()

Fix

  • Patch on the secure protocol format (https:)
 

5.2.1

29/12/2015

New

  • TV Tracking plugin update

Fix

  • Better management of clicked links’ URL
 

5.2.0

03/12/2015

New

  • Addition of the “Tags” feature in the Pages plugin
  • Addition of the “Custom tree structure” feature in the Pages plugin
  • Plugin Offline
  • Marketing campaigns information is now sent in the page.send() method (in case of a first page hit)
  • New dispatchRedirect() method allowing the redirection management with dispatch() method
  • Management of redirection pages

Change

  • Modification of the Client-side user id plugin, with a new configuration allowing the usage of first-party cookie for browsers refusing third-party cookies

Fix

  • Numerical values can now be used in Internal search engine plugin
  • Fix of a bug when the page referer is too long
 

5.1.0

15/09/2015

New

  • TVTracking : sub-object info added
  • Internal search plugin
  • Dynamic labels plugin
  • Rich Media plugin
  • Nugg.ad plugin
  • MV Testing plugin
  • Viewed products measurement

Change

  • New way to declare products’ categories (one property per category instead of one property with the full category structure ; previous tagging is still working)
 

5.0.2

25/08/2015

Fix

  • Campaigns: better backward compatibility
  • TVTracking: patch on data spots stored and sent during the session
 

5.0.1

19/08/2015

Fix

  • Management of special characters in the referrer