Methods for sending events from your react native app to the SuprSend platform to trigger workflows.
properties
You can send Events from your app to SuprSend platform by using suprsend.track()
method.
$
or ss_
. These keywords are reserved for internal events and property names.Event Name | Description |
---|---|
$app_installed | $app_installed will get tracked when user launch his app for the first time. FYI cases in which it will also get called 1. When user launches his app for first time. 2. When user uninstall the app and installs it again. 3. [Multiple device login ]When user launch app for first time on different devices. 4. When user clears the app cache and relaunches the app. |
$app_launched | Gets tracked when user launches the app each time. |
$user_login | Gets tracked when user logs in inside the app |
$user_logout | Gets tracked when user logs in to the app |
$notification_delivered | Will get tracked when the suprsend notification payload is received at SDK end. |
$notification_clicked | Will get tracked when user either clicks the notification body or any action button in the notification. |
$notification_dismissed | Will get tracked when user dismisses the notification by left swiping the notification or by clicking on “Clear All” button |
Set Super Property
suprsend.setSuperProperties()
methodSuper Property | Description | Sample Value |
---|---|---|
$app_version_string | Version of your app | 0.0.1 |
$app_build_number | Build number of your app | 2 |
$os | Operating system of the user | android |
$manufacturer | Manufacturer of the user’s device | OnePlus |
$brand | Brand of the user’s device | OnePlus |
$model | Model of the user’s device | GM1901 |
$deviceId | Device id | 89eead05a0150146 |
$ss_sdk_version | SuprSend SDK version | 0.1.31 |
$network | Network on which the user is | wifi |
$connected | Whether the user is connected to the network | true |
Unset Super Property
suprsend.unSetSuperProperty()
method. This method will stop calling that property with every event trigger.suprSendApi.flush()
method.
All the system tracked events are flushed immediately