All universal behaviors are supported immediately in both the SDK and the Acoustic Campaign user interface except for Location Dwell/Exit events and Session events. The system automatically adds available universal behavior events to queries, programs, and scoring for an organization's mobile app-enabled database.
Note: Contact support if you have a use case need for location dwell/exit or session events. Available events depend on a customer's mobile app settings.
Available universal behavior events
Universal behavior | Event type | SDK or server initiated? | Remarks |
Mobile app - Installed | 89 | SDK | |
Mobile app - Uninstalled | 90 | Server | Sent when the server gets back from the Apple or Google servers that the device token is no longer valid. |
Mobile app - Started a session | 91 | SDK | |
Mobile app - Ended a session | 92 | SDK | |
Mobile app - Been sent a push notification
(Available only in queries and in the rulebuilder) |
93 | Server | When a push is sent, and before it is received by the SDK; however, it is unknown whether the message is received. |
Mobile app - Opened a push notification | 94 | SDK | Any push notification that is opened sends an event to the server. The attributes of the event include which type was sent and what the value was; for example, type=dial and value=3420948209 . |
Mobile app - Performed a custom event | 95 | SDK | |
Mobile app - Enabled push notifications | 103 | SDK | |
Mobile app - Disabled push notifications | 104 | SDK | |
Mobile app - Push delivery status | 174 | SDK | Requires SDK version 3.8.2 and beyond. |
Location - Entered a geofence | 112 |
SDK |
|
Location - Exited a geofence | 113 |
SDK |
|
Location - Dwelled in a geofence | 114 | SDK | |
Location - Entered a beacon area | 158 | SDK | |
Location - Exited a beacon area | 159 | SDK | |
Location - Dwelled in a beacon area | 160 | SDK | |
Mobile frequency suppression | 161 | SDK |
Note: Events are stored for 180 days.
Custom events
If you want to send custom events that are not included in the user interface, use the custom event type. This event type is converted into a custom universal behavior. Because the system rejects any universal behavior that it does not recognize, a custom universal behavior is available to allow other events to reach their system.
{
"type" : "myAppEvent",
"name" : "subscribedToComments",
... // other fields
}UB Event Definitions