UiInteraction
Introduction
Backend Name:
ui_interaction
Description: The player interacted with parts of the user interface, specifically pressed buttons to view specific features and navigate around.
Event Type:
Game
Priority:
P3
Parameters
Name | Type | Select | Backend name | Description |
---|---|---|---|---|
additionalData | Dictionary |
Optional | additional_data | Any additional information |
uiAction | string | Required | ui_action | uiAction is the action taken on the User Interface object. |
uiLocation | string | Optional | ui_location | uiLocation is the position in the game where the User Interface object is. |
uiName | string | Required | ui_name | uiName is the name that defines the interaction. |
uiType | string | Optional | ui_type | uiType is the type of User Interface object. |
Code example:
LionAnalytics.UiInteraction("Click", "Shop_BtnClick", "Shop", "Button");
Notes:
This event is used to track user’s journey around the interface to help determine if parts of the interface or features are not obvious enough.
When a button to a specific feature exists in multiple locations it can be valuable to track the location of the button that was used.