Function: initializeAnalyticsSdk()
initializeAnalyticsSdk(
config):Promise<BootstrapResponse>
Use this method to initialize the Analytics Embedding SDK with the provided configuration.
Calling this method clears all event data before initialization.
Successful initialization triggers a successEvent, while any failures due to configuration or authorization issues trigger an errorEvent.
• config: AnalyticsSdkConfig
The configuration to use for SDK initialization
Promise<BootstrapResponse>
A promise that resolves to the result of the initialization.
bootstrap/bootstrap.ts:210