File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -233,6 +233,15 @@ export const init = (embedConfig: EmbedConfig): AuthEventEmitter => {
233
233
setAuthEE ( authEE ) ;
234
234
235
235
const { password, ...configToTrack } = getEmbedConfig ( ) ;
236
+ uploadMixpanelEvent ( MIXPANEL_EVENT . VISUAL_SDK_CALLED_INIT , {
237
+ ...configToTrack ,
238
+ usedCustomizationSheet : embedConfig . customizations ?. style ?. customCSSUrl != null ,
239
+ usedCustomizationVariables : embedConfig . customizations ?. style ?. customCSS ?. variables != null ,
240
+ usedCustomizationRules :
241
+ embedConfig . customizations ?. style ?. customCSS ?. rules_UNSTABLE != null ,
242
+ usedCustomizationStrings : ! ! embedConfig . customizations ?. content ?. strings ,
243
+ usedCustomizationIconSprite : ! ! embedConfig . customizations ?. iconSpriteUrl ,
244
+ } ) ;
236
245
237
246
if ( getEmbedConfig ( ) . callPrefetch ) {
238
247
prefetch ( getEmbedConfig ( ) . thoughtSpotHost ) ;
You can’t perform that action at this time.
0 commit comments