All Products
Search
Document Center

Configure attributes

Last Updated: Jan 19, 2021

An event contains some information, for example, user ID, App version, device model, region and language. These information are known as attributes.

MAS provides some preset common attributes. You can also customize some attributes applicable to the entire App based on your business requirements, and use them when configuring specific events.

Procedure

Log in to the mPaaS console and complete the following steps:

  1. From the navigation bar on the left, click Mobile Analysis Service > Custom analysis.
  2. On the right page, click Custom configuration.
  3. Switch to the Attribute tab and click New.
  4. In the New attribute window, complete the following configurations:
    • Attribute ID: Required. For the relationship with client event tracking, see the descriptions in Android custom event tracking - extParam or iOS custom event tracking - extParam.
    • Attribute name: Required, the name that corresponds to the attribute ID. You can customize the attribute name.
    • Data type: Required, select the data type for the current attribute from the drop-down menu. The options include character, integer and float. For example, the data type of os_version is character.
      • In event analysis, you can count the number of deduplications of the character attribute and calculate the sum, average, maximum, or minimum of the float and `integer ‘attributes.
      • For float or integer attributes, the data reported by the client will be converted accordingly.
    • Unit: Optional, enter the unit of the attribute.
    • Display status: To display the status of the attribute, ensure that Display status is set to On. By default, the status is displayed.
  5. Click OK to save the changes.

Results

On the Custom configuration > Attribute page, you can see the attribute that you created with the attribute information.

What to do next

Configure events.