Events are used to track actions taken by users within your app. The same event can be tracked for a single user multiple times, and all occurrences will be recorded. This allows you to see and use information on what your customers do, and how often they do it. For example, you might track an event each time a user completes checkout.
Events you track can be used to define audience segments, as well as when automatic content is delivered.
A key is needed for event tracking, with the option to pass additional metadata for added context.
UnflowSDK.client.trackEvent(key: "Checkout Complete", metadata: ["amount": 100, "numItems": 20]);
Tracking events syncs content
There is no need to manually sync immediately after tracking an event.
Consider your events - you should be tracking every event that is needed for segmenting and triggering content now and into the future.