JavaScript Change Log
5.3.5
- Flush event queue after Advanced Device call
5.3.4
- Ensures Advanced Device call is made only once per session
5.3.3
- Remove error logging to log endpoint
- Only collect javaEnabled if it's available
5.3.2
- Adds support for
nidIdCookieboolean nid config option. When set totrue, the nid generated sessionId will be stored in cookie instead of the default sessionStorage
5.3.1
- Re-triggers
ADDITIONAL_CLIENT_METADATAandADVANCED_DEVICE_REQUESTon linked site id update. - Adds support for
autoIdentifynid config option.
5.3.0
- update start command to generate sessionId for object input
- add
setLinkedSiteIdcommand
5.2.9
- object input updated to only set sessionId when passed by customer
5.2.8
- removed mandatory linked site id check for multisite applications
5.2.7
- update finder unique selection logic
- update advanced device request values
5.2.6
- update use of local and session storage
- add sampling collection throttle support
5.2.5
- handle jquery wrapping touch events
- validate attempted login only when id is provided
- reset first focus on stop
5.2.4
- Improve latency reporting of various server calls
- Add support for linked sites
- Validate attempted login
5.2.3
- Improve error logging.
- Adds new event for FPJS call failures
- Sets variable for build type (adv vs regular) on start
5.2.2
- Tracking will begin before advance device lookup.
5.2.1
clearSessionwill also clear in memory data.- Captures
MEDIA DEVCIErelated signals - Captures
INTERNET CONNECTIONsignals. - Adds support to detect additional automation frameworks
5.2.0
- Will generate and return a sessionId to be used to query the profiles endpoint, if none is provided at start.
- Exposes new function
setRegisteredUserIdto be called with the id associated to a registered user in the system.
5.1.12
- Enables new config option
advancedDeviceEndpoint, a proxied endpoint for advanced device requests - Enables new config option
advancedDeviceKeyEndpoint, an endpoint to retrieve api key for advanced requests.
5.1.11
- Enables advanced device signal capturing.
- Config option to call advanced device signals on
FIRST_FOCUSvsSTART - Caches advanced device request id in cookie.
- Config option for cookie expiry time with a default value of 24 hours
- Exposes nid('attemptedLogin') and nid('successfulLogin') events.
5.1.10
- Flush queue on
FORM_SUBMITevent. - Bug fixes for mobile browser device signals
5.1.9
EVENT_PROPAGATION_STOPPEDevent error bug fix
5.1.8
- Captures new device signals and adds a new event
ADDITIONAL_CLIENT_METADATA - Bug fix to handle undefined/null for device motion acceleration
5.1.7
- Enable retries of early POSTs to be more resilient to network connection race conditions
5.1.6
- Remove usage of eval() function from build to avoid CSP violations
5.1.5
- Captures extended properties on touch events: pageX, pageY, radiusX, radiusY, rotationAngle, screenX, screenY and force.
- Captures extended properties on mouse and click events: pageX, pageY, screenX, screenY.
- New configuration option eventCapturing for adding event listeners in capturing phase.
5.1.4
- Send sample of all targets on
STATE_CHANGE.
5.1.3
- Handle
undefinedornullvalue inputs forgetChangeSetmethod. - Remove queue flush on
BLURevent.
5.1.2
- Emit a
CLIENT_METADATAevent on page load. - Include additional metadata on
REGISTER_TARGETevents about element visibility. - New configuration options for retrying the POST of early event packets. Disabled by default.
5.1.1
- Minor bug fixes
5.1.0
- Updates the setUserId function with additional validation on a provided UserId.
This validation requires the id must be a string, alphanumeric (dashes/underscores accepted), and have at least 3 characters.
Developers will see a warning displayed to console when invalid ids are passed to this function. - Captures keycodes during combo events.
5.0.3
- Defaults to auto starting the tracking client.
- Sets target selector on
CLICK,MOUSE_DOWN, andMOUSE_UPevents anywhere on the page. - Handles cases where device orientation is unknown.
- Removes optional key logging.
- Additional cleaning on
REGISTER_TARGETattributes. - Additional logging when required config options are not available
5.0.2
- Small adjustment to prevent intermittent page manipulation.
- Updates default collector endpoint.
5.0.1
- Detects if another version of TrackJs is running before loading, and prevents multiple loads from occuring.
5.0.0
- Autostart configuration to enable tracking on page load.
- Uses web event listeners to capture events. Events are queued in a simple event structure.
- Tracks
nidIdas a unique target identifier.- Targets are mapped on the page, either at page load or when events occur.
- Tracks unique
TabId - Queues new event
DeregisterTargetEventwhen a target is removed from the DOM. - Cleaned up existing events and listeners, adding additional validation.
- Captures new metadata on
keyEvents - Captures new events:
contextMenudoubleClickEventmouseDownmouseUpmouseEntermouseLeavescrollselectStarttouchStarttouchMovetouchEndwheel
New Api Commands
identify- Assign customer known Id to session. Will also invokesetUserId.closeSession- Signals session is complete and improves data availability in the Id Crowd Alert and Id Orchestrator Products.deregisterTarget- Deregister a target that is removed from the DOM.deregisterTargets- Deregister all targets as a list that are removed from the DOM.startExternalFields- Functionality to track VGS fields. (Was in 4.x.x Libraries)
Updated 7 months ago
