Tracking In-App Events
The DIGITALREEF SDK can accept and track In-App Events from the host application, which can be used for tracking the User Journey and displaying suggestive In-App messages. The SDK is preconfigured to track the following events automatically:
- 1st Open the Application
- Application coming to the foreground
- Application going to the background
Sending events from Host application to SDK:
The host application can add any number of events to be tracked by the SDK.
Example for sending events:
void sendEvent() {
Map<String, dynamic> parameters = new Map();
parameters["EVENT_NAME"] = "CustomEvent";
_drpluginPlugin.trackInAppEvents(parameters);
}
Updated almost 2 years ago