The Bridge React SDK emits analytics events throughout the eligibility flow, allowing you to track user interactions and monitor the performance of your integration.
To receive analytics events, implement the AnalyticsHandler interface and pass it to the BridgeSdkProvider config:
The SDK emits events at key points in the eligibility flow, to the onEvent callback.
Each event includes relevant context data, such as session identifiers, input values, status information, and error details. For specific payload definitions of each event, explore the types exported from the package.
The onError callback is invoked when errors are throw from within the SDK.