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
nidIdCookie
boolean 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_METADATA
andADVANCED_DEVICE_REQUEST
on linked site id update. - Adds support for
autoIdentify
nid config option.
5.3.0
- update start command to generate sessionId for object input
- add
setLinkedSiteId
command
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
clearSession
will also clear in memory data.- Captures
MEDIA DEVCIE
related signals - Captures
INTERNET CONNECTION
signals. - 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
setRegisteredUserId
to 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_FOCUS
vsSTART
- 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_SUBMIT
event. - Bug fixes for mobile browser device signals
5.1.9
EVENT_PROPAGATION_STOPPED
event 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
undefined
ornull
value inputs forgetChangeSet
method. - Remove queue flush on
BLUR
event.
5.1.2
- Emit a
CLIENT_METADATA
event on page load. - Include additional metadata on
REGISTER_TARGET
events 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_UP
events anywhere on the page. - Handles cases where device orientation is unknown.
- Removes optional key logging.
- Additional cleaning on
REGISTER_TARGET
attributes. - 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
nidId
as a unique target identifier.- Targets are mapped on the page, either at page load or when events occur.
- Tracks unique
TabId
- Queues new event
DeregisterTargetEvent
when a target is removed from the DOM. - Cleaned up existing events and listeners, adding additional validation.
- Captures new metadata on
keyEvents
- Captures new events:
contextMenu
doubleClickEvent
mouseDown
mouseUp
mouseEnter
mouseLeave
scroll
selectStart
touchStart
touchMove
touchEnd
wheel
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 about 2 months ago