Attribute Management

Last updated:2023-02-21
Attribute Management

Attributes are basic data in the Operation Growth platform, including event attributes and user attributes. You can use attributes to describe events/users in detail, such as using article_id=123 or customer_id=123 to further describe the specific article viewed and the user. Attributes are commonly used in custom segmentation, operation plans, product analysis, and user asset management. The attribute management module is dedicated to unified management of the user attribute system and meets data requirements of different business lines by managing event attributes and user attributes.

Create Event Attribute

  1. Go to Data Center -> Metadata Management -> Attribute Management -> Event Attributes, and click Create Attribute.image.png

  2. Fill in the attribute name, display name, and other information. See the table below for details.image.png

Option Description
Attribute Name Name of the reported attribute. Non-preset attributes need to be reported through tracking. Lowercase letters, digits, and underscores are supported, and the name must start with a letter, such as open_app. It cannot be changed after being set.
Display Name Display name of the attribute in the console.
Data Type
  • STRING: string type, such as "user name".
  • NUMBER: numeric type, supporting integers and decimals, such as "purchase count".
  • BOOL: Boolean type, supporting reporting 0 (false) and 1 (true), such as "is VIP member".
  • DATETIME: date-time type, supporting 13-digit timestamps accurate to milliseconds, such as "account registration time".
  • LIST: collection type, an array of string elements, such as ["Tesla","Volkswagen","Audi"], for example "interest tags".
  • Attribute Status Display status of the attribute. Supported statuses: visible and hidden.
    Public Attribute After being set as a public attribute, it is automatically associated with every event. Up to 10 public attributes can be set.
    1. Click Save to complete creation.

    Event Attribute Details

    • Searching by attribute name/display name in the search box is supported. Filtering by status, data type, type, and only public attributes is supported.
    • Preset attributes cannot be edited or deleted. Custom attributes without reported data can be edited and deleted. Custom attributes with reported data can be edited but cannot be deleted.image.png

    Create User Attribute

    1. Go to Data Center -> Metadata Management -> Attribute Management -> User Attributes, and click Create User Attribute.image.png

    2. Fill in the attribute name, display name, and other information. See the table below for details.image.png

    Option Description
    Attribute Name Name of the reported attribute. Non-preset attributes need to be reported through tracking. Lowercase letters, digits, and underscores are supported, and the name must start with a letter, such as open_app. It cannot be changed after being set.
    Display Name Display name of the attribute in the console.
    Data Type
  • STRING: string type, such as "user name".
  • NUMBER: numeric type, supporting integers and decimals, such as "purchase count".
  • BOOL: Boolean type, supporting reporting 0 (false) and 1 (true), such as "is VIP member".
  • DATETIME: date-time type, supporting 13-digit timestamps accurate to milliseconds, such as "account registration time".
  • LIST: collection type, an array of string elements, such as ["Tesla","Volkswagen","Audi"], for example "interest tags".
  • Attribute Rule
  • Overwrite: saves only the latest reported data and overwrites historical data, such as user membership level.
  • Accumulate: initially 0, supports only positive and negative NUMBER values, and accumulates all reported data, such as cumulative consumption amount.
  • Once Only: the attribute only needs to be set once. When this field has a value, later reported data is ignored, such as first payment time.
  • Append: continuously adds collection elements, with deduplication when elements enter storage. If ABC already exists and CD is appended, the final value is ABCD, such as news liked by the user.
  • Attribute Rules Supported by Different Data Types
  • STRING: supports overwrite and once only.
  • NUMBER: supports overwrite, accumulate, and once only.
  • BOOL: supports overwrite and once only.
  • DATETIME: supports overwrite and once only.
  • LIST: supports overwrite and append.
  • Attribute Status Display status of the attribute in other modules. Supported statuses: visible and hidden.
    1. Click Save to complete creation.

    Report User Attributes

    After completing user attribute creation, call an API to report user attributes. For details, see each SDK API document: Android SDK API, iOS SDK API, Mini Program SDK API, and Web SDK API.

    User Attribute Details

    • Searching by attribute name/display name in the search box is supported. Filtering by status, data type, and type is supported.
    • Preset attributes cannot be edited or deleted. Custom attributes without reported data can be edited and deleted. Custom attributes with reported data can be edited but cannot be deleted.image.png
    Was this document helpful?

    Copyright 2011-2026, jiguang.cn, All Rights Reserved. 粤ICP备12056275号-13 Shenzhen Hexun Huagu Information Technology Co., Ltd.

    Open in Docs Center