Skip to main content

Analytics (lamp.analytics)

Records in-app events such as page navigation, logins, and notification receipts.

Configurationโ€‹

  • SensorSpec: lamp.analytics
  • Sampling: Continuous
  • Platform: iOS, Android, Web

Usageโ€‹

Analytics events are generated automatically as participants use the app. No additional configuration is needed.

Dataโ€‹

The data structure varies by event type:

Login Eventโ€‹

FieldTypeDescription
actionstring"login"
device_tokenstringPush notification device token
device_typestring"Android" or "iOS"
user_agentstringApp version, OS version, device model

Page Open Eventโ€‹

FieldTypeDescription
typestring"open_page"
pagestringPage name (e.g., "learn", "assess", "manage", "portal")
activitystring or nullActivity identifier, if applicable

Notification Eventโ€‹

FieldTypeDescription
actionstring"notification"
device_typestring"Android" or "iOS"
contentobjectNotification content and parameters
actionsarrayUser actions taken on the notification

Cortex Featuresโ€‹

analytics (raw) โ†’ app_time (secondary)

The app_time feature accepts a category parameter to filter by app category.

View in Portal | Python SDK | API Reference