Analytics
The Bridge React SDK emits analytics events throughout the eligibility flow, allowing you to track user interactions and monitor the performance of your integration.
Implementation
To receive analytics events, implement the AnalyticsHandler interface and pass it to the BridgeSdkProvider config:
Event Types
The SDK emits events at key points in the eligibility flow, to the onEvent callback.
SDK Events
Input Events
Soft Eligibility Events
Hard Eligibility Events
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.
Error Handling
The onError callback is invoked when errors are throw from within the SDK.