Kentaro Yoshida | Commune Inc - Hi, When loadin...
# dev-help
k
Hi, When loading Liveboard using the embed SDK v1.40.3 on ThoughtSpot Cloud v10.12.0.cl, it now attempts to access
cdn.optimizely.com
. After the page briefly displays, an error occurs. In a console, it shows "Refused to connect ..." . I understand the communication is blocked by the Content Security Policy (CSP). that allowing this connection in the CSP will fix the issue, but I want to block the communication since I don't understand its purpose. Q: What is the purpose for being used Optimizely? Q: What kind of data is being sent? Q: Is this a new behavior which start from these weeks? Q: How to opt-out Optimizely in TSA? Q: How to opt-out Optimizely in TSE? Setting
disableSDKTracking: true
doesn't change anything. Is there any other flag or setting to control this? > Error message: Refused to connect to 'https://cdn.optimizely.com/datafiles/****.json' because it violates the following Content Security Policy directive: "connect-src 'self'"
r
Hi @Kentaro Yoshida | Commune Inc Could you please confirm which version of ThoughtSpot and the Embed SDK you are currently using?
k
Hi @ruchi_91 We are using the latest SDK version of a couple weeks ago. "name": "@thoughtspot/visual-embed-sdk", "version": "1.40.3", "description": "ThoughtSpot Embed SDK", "module": "lib/src/index.js", "main": "dist/tsembed.js", "types": "lib/src/index.d.ts", "files": [ "dist/**", "lib/**", "src/**", "cjs/**" ],
TSA is also using optimizely for unknown purpose. If it is optional, please implement turn off feature for that. /js/ts-packages/experimentation/esm/experimenter.js https://cdn.discordapp.com/attachments/1415694762211540993/1417354289050816592/image.png?ex=68ca2d8b&is=68c8dc0b&hm=4cd7a554c7bfbfab09048d961323949ca0845c52a2ff9260669f0512b7267227&
u
Optimizely is being removed from tsa as well as TSE in 10.14 release so you will stop seeing this error
k
@utsav.kapoor Got it. then I will wait the TSA/TSE v10.14 release for a couple of months.