As an increasing number of mini programs are developed and gaining a growing number of users, mini programs have become a common carrier for users to have access to Internet services. The performance of mini programs greatly affect the user experience and in turn, affects the user retention and conversion rates. The performance of a mini program is reflected in the loading and presentation speed of the mini program and the responsiveness of its interaction with users.
As of August 26, 2024, the monitoring of new user numbers and cumulative user indicators of mini program will be offline.
The mini program monitoring feature monitors user access, mini program page stability, and external service calls in real time. The feature provides real-time statistical analysis of the page views (PV), unique visitors (UV), and other user access data and their trends. In addition, the feature monitors performance problems that affect user experience, such as white screens, in-app open exceptions, exceptions in JS API calls, exceptions in requests for app data packets. This feature helps users locate and resolve the problems.
This feature is available for mPaaS mini programs only and will be available for Alipay mini programs and WeChat mini programs in the future.
View monitored mini programs
A user can monitor up to 100 mini programs. In other words, a user can have multiple apps and create multiple mini programs for each app, but cannot monitor more than 100 mini programs in total.
To view the list of monitored mini programs, perform the following steps:
Log on to the Alibaba Cloud Management Console. Choose Products and Services > Mobile PaaS. On the page that appears, select the app that you need to query analysis data.
In the left-side navigation pane, choose Application Performance Management > Mini program monitoring. In the list of monitored mini programs, you can view the data of today and yesterday on the number of active users, the number of startup times for each mPaaS mini program.
NoteA mini program in the list of monitored mini programs can be downloaded by using the offline mini program package created on the mPaaS mini program platform.
In the list of monitored mini programs, click the specified mini program name or click View in the Operations column. The Mini program monitoring details page appears, allowing you to view the monitoring data of the mini program.
In addition, you can enter keywords in the search box to search for mini programs.
To export the list of monitored mini programs and the access data of the monitored mini programs that belong to the current app, click Export in the upper-right corner. The exported file is in Excel format.
View the mini program monitoring details
On the Mini program monitoring details page, you can filter the monitoring data of the current mini program by selecting the platform, client version, and time.
Mini program monitoring is classified into business monitoring and exception monitoring. Each monitoring report displays monitoring data of the last 1 hour, last 6 hours, last 12 hours, and a specified time period of the current day. By default, monitoring data of the current mini program on all platforms and versions for the last 1 hour is displayed.
To export the monitoring data of the current mini program, click Export in the upper-right corner. The exported file is in Excel format.
Business monitoring
The business monitoring section displays the number of PVs, the number of active users, and their trends of a mini program within a specified time range.
Exception monitoring
The exception monitoring section displays the monitoring data of exceptions that affect user experience and the trends within a specified time range. The monitoring data includes the number of in-app open exceptions, the white screen rate, the exception rate, the number of exceptions in JS API calls, and the exception rate of requests for app data packets. In addition, the health degree of mini program pages is monitored in three dimensions: the page load speed, page stability, and the success rate of external service calls (API calls).
Metrics
Metric | Description |
Active users | The total number of users (indicated by device IDs) who visited the mini program. If a user visited the mini program more than once, the user is counted as one user only. |
Startup times | The total number of times that the mini program was started. The process from a user opening the mini program to the user closing the mini program or the mini program exits due to timeout is counted as one startup time. |
PVs | The total number of visits to all pages of the mini program. |
In-app open exceptions | The number of times that exceptions occurred when users open mini program pages in an app. |
White screen rate | A mini program page being completely blank is referred to as a white screen. White screen rate = Number of white screens on pages/Number of page opens x 10000‱ |
JSAPI exception error rate | JS exception rate = Number of JS exceptions/Number of PVs x 1000‰ |
JS exception count | The total number of JSAPI request exceptions for the mini-program. |
Exception rate of requests for app packets | Exception rate of requests for app packets = Number of exceptions in requests for app data packets/Total number of requests for app data packets |