Skip to main content
In this section, we’ll cover how to send events to the Suprsend platform for both iOS and Android application

Pre-Requisites

  1. Create User- Mandatory to pass in event trigger

Sending Events to SuprSend

You can setup events on user actions in your app and configure workflows on top of it that triggers when the corresponding event is passed through App. Variables added in the template or workflow should be passed as event properties You can send Events from your app to SuprSend platform by using suprsend.track() method.
Event Name or Property Name should not start with $ or ss_. These keywords are reserved for internal events and property names.

System Events tracked by SuprSend

There are some system events tracked by SuprSend SDK by default. These are some basic events, as well as events that are necessary for tracking notifications related activity (like delivered, clicked, etc). You are not required to do anything here.

Advanced concepts

1. Super Properties

Super Properties are data that are always sent with events data. These super properties will be sent in each event after calling this method. Super Properties will be stored in local storage, and will persist across invocations of app.
There are some super properties that SuprSend SDK will send by default. Developer can set custom super properties as well with suprsend.setSuperProperties() method
Default Super Properties tracked by SuprSend SDK:
There are unset custom super properties with suprsend.unSetSuperProperty() method. This method will stop calling that property with every event trigger.

2. Flush Events

SuprSend SDK automatically flushes events at an interval of 5 seconds, and on certain activities like app relaunch, etc. If you wish to flush a time sensitive event to SuprSend immediately, you can use the suprSendApi.flush() method. All the system tracked events are flushed immediately