analytics.js-integrations icon indicating copy to clipboard operation
analytics.js-integrations copied to clipboard

Smartlook: add nextgen sdk, add support for region in token, use 'tag'

Open amertak opened this issue 3 years ago • 0 comments

What does this PR do?

This PR changes the default used web-sdk from the legacy one to the new one that was released to production couple of months ago and is stable. Added support for region in token.

Are there breaking changes in this PR?

There are no breaking changes. Clients will start getting sessions recordings using the new web sdk which has the same API.

Testing

Added tests for script load and correct token handling Testing completed successfully.

Any background context you want to provide?

We also added support to change region and provide it in the token as a part so this integration also knows how to handle region in token in format "token;region"

Is there parity with the server-side/android/iOS integration components (if applicable)?

Not applicable

Does this require a new integration setting? If so, please explain how the new setting works

No

Links to helpful docs and other external resources

amertak avatar Apr 19 '22 15:04 amertak