Device Journey
Simulate app open without identify — send Device Created or Updated with a notification token, optionally continue anonymously, or identify with a custom userId.
Fresh anonymous session. No identify() yet — SDK assigns an anonymous ID.
Send "Device Created or Updated" with device_id and notification_token while still anonymous.
User keeps using the app without identifying. Events stay on the anonymous profile.
Link the anonymous device session to a known userId. Prior device events should stitch to this profile.
Post-identify events attach directly to the known user.
No fields yet. Add one below.
No fields yet. Add one below.
Send the device event first to simulate app open without identify.
Clear identity and start a new anonymous session.
reset()Register device with push notification token — no identify required.
track("Device Created or Updated", { device_id: "50af4160-d05d-481c-9f94-adce3f0b071a", notification_token: "…", … })User continues in the app without signing in.
track("App Opened", …)Anonymous browsing — still no identify.
track("Product Viewed", …)Optional — links anonymous device activity to a known profile.
identify("custom_user_id", traits)Post-identify track — attached to known user.
track("Checkout Started", …)Completes purchase under identified profile.
track("Order Completed", …)dev-events.zixflow.in.No activity yet
Initialize the SDK, then identify and fire events.