Huawei Analytics Service provides two data presentation methods for developers: (1) Event data download, developers can download event data and import it into their own analysis system; (2) View the number of users and events directly on the AGC overview page number.
Problem Description
A developer wants to import event data into its own system. When exporting data, he selects "By UserID and Device" as the user identification method. Finally, he finds that the number of events in the exported data is less than the data displayed on the analysis service overview page.
positioning process
(1) The number of events of the exported data and the details of the data volume displayed on the overview page
First, through the background query, the DAU data of a customer on a certain day is 252xxx, and the DAU after deduplication by UserID in the exported data is 192xxx, accounting for 76.3%, with a gap of 23.7%.
(2) Characteristics of differential data
Perform in-depth analysis on the number of events exported from the data and the difference data in the data displayed on the overview page, and find out the characteristics of the difference data. We found that 18.5% of users in these differential data only reported self-collection events, but did not report preset events/custom events; 5.2% of users had no UserID and were pure AAID users.
root cause
Data export does not support the export of automatic collection events, so some users who only have automatic collection events will not appear in the table;
The data displayed on the AGC overview page is the data of UID+DID, and the data export does not calculate the data including DID, so the data is relatively small.
solution
If the developer wants to count according to UserID and wants to obtain more full user data, it is recommended to directly bury custom events at the app startup entry to ensure that custom events can be triggered as soon as the user enters the app. Otherwise, the user exits the app without any operation after entering the app. This process only triggers the self-collection event and will not be displayed in the data export.
Learn more details>>
Visit the official website of Huawei Developer Alliance
Get development guidance documents
Huawei Mobile Services Open Source Warehouse Address: GitHub , Gitee
Follow us to know the latest technical information of HMS Core for the first time~
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。