Analytics
The SDK emits analytics events throughout the eligibility flow.
React
Implement AnalyticsHandler and pass it to BridgeSdkProvider:
TypeScript
Implement AnalyticsHandler and pass it to createBridgeClient:
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, explore the types exported from the package.
Error Handling
The onError callback is invoked when errors are thrown from within the SDK.