Contents
Overview
User Interface (UI) events, also called User Interactions, are triggered by the web, iOS and Android apps. In most cases, they correspond to interactive UI components or patterns that are visible in the application. These allow us to:
Keep the list of events limited and intuitive.
Create micro funnels based on component-to-component interaction.
Quantify the application's overall error rate and the breakdown per flow, page, and component.
Standard events
Typically, user interaction events are named as follows:
Button | The user clicks/taps on a button. |
Card | The user clicks/taps on a card. |
Checkbox | The user checks/unchecks a checkbox. |
Chip | The user clicks/taps on a chip. |
Content Rendered | A module or content is displayed to the user. |
Dropdown | The user clicks/taps on a dropdown. |
Dropdown Item | The user clicks/taps on a dropdown item. |
Error | An error is triggered after a user action. |
Input | The input field gets focused. |
Link | The user clicks/taps on a link. |
List Item | The user clicks/taps on an item in a list. |
Modal | A modal is displayed to the user. |
Navigation | The user clicks/taps on a navigation item. |
Number Input | The user clicks/taps on one of the interactive elements of the number input component: the minus button, the plus button, or the number field. |
Paginate | The user clicks/taps on the pagination button. |
Page View | The user lands on a page (URL). |
Radio Button | The user clicks/taps on a radio button. |
Segmented Button | The user clicks/taps on a segmented button. |
Sheet | A sheet is displayed to the user. |
Snackbar | A snackbar is displayed after a user action. |
Switch | The user clicks/taps on a switch. |
Tab | The user clicks/taps on a tab. |
Text Area | The text area gets focused. |
Standard properties
See Attributes and properties to understand what event properties are. User interaction events typically contain the following standard properties:
Name ( | While the event defines the component, e.g. |
Path ( | The path URL after the domain, e.g. |
Type ( | Exclusive for lists to help better differentiate content like different reward cards by tier, or pages where we might have offers mixed with rewards. |
Category ( | If Rewards relates to the tier the reward belongs to, e.g. "100", "200", "300", etc, if Offers then would be "All Offers", "External Offers", etc. |
Status ( | It can used to determine if a Reward is “Locked” or “Unlocked”, or if an Offer is “Coming Soon” for example. |
Destination Path ( | The path URL where clicking/tapping the component will lead the user. |
Sanity ID ( | Relates to the ID of the content in Sanity. |
Engine ID ( | Relates to the ID of the recommendations engine if there's one. |
Reward ID ( | Only applicable to Rewards Card types. |
Favorited ( | It is to determine if the user interacted with a product that he had previously favorited, values should be “Yes” or “No”. |
Error Code ( | The alphanumeric code of an error. It specifies the error cause. |
Response Title ( | The title of an error or modal that is displayed to the user. |
Response Description ( | The description of an error or modal that is displayed to the user. |
Source Path ( | The path URL of the page from which the user came. |
Events Catalog
Event | Properties | Component | Notes | ||
---|---|---|---|---|---|
Burger King | Popeyes | Firehouse Subs | |||
Button |
| Icon buttons should have the | |||
Card |
|
Not all Card types will have | |||
Checkbox |
| If there isn’t a clear short label that can used as the | |||
Chip |
| ||||
Content Rendered |
| ||||
Dropdown |
| ||||
Dropdown Item |
| ||||
Error |
| ||||
Input |
|
| |||
Link |
| ||||
List Item |
|
Not all List Item types will have | |||
Modal |
|
| |||
Navigation |
| ||||
Number Input |
|
| |||
Paginate |
|
| |||
Page View |
|
| |||
Radio Button |
| ||||
Segmented Button |
|
| |||
Sheet |
| ||||
Snackbar |
| ||||
Switch |
| ||||
Tab |
| ||||
Text Area |
|
Pages' events and properties
This section is a work in progress. We are currently re-structuring the client-side event documentation to make it clearer and more complete
These pages document specific events that are captured in each page of the RBI apps: