SDK System Events Reference

Comprehensive reference of system events for Smartech Android and iOS SDKs, covering lifecycle, push notifications, and user engagement tracking.

This document lists all system events tracked by the Smartech SDK. Each event has an event ID, event name (sent to the backend), a short description, and a capture type.

Capture Type

TypeMeaning
Auto capturedSDK tracks the event automatically when conditions are met; no extra app code required beyond basic SDK integration.
Integration drivenEvent is tracked only when the app integrates the SDK and performs specific flows or API calls (e.g. first launch for install/update/reinstall, login/logout, showing double opt-in, pushing profile or opt-in state).
When feature usedEvent is tracked only when that feature or module is used (e.g., in-app when an in-app is shown, geofence when geofencing is active)

1. Device & App Lifecycle

Event IDEvent nameDescriptionCapture type
99device_common_dataDevice/common data dump: device, app, and SDK metadata sent for sync/identification.Auto captured
20app_installedFired when the app is installed (first launch after install).Integration driven
81app_updatedFired when the app is updated to a new version.Integration driven
21regular_app_launchedFired when the app is launched (regular open).Auto captured
83app_reinstalledFired when the app is detected as reinstalled (uninstall + install).Integration driven
26device_updatedDevice details updated (e.g. after significant device/app info changes).Auto captured

2. Location

Event IDEvent nameDescriptionCapture type
89app_location_enabledApp/location fetch has been enabled (user or app granted location).Auto captured
90app_location_disabledApp/location fetch has been disabled or revoked.Auto captured

3. Push Notification – Token

Event IDEvent nameDescriptionCapture type
86pn_token_generatedPush notification (FCM/other) token was generated successfully.Auto captured
87pn_token_failedPush token generation or registration failed.Auto captured
88pn_token_refreshedPush token was refreshed (e.g. new FCM token).Auto captured

4. Push Notification – Engagement

Event IDEvent nameDescriptionCapture type
18pn_renderedPush notification was rendered/displayed to the user.When feature used
12pn_deliveredPush notification was delivered (and typically shown).When feature used
13pn_clickedUser clicked/tapped the push notification.When feature used
14pn_dismissedUser dismissed the push notification.When feature used
19pn_repliedUser replied to the push (e.g. inline reply).When feature used

5. Push Notification Permission – Double Opt-in

Event IDEvent nameDescriptionCapture type
76pn_double_opt_in_viewedUser was shown the push double opt-in prompt.Integration driven
77pn_double_opt_in_allowedUser allowed push in the double opt-in flow.Integration driven
78pn_double_opt_in_deniedUser denied push in the double opt-in flow.Integration driven

6. In-app Messaging

Event IDEvent nameDescriptionCapture type
41inapp_viewedIn-app message was viewed by the user.When feature used
42inapp_clickedUser clicked on the in-app message (or CTA).When feature used
43inapp_closedIn-app message was closed/dismissed.When feature used

7. App Inbox

Event IDEvent nameDescriptionCapture type
44inbox_deliveredMessage was delivered to the app inbox.When feature used
45inbox_viewedUser viewed a message in the inbox.When feature used
46inbox_clickedUser clicked on an inbox message.When feature used
47inbox_dismissedUser dismissed an inbox message.When feature used

8. User Identity & Session

Event IDEvent nameDescriptionCapture type
22user_logged_inUser logged in (identity set via SDK).Integration driven
23user_logged_outUser logged out (identity cleared).Integration driven
40user_profile_pushUser profile/attributes were pushed/updated to the platform.Integration driven

9. Opt-in / Opt-out (App & User Level)

Event IDEvent nameDescriptionCapture type
84app_pn_opt_inApp-level push notifications enabled (e.g. system permission granted).Auto captured
85app_pn_opt_outApp-level push notifications disabled (e.g. permission denied).Auto captured
70user_tracking_opt_inUser opted in to tracking (e.g. consent given).Integration driven
71user_tracking_opt_outUser opted out of tracking.Integration driven
72user_pn_opt_inUser opted in to push notifications.Integration driven
73user_pn_opt_outUser opted out of push notifications.Integration driven
74user_inapp_opt_inUser opted in to in-app messaging.Integration driven
75user_inapp_opt_outUser opted out of in-app messaging.Integration driven

10. Geofencing

Event IDEvent nameDescriptionCapture type
91geof_entryUser entered a geofence.When feature used
92geof_dwellUser dwelled inside a geofence (e.g. stayed for a period).When feature used
93geof_exitUser exited a geofence.When feature used

11. Content PZ (Content Personalization)

Event IDEvent nameDescriptionCapture type
10083ncsmt_app_content_pz_deliveredContent PZ content was delivered.When feature used
10084ncsmt_app_content_pz_viewedContent PZ content was viewed.When feature used
10085ncsmt_app_content_pz_clickedContent PZ content was clicked.When feature used

12. Smartech Nudges (Product experience)

Event IDEvent nameDescriptionCapture type
63nh_prompt_showHansel prompt/nudge was shown.When feature used
64nh_prompt_dismissUser dismissed the Hansel prompt.When feature used
65nh_branch_trackerHansel branch/variant tracker event.When feature used
66nh_prompt_notshownHansel prompt was not shown (e.g. condition not met).When feature used

Event Types (Category Labels)

The SDK can tag events with these event types (e.g. for filtering or reporting):

  • system: Generic system event
  • system_app_lifecycle: App install, update, launch, crash, reinstall, device/device_updated
  • system_push_notification: PN token and PN engagement events
  • system_app_inbox: Inbox delivered, viewed, clicked, dismissed
  • system_in_app: In-app viewed, clicked, closed
  • system_opt_in: All opt-in/opt-out and double opt-in events
  • custom: Custom (developer-defined) events