Tracking events is a crucial aspect of optimizing your app’s user experience. Smart event feature allows you to track events on your own without any code or help from the developers directly on the UXCam platform.
There are 2 main types of smart events you can create and track :
- Gesture based smart events
- Screen visits smart events
Let’s learn more about both!
What are Gesture Based Smart Events?
These events are triggered by user gestures, such as taps or swipes. They're closely tied to the physical components of your app's interface, including buttons, search bars, text views, or any other interactive elements.
Smart Events rely on the details of the captured gesture and UI elements in each user session.
What does the UI Element information mean?
1. UI Element Name : In a user interface, the UI Element Name is a label or identifier that tells you what a UI element is for. For instance, “Submit Button” is the name that indicates the purpose of the button in a form. Other examples may include “Add to Cart” or “Log in”.
2. UI Element Type: This defines the category or type of the UI element. It tells us the general function of the element, such as a button, Search bar, checkbox, etc.
3. UI Element Class: UI element class is a label or identifier that groups similar user interface elements together. The UI element class is a way to group elements that share common styling or behavior. For instance, if you have buttons representing food categories in a restaurant app, you might assign them to a class like "food-category-button"
4. UI element ID: This is a unique identifier of the element which is meant to differentiate it from other element types on the screen. These can be developer assigned or extracted from certain parameters from the app.
What are examples of gesture based Smart Events?
- Add to Cart
- Log in
- Navigation buttons
- Complete purchase
- Search bar
What are Screen Visit Smart Events?
Screen visit smart events are events that can be created from any screen visit.
They are useful in cases of events where gesture based smart events are not a good candidate to capture the desired event. For example, if you want to capture a 'purchase event', and the purchase confirmation happens outside your app e.g. through a payment gateway, then you could use the screen visit to the “Order confirmed” screen instead.