Event Tracking Guide
Event types
You have the possibility to track various events which occur during the usage of Gini Bank SDK. Event types are partitioned into different domains according to the screens that they appear at. Each domain has a number of event types. Some events might supply additional data in a dictionary.
Domain | Event type | Additional info keys | Comment |
---|---|---|---|
Onboarding |
|
| Onboarding started |
Onboarding |
|
| User completed onboarding |
Camera Screen |
|
| User closed the camera screen |
Camera Screen |
|
| User tapped “Help” on the camera screen |
Camera Screen |
|
| User took a picture |
Review Screen |
|
| User went back from the review screen |
Review Screen |
|
| User advanced from the review screen |
Analysis Screen |
|
| User canceled the process during analysis |
Analysis Screen |
|
| The analysis ended with an error. The error message is supplied under the “message” key. |
Analysis Screen |
|
| The user decided to retry after an analysis error or an empty results. |
Analysis Screen |
|
| The analysis ended with empty results. |
Enable event tracking
In order to receive the events, import GiniCapture
and implement the GiniCaptureTrackingDelegate
protocol and supply the delegate when initializing GiniBank
, for example:
let viewController = GiniBank.viewController(withClient: client,
importedDocuments: captureDocuments,
configuration: giniBankConfiguration,
resultsDelegate: self,
documentMetadata: documentMetadata,
trackingDelegate: trackingDelegate)
// Or when not using the default network:
let viewController = GiniBank.viewController(withDelegate: self,
withConfiguration: giniBankConfiguration,
importedDocument: nil,
trackingDelegate: trackingDelegate)