- Deprecated
initializeRatingWidgets
method, usefeedback.showRating
instead. - Deprecated
enableRatingWidgets
method, usefeedback.showRating
instead. - Added an interface
content
for Content feature methods:enterContentZone
, to start Content checks (Experimental!)exitContentZone
, to stop Content checks (Experimental!)
-
Mitigated an issue where SDK could try to send old stored offline mode data during init if
clear_stored_id
was true -
Mitigated an issue where the SDK could stayed on offline mode after the first init with
offline_mode
set to true -
Mitigated an issue where old Rating widget stickers were not cleared when a new one was presented
-
Improved view tracking logic
-
Default request method is now set to "POST"
-
Healtchecks won't be sent in offline mode anymore
-
Added a new interface 'feedback' which includes convenience methods to show feedback widgets:
- showNPS([String nameIDorTag]) - for displaying the first available NPS widget or one with the given name, Tag or ID value
- showSurvey([String nameIDorTag]) - for displaying the first available Survey widget or one with the given name, Tag or ID value
- showRating([String nameIDorTag]) - for displaying the first available Rating widget or one with the given name, Tag or ID value
- Added a new method
set_id(newDeviceId)
for managing device id changes according to the device ID Type.
! Minor breaking change ! For implementations using salt
the browser compatibility is tied to SubtleCrypto's digest
method support
- Added the
salt
init config flag to add checksums to requests (for secure contexts only) - Added support for Feedback Widgets' terms and conditions
- Mitigated an issue where error tracking could prevent SDK initialization in async mode
- Mitigated an issue where the SDK was not emptying the async queue explicity when closing a browser
- Enhanced userAgentData detection for bot filtering
- Added bot detection for workers
- Added the ability to clear stored device IDs in the workers
- Mitigated an issue where utm naming could have been affected if 'searchQuery' did not return '?'
- Added Google Lighthouse to bot detection
- Added methods for bridged SDK usage
- Modularized the Web SDK