At a high-level, Events are user actions that the app records—for example, "Added to Cart."
Each Event may optionally include additional descriptive information called Event Attributes. Whereas Events capture actions such as adding an item to a shopping cart, Attributes record additional context such as the name of the product, category, or price.
As a user of Localytics, the process to have those actions recorded and available on your dashboard is as follows:
Your team identifies a particular action that the app should track (ie. Added to Cart) as well as any additional information that should also be included when that behavior is recorded (ie. Product, Category, Price, etc…).
Your developers implement the following piece of code in the app:
Localytics.tagEvent("Added to Cart", attributes: ["Product" : "Widget", "Category" : "Gadgets", "Price" : "50"])
- Data appear in the Events screen in the dashboard: