Mobile Event Stream Data Sets

The following data sets are available through Mobile Event Stream. To set up your S3 bucket policy, see the Event Stream S3 Bucket Policy documentation.

Mobile event data can be asynchronous. All events are timestamped with the time they occurred, but they may not be available until a later time. This may happen when a user performs a task in your app but then loses connectivity. The event will be logged and included in your stream when the user regains connectivity. Asynchronous data will include events which happened within the past 48 hours of the stream transferring the data. Any event older than 48 hours will not be included.

Notifications

Target Locations3://[bucket_name]/mobile_notifications/dt=[dt]/client_id=[id]/[filename].csv
Field NameData TypeExampleDescription
client_idint1234The client ID
app_idstring5872e7b0ecf4a500076b6b79The app identifier 
event_timestring2020-05-10 23:59:59Message send time represented in the following format: YYYY-MM-DD HH:MM:SS
typestringnotification, transactional_notificationThe type of notification sent. Possible values: notification: non-transactional pushes. Transactional_notification: notification sent from the transactional endpoint.
statusstringsuccess, rejected, uninstalledRefer to the delivery status of the notification. Possible values: success: the push token was valid at the time of sending. The gateway will deliver the push notification. rejected: the token has changed or is not valid. The gateway will not deliver the push notification. uninstalled: the device is reported by the push gateway as unregistered. The gateway will not deliver the push notification.
platformstringios, androidThe OS used on the device.  Possible values: ios: the platform is iOS android: the platform is Android
profile_idstring5ba9c50e2aa5e60008d116b6Unique identifier for the user profile of the message recipient
device_idstring587583c8fc9ffe000887bac8A Mobile device ID
user_idstringfc58b4ea-2dbb-4bd3-b28a-5a4024506141User identifier sent using the SDK
flow_idstringb42cf303-2283-407e-9f06-238a83831bd0LO lifecycle ID the notification belongs to
step_idstringcac6ba22-f28f-45b6-b9b0-14bd00cff293LO step ID the notification belongs to
groupstringlo-d3339728b58a12249af923264ca33beeID of the group used for a transactional notification
message_idstring5dba5fa35fcb13000127370fMessage ID of the message the notification belongs to
notification_idstring5eb89580d6b3ad0001abfa03The ID of the notification as reported from the Notifications API response 
transactional_notification_idstring5eb89580d6b3ad0001abfa03The assigned transactional ID 
tokenstringAPA91bFek1XaKUPNX0ELwEXQ0UAMUERzCvopNqGEY8NhL3y6ztgZ5O3RMzr9bJuZ0-lNS5WdCPtQMPfJuRHaA1OE314nseKupg9EOXFdYF7aYIS56QlIuRJPmIfoSgzsuDemr4qr3ko1The push token issued by APNS or FCM
titlestring? Part of your order has shippedThe title of the notification
alertstringYour Everyone Meyer Lemon & Mandarin Hand Soap - 12.75... and 1 other item are on their wayThe body text of the notification 
custom_deeplinkstringhttps://www.example.com/mobile/deeplink/trips/Custom URL added to notification
custom_badgeint1Current badge count
custom_soundstringalert_breakingnews.wavCurrent sound added to notification
payloadstring"{\"title\":\"Mobile Event Stream Test\",\"category\":\"st_cat_<wbr />learn_more\",\"b\":\"2\",\"<wbr />alert\":\"Test 1\",\"a\":\"1\"}"Push notification payload including all key/value pairs. Notes:
  • The payload is written in JSON, which may require some CSV parsers to be configured with non-default parsing options.
  • Some spreadsheet programs may split the payload into multiple columns.

Device Events

 
Target Locations3://[bucket_name]/mobile_device_events/dt=[dt]/client_id=[id]/[filename].csv
Field NameData TypeExampleDescription
client_idint1234The client ID
app_idstring57d872e83736330009022aaaThe app identifier 
typestringinstall, uninstall, linked_with_sailthru, push_statusEvent type. Possible values:
install: user opened the app for the first time.
uninstall: the push gateway reported the app is no longer registered.
linked_with_sailthru: triggered when the device is associated with a particular user profile.
push_status: triggered when the push configuration for the device has changed.
event_timestring2020-05-10 23:59:58The time the event was logged represented in the following format: YYYY-MM-DD HR:MI:SS
profile_idstring5ba9c50e2aa5e60008d116b6Unique identifier for the user profile of the message recipient
device_idstring5eb290205d46350008affd0fA Mobile device ID
user_idstring20028345824User identifier sent using the SDK
platformstringios, androidThe OS used on the device.  Possible values: ios: the platform is iOS android: the platform is Android
tokenstringbfab6aabab727976ab2985e697609dd846c7d35568fb3422d0d658532f472cb0The push token issued by APNS or FCM
installed_atstring2019-11-29 22:41:28The date and time of install represented in the following format: YYYY-MM-DD HR:MI:SS
deactivated_tokenstringa2ab9183c408e03bdaed35e984f029db76f63143873b310842552fcf01d45fb0The deactivated push token
reasonstringduplicate_token, gateway_feedbackRefers to the reason why the app is no longer registered. This is only set when type is uninstall. Possible values: duplicate_token: a duplicate token was found. gateway_feedback: systems have attempted to send a push and either FCM or APNS return "invalid token".
notification_statusstringunknown, enabled,  disabled, quietCurrent notification status. Only present for push_status event type. Possible values (iOS): unknown: push notification authorisation has not been requested. enabled: banners, sounds, badges and/or lock screen enabled. disabled: notifications off or all settings turned off quiet: Notification Center only enabled.  Possible values (Android): unknown: N/A enabled: at least one notification channel enabled with interrupting importance. disabled: notifications off/no channels enabled quiet: all channels set to non-interrupting importance. For more information visit https://docs.mobile.sailthru.com/reference/push-enabled-state.
previous_notification_statusstringunknown, enabled, disabled, quietPrevious notification status (if this has changed). Only present for push_status event type. For possible values, refer to notification_status. For more information visit https://docs.mobile.sailthru.com/reference/push-enabled-state.
latitudedouble53.7573The latitudinal location of the device
longitudedouble-2.7236The longitudinal location of the device
citystringPrestonThe city in which the device is located
countrystringUnited KingdomThe country in which the device is located
 

Sessions

 
Target Locations3://[bucket_name]/mobile_sessions/dt=[dt]/client_id=[id]/[filename].csv
Field NameData TypeExampleDescription
client_idint1234The client ID
app_idstring57d872e83736330009022aaaThe app identifier 
event_timestring2020-05-10 23:59:58Message send time represented in the following format YYYY-MM-DD HR:MI:SS
profile_idstring5ba9c50e2aa5e60008d116b6Unique identifier for the user profile of the message recipient
device_idstring5d93ee5ac8b91a000ad85121A Mobile device ID
user_idstring56570857User identifier sent using the SDK
session_durationint187Session duration in seconds. Only present for session_close events.
typestringapp_open, session_closeApp lifecycle event type.  Possible values: app_open: the app started. session_close: the app was put in the background or the user switched app.
platformstringios, androidThe OS used on the device.  Possible values: ios: the platform is iOS android: the platform is Android
notification_idstring5eb1afb7ea35890001f44da3Notification identification, only present for app_open events. Not present when the open was not directly or indirectly influenced. It could also be a Transactional Push Group identifier provided when using the Transactional Push API.For a transactional push notification, the notification_id field of the Session Event is the same as the transactional push group identifier. The transactional push group identifier is a string containing app_id and group_name separated by a colon.
notification_attributionstringdirect, indirectThe type of interaction the user has had with the push notification. Only present for app_open events. Not present when the open was not directly or indirectly influenced. Possible values: direct: the app was started by tapping on the notification (notification_id). indirect: the app was started within the open attribution window (12 hours) after the device received the notification. More information can be found here.
notification_actionstringnotification_tapped, Breaking News&notification_tappedOnly set when a push notification action has been performed (push with custom buttons).  These values are customisable by the customer.
latitudedouble53.7573The latitudinal location of the device
longitudedouble-2.7236The longitudinal location of the device
citystringPrestonThe city in which the device is located
countrystringUnited KingdomThe country in which the device is located
 

Custom Events

 
Target Locations3://[bucket_name]/mobile_custom_events/dt=[dt]/client_id=[id]/[filename].csv
Field NameData TypeExampleDescription
client_idint1234The client ID
app_idstring5c2e4b00bc86fd00019ee332The app identifier 
event_timestring2020-05-11 00:02:03Message send time represented in the following format YYYY-MM-DD HR:MI:SS
namestringapp_open_launch_relaunch, viewed_couponEvent name provided via Mobile SDK or API. These values are customisable by the customer.
profile_idstring5ba9c50e2aa5e60008d116b6Unique identifier for the user profile of the message recipient
device_idstring5eb4cd3893cb7700082518eeA Mobile device ID
user_idstring2a6f681efaa44ffe8085bbcfa349bf6aUser identifier sent using the SDK
platformstringios, androidThe OS used on the device.  Possible values: ios: the platform is iOS android: the platform is Android
notification_idstring5eb5b94baec25e000155a624Notification identifier as reported from the Notifications API response. It could also be a Transactional Push Group identifier provided when using the Transactional Push API in the following format group:mygroup.Not present when the custom event was not directly or indirectly influenced by a notification.
notification_attributionstringdirect, indirectThe type of interaction the user has had with the push notification. Only present for app_open events. Not present when the open was not directly or indirectly influence by a notification. Possible values: direct: the app was started by tapping on the notification (notification_id). indirect: the app was started within the open attribution window (12 hours) after the device received the notification. More information can be found here.
message_idstring5eb5b94aaec25e000155a623The assigned ID for the message. Not present when the custom event was not directly or indirectly influenced by a notification. Also not present for events influenced by notifications sent using the Transactional Push API.
sourcestringSTMAutoAnalyticsSourceGoogleAnalytics, STMAutoAnalyticsSourceAdobe, STMAutoAnalyticsSourceMixpanel, STMAutoAnalyticsSourceLocalytics, STMAutoAnalyticsSourceFlurry, STMAutoAnalyticsSourceAmplitudeSource sent via Mobile SDK when using Auto Analytics Tracking. Events collected by the SDK do not have a source. Possible values: STMAutoAnalyticsSourceGoogleAnalytics: events collected by Google Analytics STMAutoAnalyticsSourceAdobe: events collected by Adobe Analytics STMAutoAnalyticsSourceMixpanel: events collected by Mixpanel STMAutoAnalyticsSourceLocalytics: events collected by Localytics STMAutoAnalyticsSourceFlurry: events collected by Flurry Analytics STMAutoAnalyticsSourceAmplitude: events collected by Amplitude
varsstring{"Search results":5,"Source":"Mobile App","Search query":"taupe top"}variables
latitudedouble53.7573The latitudinal location of the device
longitudedouble-2.7236The longitudinal location of the device
citystringPrestonThe city in which the device is located
countrystringUnited KingdomThe country in which the device is located
 

Impressions

 
Target Locations3://[bucket_name]/mobile_impressions/dt=[dt]/client_id=[id]/[filename].csv
Field NameData TypeExampleDescription
client_idint1234The client ID
app_idstring57ffe493653734000900b1edThe app identifier 
event_timestring2020-05-11 00:00:11Message send time represented in the following format YYYY-MM-DD HR:MI:SS
typestringinapp_view, stream_view, detail_viewWhere the impression event occurred.  Possible values: inapp_view: in-app message impression (for example, in-app notification). stream_view: an impression from the message stream. detail_view: the user displayed an expanded view of the message.
profile_idstring5ba9c50e2aa5e60008d116b6Unique identifier for the user profile of the message recipient
device_idstring5e5e769e1de3ea000a526cc0A Mobile device ID
user_idstring0B7F666A-3E63-4AFD-96F8-64333FD0A330User identifier sent using the SDK
platformstringios, androidThe OS used on the device.  Possible values: ios: the platform is iOS android: the platform is Android
notification_idstring5eb58b8df4bd650001fe777dThe ID of the notification as reported from the Notifications API response
notification_attributionstringdirect, indirectThe type of interaction the user has had with the push notification. Only present for app_open events. Not present when the open was not directly or indirectly influenced. Possible values: direct: the app was started by tapping on the notification. indirect: the app was started within the open attribution window (12 hours) after the device received the notification. More information can be found here.
message_idstring5eb028b8d3ec220001aa79b6The assigned ID for the message
latitudedouble53.7573The latitudinal location of the device
longitudedouble-2.7236The longitudinal location of the device
citystringPrestonThe city in which the device is located
countrystringUnited KingdomThe country in which the device is located