An event contains some information, such as the user ID that triggered the event, the App version, the device model, etc. These information are called attributes. The mobile analytics platform presets some common attributes, and also supports customizing some attributes that are applied to the global App according to business needs, so that they can be associated when configuring specific analysis events.
Create an attribute
The steps are as follows:
Log in to the mPaaS console and complete the following steps:
From the navigation bar on the left, click Mobile Analysis Service > Custom analysis.
On the right page, click Custom configuration. Switch to the Attribute tab and click New.
In the New attribute window, complete the following configurations:
Field
Required or not
Description
Attribute name
Required
The Chinese name corresponding to the attribute ID, which can be customized.
Attribute ID
Required
For the correspondence between the attribute ID and the client tracking point, see Custom event log or Add custom event log.
Data type
Required
Select the data type corresponding to the current attribute from the drop-down menu. The available data types include character, integer, and floating point.
In event analysis, you can count the number of times character attributes are deduplicated, and calculate the sum, average, maximum, or minimum value of floating point and integer attributes.
For floating point or integer attributes, the data reported by the client will be converted to the corresponding type.
Unit
Not
Fill in the unit of the current attribute
Enumerable or not
Required
Sets whether the attribute value is enumerable.
Display status
Required
Set whether to display the current attribute, enabled by default.
Click OK to complete the creation. The attribute list will display the new attribute.
Modify attribute
In the attribute list, select the target attribute and click Modify in the action column to modify the attribute configuration.
Delete attribute
In the attribute list, select the target attribute and click Delete in the action column.
Preset attributes cannot be deleted.
If an attribute is associated with an event, the attribute will be deleted from the event. If an attribute is associated with a dashboard, the attribute cannot be deleted.