目录

Introduction

HUAWEI AppGallery Connect supports the following management functions: event management, user attribute management, page management, data export, app debugging, analysis settings, and app management. You can customize indicators to meet the requirements in different application scenarios.

How to Use

Event Management

Procedure

  1. Sign in to AppGallery Connect and select "My projects".

  2. Click the app to manage.

  3. Go to "Analyze > Manage > Events".

HUAWEI Analytics Kit supports event management. For example, you can specify event parameters to be analyzed. A maximum of 25 parameters can be defined for each event. The total number of parameters defined for all events in a project cannot exceed 100.

Through event management, you can:

(1) Mark an event as a conversion event, as shown in (1).

(2) Enable or disable the analysis of an event, as shown in area (2). If analysis of an event is disabled, the Analytics Kit will not analyze the event, and the event is not counted in the audience analysis and funnel analysis reports.

(3) Hide closed events, as shown by (3). If this function is enabled (default), closed events will no longer be displayed.

(4) Modify analysis parameters of an event. The procedure is as follows:

      a. Click Edit, as shown in (4).

      b. On the Edit event page, add parameters and modify parameter attributes.

(5) To create an event, perform the following steps:

Select the type of the event, which can be Predefined event or Custom event.

If you select Predefined event as shown in area (1), you can select a predefined event ID from the drop-down list box (search supported). The event name and description in area (2) cannot be edited. You can add parameters in area (3).

If you select Custom event as shown in area (1), you can enter the event ID, name, and description, and add parameters in area (3).

Note:
Preset parameters of a custom event will be kept only for 10 minutes. You need to reconfigure the parameters if they become invalid.

Click Download template to download the template. The following provides an example of filling in the template.

The information below $EVENT_DEFINE is an event configuration with fields separated by commas in this sequence: event ID, event name, and event description. Each line represents an event configuration record.

Example:

Event ID
Event NameDescription

ADDPRODUCT2CART

Add to cart

This event is reported when a user adds a product to the shopping cart. It can be used with VIEWPRODUCT and STARTCHECKOUT to construct funnel analysis for product purchase. It can also be used to analyze products that users are interested in, helping you promote the products to the users.

The information below $PARAM_DEFINE is an event parameter configuration with fields separated by commas in this sequence: event ID, parameter ID, parameter name, parameter type, and parameter unit. Each line represents an event parameter configuration record. Set the parameter type and unit according to the following table.

The following table lists the enumerated values of parameter type.

TypeEnum

String

0

Numeric

1

The following table lists the enumerated values of the parameter unit.

TypeEnum

Currency configured by a developer

CURRENCY

Year

YEAR

Month

MONTH

Day

DAY

Hour

HOUR

Minute

MINUTE

Second

SECOND

Millisecond

MILLISECOND

Meter

METER

Kilometer

KILOMETER

Mile

MILE

Example:

Event IDParameter IDParameterTypeParameter (Unit)

ADDPRODUCT2CART

PRICE

Purchase price

1

CURRENCY

ADDPRODUCT2CART

PRODUCTNAME

Product name

0


If the format is incorrect, an error message is displayed during upload, as shown in area (2). Modify the file as prompted and upload it again.

Specifications

User Attribute Management

You can maintain your custom user attributes, which can be used to define audiences or as criteria for filtering various reports.

Procedure

  1. Sign in to AppGallery Connect and select "My projects".

  2. Click the app to manage.

  3. Go to "Analyze > Manage > User attributes".

On the User attributes page, you can perform the following operations:

(1) To manage user attributes:

Click Create at the upper right corner of the User attributes page to create a user attribute.

The following table describes the related parameters.

Parameter

Description

ID

Enter a user attribute ID, which contains up to 256 characters.

Name

Enter a user attribute name that is easy to remember and understand.

Description

Enter he information such as the purpose and scenario for defining this user attribute.

On the User attributes page, click Edit in the Operation column to modify a custom user attribute.

Page Management

You can add, edit, and delete pages to be analyzed through page management. The number of access times and average stay time of these pages are displayed in the Page analysis report.

Procedure

  1. Sign in to AppGallery Connect and select "My projects".

  2. Click the app to manage.

  3. Go to "Analyze > Manage > Pages".

Through page management, you can:

(1) Create a page.

Click Create in the upper right corner of the Page management page. Enter the page ID, page name, and page description. Click Submit.

(2) Edit or delete a page.

To modify a page, click Edit in area (1) to change the page ID, page name, or page description, and click Submit.

To delete the page, click Delete in area (2).

Data Export

HUAWEI Analytics Kit provides the function of downloading event data for developers. The downloaded data can then be imported into your analysis systems to customize reports and audiences. This helps personalized analysis and marketing activity creation.

You can export data in either of the following ways:

Procedure

  1. Sign in to AppGallery Connect and select "My projects".

  2. Click the app to manage.

  3. Go to Analyze > Manage > Export data.

On the Export data page, you can view basic information about the data export request, including the start time, end time, creation mode, and status.

Click New task in the upper-right corner to export event data in a specified period. User attributes can be used as filter criteria.

After the data is exported successfully, click the link to download the data. For details about the fields in the exported file, please refer to Data Export Description.

App Debugging

During app development, the product manager and technical team can cooperate with each other through app debugging to perform the final commissioning on data reporting, preventing tracing point omission and event attribute setting errors.

Enabling the Debug Mode

Procedure

  1. Enable the debug mode on your device and ensure that the network is normal. Then, start to perform operations on the app client.

  2. Sign in to AppGallery Connect and select My projects.

  3. Click the app to manage.

  4. Go to Analyze > Manage > App debugging

Viewing Debugging Event Details (Real-time Update)

The app debugging page displays events reported by the app in the last 60 seconds or last 30 minutes.

If you select Last 60 seconds, the displayed page is as follows.

If you select Last 30 minutes, the displayed page is as follows.

The events and user attributes of the debugged device are displayed in the Hot events and Current user attributes.

If you click a hot event, the reporting times, values, and update time sequence of each parameter value are displayed.

If you cick a user attribute, the reporting times, values, and update time sequence of each user attribute are displayed.

Specifications

Note:

Before using the DebugView, ensure that the device time is correct. If the device time is incorrect, the delayed or missing events may occur in the analysis report.

Analysis Settings

You can manage settings for advanced analytics on the Analysis settings page.

Procedure

  1. Sign in to AppGallery Connect and select "My projects".

  2. Click the app to manage.

  3. Go to "Analyze > Manage > Analysis settings".

Managing Basic Product Information

Querying basic product information.

Click Modify to change the calendar week definition and currency.

Configuring Data Sharing

You can enable or disable data sharing.

If you disable data sharing, your custom audiences cannot be used by other AppGallery Connect products.

Configuring Industry Analysis

You can enable or disable industry analysis.

If you enable industry analysis, you can view the industry comparison data in the industry analysis report, user analysis report, and retention analysis report on the Project overview page. You are advised to enable this function.

Excluding Test Devices

You can exclude data reported by the test devices from reports. If you enable this function, the data reported by test devices will be excluded from all reports.

A test device is a device that has reported data in debug mode.

Setting the User Identification

HUAWEI Analytics Kit allows you to identify users in your app by user ID or device. If you want to analyze the data of the same account on different devices and platforms, or analyze the behavior of users who have signed in, you can choose to identify users by user ID.

You can view the User-ID data since February 11, 2020.

If you select By user ID and device, user statistics (except user lifecycle, attribution analysis, funnel analysis, new user retention, and active user retention) are collected based on sign-in user IDs and the device IDs that are not set with user IDs (provided that user IDs have been set for data reporting). You can select Login status in the filter control to view information about only users who have signed in.

If you select By device, all user metrics are collected by device ID, and Login status is not displayed in the filter control.

If you select By user ID and device, User-ID needs to be reported. For details about how User-ID is reported, please refer to setUserId(userId). You can determine when to call this API. It is recommended that this API be called once when a user ID can be obtained (for example, sign-in), and the API needs to be called only one time if the user does not switch to a new user ID. After this API is called, the system updates the guest status data before sign-in to the data of the user ID (in the same session time range). If you do not want to use setUserId to identify a user (for example, sign-out), make sure that userID is set to null.

Note:
  • If user IDs are used for data statistics, attribution analysis, funnel analysis, new user retention, and active user retention cannot be filtered by device.

  • Currently, audiences can be calculated only by device ID. If user IDs are used for data statistics, audiences are calculated based on the device to which a user signed in last time.

  • If a user signs in to multiple devices on the same day, the user is identified by filtering device attributes on the two devices. That is, the user belongs to both devices X and Y.

Managing APIs

Configure the callback address. For details, please refer to Setting the Callback API.

App Management

On the Apps page, you can enable or disable an app and set related access parameters.

Procedure

  1. Sign in to AppGallery Connect and select "My projects".

  2. Click the app to manage.

  3. Go to "Analyze > Manage > Apps".

View app information in your project, including the app ID, app name, software package name, app type, and enabled time.

Click Close to close the app. To enable the app after it is closed, click Enable.

Click "Configure access" to configure app access information as instructed.

Specifications