Ingestly Client JS v1.0.0
Bump up a measure version to 1. This update contains two big changes below.
Changes
ID handling
- Removed all code related to writing values to localStorage and Cookie. Now, this SDK does not write anything to browser's local storage.
- Reduced IDs sent to the endpoint. Now, the endpoint recognize
rootID
and use it for Ingestly ID and Session ID if necessary.
Consent Management and Cookie opt-out
- Added
setConsent()
method to store the acceptance status of data utilization. (a consent information is stored in Cookie but it will be set by the endpoint.) setConsent()
is also able to deleteingestlyId
andingestlySes
Cookies if a user does not accept to use Cookies.useCookie
option is added forconfig()
method. This option switch the default of Cookie use.
How to update
- First of all, update your Ingestly endpoint to v1.0.0.
- Add
useCookie
option toconfig()
. (if you use SDK v1.0.0 withoutuseCookie=true
, the endpoint will not set any Cookies.