This topic provides answers to commonly asked questions about browser monitoring.
Overview
- Why do I see asterisks (*) in the names of some monitored pages or API operations?
- Why is the page view list different from the page speed list?
- TraceId is not found in the API logs, and as a result, the system cannot redirect me to the application monitoring page. Why?
- Why is the Source Map file error displayed when I am troubleshooting JS errors?
- What are the differences between console setting and SetConfig?
- How do I configure the environment and version in an SDK?
- How do I view the version number of the configuration?
- How do I view the time on page (TP) of a user for a page?
- What do I do if the ARMS configuration does not take effect?
- Why are JS errors on mini programs not reported?
- Can JS errors of console.error be listened to?
- In the Weex environment, why does a UID set in a mini program not take effect?
- How long can logs be stored?
- After I activate the expert edition, can I continue to use sites that are created during the trial period?
- Why are the page views on the same page different among modules in the console?
- Why is the value of duration less than the value of connect download?
Why do I see asterisks (*) in the names of some monitored pages or API operations?
The page statistics of Application Real-Time Monitoring Service (ARMS) browser monitoring are retrieved based on actual page URLs and calculated by dimension. The asterisks (*) included in the names of monitored pages or API operations are not a part of the page URLs. The asterisks (*) indicate the result of URL convergence. Therefore, a name that includes an asterisk (*) is not a specific URL, but a group of similar URLs.

How URL convergence works
- Problem: Variables make it difficult to monitor or analyze similar URLs.
- Objective: Group similar URLs by replacing variables with asterisks (*).
- Solution: Use the Alibaba Cloud proprietary URL convergence algorithm to group similar
URLs and decrease the number of URLs. This way, you can keep as much semantic information
as possible and decrease the number of URLs. This is done in two steps:
- Aggregation: Aggregate similar URLs into one group.
- Variable identification: Extract the variables from the URLs in the same group, and replace the variables with asterisks (*).
The following figure shows the URL convergence process.

Solution
For information about how to disable URL convergence, see urlHelper.
Why is the page view list different from the page speed list?
This is because your application is a single-page application (SPA), and the SPA auto-resolution is enabled. In the SPA application scenario, page views and page speed are measured by using the following methods:
- Page views: When a hashchange event is triggered, the page views are automatically reported to record the page views of the page based on the hash value. Therefore, when you view the page view list of an SPA, you can view the exact page views of the hash pages.
- Page speed: When the hash value of an SPA application changes, the page speed does not change. Therefore, the page speed is not recorded based on the hash. This way, unnecessary reports are avoided and page performance is clear.
TraceId is not found in the API logs, and as a result, the system cannot redirect me to the application monitoring page. Why?
Why is the Source Map file error displayed when I am troubleshooting JS errors?
- Make sure that the file suffix is .js.map.
- Make sure that your account has the permissions to write data to ARMS. If your account has no write permissions, contact your administrator.
What are the differences between console setting and SetConfig?
Console setting can accelerate only the generation of configuration code, and the generated code takes effect only after the code is published. However, modifications to SetConfig immediately take effect.

In addition, console setting is valid only when a project is connected to SDK code. After the project is connected to SDK code, you must use SetConfig to modify configurations.
How do I configure the environment and version in an SDK?
You can set the release parameter to compare versions. For more information, see release. You can also set environment to distinguish different environments. For more information, see .
- prod indicates an online environment.
- gray indicates a phased-release environment.
- pre indicates a staging environment.
- daily indicates a daily environment.
- local indicates a local environment.
How do I view the version number of the configuration?
How do I view the time on page (TP) of a user for a page?
- Log on to the ARMS console.
- In the left-side navigation pane, click Browser Monitoring. On the Browser Monitoring page, click the name of the target application.
- In the left-side navigation pane, choose .
- In the Session List section, find the target session and click its ID in the Session ID column. The Session Details page appears.
- Move the pointer over the Timeline area in the Visit Timeline column to view the time on page of a user for a page.
How do I view the browser custom performance metrics of ARMS?
- Log on to the ARMS console.
- In the left-side navigation pane, click Browser Monitoring. On the Browser Monitoring page, click the name of the target application.
- In the left-side navigation pane, choose .
- Custom performance metrics are displayed in the Page Speed section.
What do I do if the ARMS configuration does not take effect?
The possible reason is that the browser cache is not updated. In the left-side navigation pane, click View Details. Switch to the latest version to view the trend chart. If the version number is not configured, you can configure the release parameter in the SDK. For more information, see release. After the release parameter is configured, check whether the value that you specified is displayed as the latest version.
Why are JS errors on mini programs not reported?
This may be because error messages are captured by try catch at the underlying layer of the mini programs, and the error messages fail to upload. You can try to manually report error messages. For more information, see API reference.
Can JS errors of console.error be listened to?
- Yes, JS errors of console.error can be listened to. Web browsers report the error messages that meet the format of JS errors.
- On the mini program side, you can try to manually report error messages. For more information, see API reference.
In the Weex environment, why does a UID set in a mini program not take effect?
- If you have not called SetConfig, check whether you specified a UID during initialization configuration. If you did not specify a UID, specify one.
- If you have called SetConfig, re-specify a UID in SetConfig.
How long can logs be stored?
Logs can be stored for up to one month.
After I activate the expert edition, can I continue to use sites that are created during the trial period?
- No, you cannot continue to use the sites. Within 15 days after the trial period expires, the sites are suspended due to overdue payments. You can try to restart the application.
- If the expert edition is not activated for the sites within 15 days after the trial period expires, the sites are deleted to save your computing and storage resources. Relevant resources are released and the data on the resources cannot be recovered.
What version numbers are used by application edition and host edition of ARMS?
- The application edition uses the version number of the current online project. You can configure the release parameter of the SDK to specify the version number of application edition. For more information, see release.
- The host edition uses the version number of the app where the current project resides. The version number of the host edition is automatically obtained by the SDK. The version of a hosted app cannot be resolved. Only versions of Taobao, Alipay, or WeChat are resolved.
Why are the page views on the same page different among modules in the console?
On the Page Speed page, the number of page views is equal to the product of entries in the performance log and sample rate.
On the Page page under Dimensions, the number of page views is equal to the value shown in the PV log.
Automatically reported performance logs are reported only after pages are loaded. A performance log is reported each time the page is refreshed.
After the SPA mode is enabled, PV logs are reported every time routes are switched. In the SPA mode, the number of performance logs is less than the number of PV logs, which results in a large difference in the page views for different modules.
Why is the value of duration less than the value of connect download?
The performance data loaded to ARMS resources is obtained from performance.getEntriesByType('resource')
. The domain name of a third party ARMS resource must be the same as the domain name
of the site of the current requested resource. By default, the value of 0 is obtained
from performance.getEntriesByType('resource')
for the following parameters of the performance data of cross-domain resources:
redirectStart
redirectEnd
domainLookupStart
domainLookupEnd
connectStart
connectEnd
secureConnectionStart
requestStart
responseStart
Some time properties may be inaccurate or abnormal because the preceding parameters
are used in the calculation. For example, in connect download:responseEnd - responseStart
, the value of duration is less than the value of connect download because the timestamp
of responseStart is 0.
- To solve this problem, for the CDN resources, you can configure the response header Timing-Allow-Origin to specify the time to obtain the resource time.
- For third-party resources, we recommend that you take the value of the duration parameter as the major reference.