The SDK supports tracking of certain events - App Open, App Install and Notification tracking natively. For these events the application doesn't need to call any method.
This event is called by the SDK to send the referrer details received when the application is installed.
This event is called when the initialization() method is called. This happens each time the users start the application.
The App Open event can be called with additional parameters using the following method:
Note: In this case the App Open event will be triggered twice as it has already been called inside the SDK
HashMap<String, Object> additionalParams = new HashMap<>(); /** fill values inside additionalParams **/ Blueshift.getInstance(context).trackAppOpen(additionalParams, canBatchThisEvent);
These events enable accurate tracking and statistics around push notifications. If the application uses different framework/methods to render the push notifications, the below methods would need to be implemented to ensure accurate tracking of push notifications.
Called when a push message is received and a notification is displayed to the user.
Called when the user clicks on the notification or any button on the notification.
Called when a page from the application is opened by the user clicking on the notification.
Called when user clicks on the "dismiss" button of the dialog type notifications.