Segments & Events
Segments and events are the data backbone of campaigns.
Events
- Shape: a name plus optional properties.
- Source: your app emits events with the iOS SDK.
- Usage: events can trigger workflows and populate segments.
swift
NuxieSDK.shared.track("app_opened")
NuxieSDK.shared.track("onboarding_completed", properties: ["method": "apple"])
NuxieSDK.shared.track("purchase_completed", properties: ["sku": "pro_annual"]) Segments
- Definition: rules based on event history, user properties, device context, or custom flags.
- Examples:
new_users,power_users,lapsed_purchasers,trial_ending_soon. - Use in workflows: add a Segment Check node to branch logic.
Well‑chosen segments let you tailor when, where, and how you show paywalls.