Callback events
Stay informed about user events and simplify taking additional action with callbacks.
Callbacks provide information when specific events take place in your Okra app implementation. Improve your application's usability and enhance user experience by building workflows, front-end responses, and automation around the callbacks that Okra offers.
Callback types
Sample implementation using JavaScript
onEvent
parameters
List of General events
These events give you information about general actions around the Okra app, like loading, app closure, and network issues.
Data events
These events give you information about user interaction and app events in the Account data flow.
Payments events
These events give you information about user interaction and app events in the Payments flow.
RUX events
These events give you information about user interaction and app events in the RUX (returning user experience) flow.
Event Logs
The event logs on your Dashboard help you monitor and track user interactions in your Okra apps. Leverage these features to get a comprehensive insight into the activities of your users:
- Filter for user IDs to check event logs related to a specific user.
- Filter for event logs from a specific date or time period using the date picker.
- Export event logs to
CSV
orJSON
format. Select the events you want to export and the format you prefer, and the Dashboard will send the events in an email.
Sample event callback
{
"event": true,
"event_callback_url": "webhook.site/10097dhr-ef8c-00d3-86f8-894a010f5706",
"event_data": {
"tracking_id": "MN09uhhgd"
},
"event_location": "https://app.okra.ng/:ref/bank?bank=rubies-bank",
"event_name": "USER_LOGIN_ATTEMPTED",
"event_time": null,
"event_type": "DATA_EVENT"
}
Was this page helpful?