js-bao-wss-client / AnalyticsEventInput
Interface: AnalyticsEventInput
A single analytics event passed to logEvent. Only action and user_ulid are required — pass ANALYTICS_UNAUTHENTICATED_USER as user_ulid for pre-auth events. Omitted context fields (feature, plan, tenant, device/OS/browser details) are filled in automatically from the client's environment before the event is sent.
Properties
action
action:
string
app_version?
optionalapp_version?:string
browser_name?
optionalbrowser_name?:string
browser_version?
optionalbrowser_version?:string
context_json?
optionalcontext_json?:string|Record<string,unknown> |null
device_type?
optionaldevice_type?:string
feature?
optionalfeature?:string
os_name?
optionalos_name?:string
os_version?
optionalos_version?:string
plan?
optionalplan?:string
route?
optionalroute?:string
tenant_id?
optionaltenant_id?:string
user_created_at_epoch_s?
optionaluser_created_at_epoch_s?:number
Deprecated
Ignored. The server records when the user joined the app; any value passed here is dropped before the event is sent.
user_ulid
user_ulid:
string