Installing and Configuring UI SDK
Procedure
-
Configuring Required Properties
-
Setting Up the Queue
In the configuration, define the queue settings, including endpoints and other parameters.
queue: { asyncReqOnUnload: true, useBeacon: true, useFetch: true, xhrEnabled: true, queues: [{ qid: "DEFAULT", endpoint: "https://your-endpoint-url/DiscoverUiPost.php", maxEvents: 30, timerInterval: 60000, // Time in milliseconds between requests maxSize: 300000, // Maximum allowed size per request checkEndpoint: false, endpointCheckTimeout: 4000, encoder: "gzip" // Type of encoder used }] }Endpoint All requests are posted to the configured endpoint. maxSize Maximum allowed size per request (in bytes). maxEvents Maximum number of events per request. timerInterval Interval (in ms) between requests. encoder The type of encoder used for requests, for example GZIP. -
Configuring Cookies
In the modules object, set the
dccookieproperty to True to enableDCCookie.modules: { DCCookie: { enabled: true } } -
Configuring DOM Capture
-
Setting Privacy Options
Configure privacy settings correctly to comply with your data security and privacy policies. Refer to company guidelines for setting privacy parameters.