In order to better use We Analytics for daily business data analysis and insight, it is recommended to understand the following basic concepts before using it.
# 1. Mini Program start
All business indicators of the Mini Program are based on the normal start of the Mini Program. Mini Program start, divided into the following 2 cases:
- Cold Start: If the user opens the Mini Program for the first time, or the Mini Program is opened again by the user after being destroyed, the Mini Program needs to be reloaded and started, that is, cold start.
- Hot Start: If the user has opened a Mini Program, and then open the Mini Program again in a certain period of time, at this time the Mini Program has not been destroyed, but from the background state into the foreground state, this process is a hot start.
Hot start time is usually very low. If you don't need a relaunch, it's almost instantaneous. If you need to reLaunch, the startup time is approximately equal to the time of a page switch.
Cold start time, because there will be resource loading, initialization and other related stages, coupled with the dependence on the current network environment of WeChat users, so the time is usually longer. It is recommended that the development team of the Mini Program optimize the start-up time as much as possible to avoid the user closing and exiting the Mini Program before the Mini Program is loaded, resulting in the loss of users.
Therefore, after the user clicks on the Mini Program, before the Mini Program is loaded, the user may close and exit the Mini Program in advance. If the user exits at this stage,The user is not included in the relevant active indicators of the Mini Program。
Related References
Mini Program operation mechanism:https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/operating-mechanism.html
Small Program Start Process:https://developers.weixin.qq.com/miniprogram/dev/framework/performance/tips/start_process.html
wx.reLaunch:https://developers.weixin.qq.com/miniprogram/dev/api/Route/wx.reLaunch.html
# 2. Mini Program page
Mini Program pageThe concept is similar to that found in traditional web pages ofWeb Links, is an important concept in the development and operation of Mini programs, mainly composed of "page path" and "page parameters."
In general, the "page path" represents different functional modules, such as the home page, personal center, and product details page. "Page Parameters" control the specific content of the page.
If the Mini Program is developed by a third-party team, the front-end development colleagues in the development team can clarify the meaning represented by different "page paths."
# 3. User Activity Indicators
In the operation of the Mini Program, there are three active indicators that need attention.
# 3.1 Number of visitors
The number of deduplicated users accessing the current Mini Program in the current count cycle. The statistical caliber of the visit shall be subject to the completion of the Mini Program. Among them, the statistical caliber of the weight is determined by the user's OpenID. OpenID is the unique identity of that user under the current Mini Program.
It should be noted that in order to protect data security, the OpenID of the same WeChat user is different in different Mini programs and different Official Account message templates.
For example:
The OpenID in Mini Programs A may be obgHK5LXWYiFSW6DWQTvvV7y6kdw, and the OpenID in Mini Programs B is obgHK5Cqbph0uww_Sdztmktk9sdk, the two are inconsistent.
# 3.2 Number of open
With the exception of a few cases of hot start, each time the user hot start/A cold start is counted as one open. That is, the cumulative number of times the Mini Program is opened by the user during the current cycle.
A few of the above situations, mainlyPress the home button and then go back to the Mini Program、Back to the Mini Program after the lock screenEtc.
It can be simply understood that every time the user starts the Mini Program, there will be a unique session ID, and every hot start/Cold boot will refresh this session ID, and We analysis statistics the number of times the Mini Program is opened based on this session ID.
# 3.3 Number of pages visited
The total number of visits to the Mini Program page during the current statistical period. Multiple page jumps and repeated visits to the same page count as multiple visits.
The same page refers to the "page path" and "page parameters" exactly the same Mini Program page
# 4. Mini Program access scenario
# 4.1 Concept Brief
The Mini Program access scene is the most important basic concept in the Mini Program business process, which represents where, what path, and how WeChat users open and access the current Mini Program inside and outside of WeChat.
As of the end of October 2023, there are 151 Mini Program scene values that have been online and have not been abandoned.
Related References
Scene Value Get:https://developers.weixin.qq.com/miniprogram/dev/framework/app-service/scene.html
List of Scene Values:https://developers.weixin.qq.com/miniprogram/dev/Reference/scene-list.html
# 4.2 Scene value system
For better help Mini Program developers/Merchant analysis and attribution of visits across channels/The proportion of payment, in the We analysis, the access scenario of the Mini Program will be clustered according to the 3-tier architecture, and the 11 major channels will be dismantled.(The Level One Scene)。
Where the first-level scene and the second-level scene are clustered scenes, they will have the same attribute/Feature access scenarios are merged together, and the three-level scenario is the original scenario. The access scenarios contained in each channel are as follows:
Level One Scene | Secondary scene | Third Level Scene |
---|---|---|
Official Account message template | Official Account message template | Official Account message template |
[Official Account message template] | ||
Official Account message template | [Official Account message template] | |
[Official Account message template] - Merchandise Cards | ||
[Official Account message template] - Video Patch | ||
[Official Account message template] - video | ||
Official Account message template session | [Official Account message template] - Mini Program card | |
[Official Account message template] - Wordchain | ||
[1157] Service Guide - Mini Program card | ||
Official Account message template | Official Account message template | |
Official Account message template | - | |
WeChat Channels | WeChat Channels Basic Features | [1175] WeChat Channels Profile |
[1176]WeChat Channels - Set up - My store - Managing My Store | ||
[1184]WeChat Channels - Mini Program link | ||
[1191] WeChat Channels Activity Open Mini Program | ||
[1193] WeChat Channels Home Services Menu Open Mini Program | ||
[1195] WeChat Channelsprofile Products tab | ||
[1216] WeChat Channels Order Center | ||
WeChat Channels Live | [1177] WeChat Channels Live | |
[1197] WeChat Channels anchor from the live studio to return to the game | ||
[1198] WeChat Channels launch interface to open the game | ||
[1206] WeChat Channels Mini game Live Room Open Mini game | ||
share | Single Chat Sharing | [1007] Single Chat Scene Opens |
Group chat sharing | [1008] Group chat scene opens | |
[1044] Group chat scene opens (with shareTicket) | ||
[1160] Group chat scene open (group to do) | ||
[1231] Dynamic message reminder entry open Mini Program | ||
App Share | [1036] Open the app to share the card | |
WeChat Moments Share | [1154] Open "Single Page Mode" in WeChat Moments | |
[1155] WeChat Moments Open Mini Programs in "Single Page Mode" | ||
WeChat Channels Share | [1208] Chat Open Merchandise Card (WeChat Channels source) | |
search | Mobile Phone Side Search | [1005] WeChat top search box - Search Results Page |
[1042] Add Friend Search Box - Search Results Page | ||
[1053] Found - Search - Search Results Page | ||
[1006] Found - Mini Program - Top Search Box - Search Results Page | ||
[1106] Taskbar - Top Search Box - Search Results Page | ||
[1027] WeChat top search box - Small Programs Used | ||
[1233] Mini Program Search Page - Search found | ||
[1252] Search a Mini Program search pageSmall functionModule entry Mini Program | ||
PC Side Search | [1183] PC WeChat - Mini Program panel - Discover Mini Program - Search Results Page | |
Scan code | Scan offline | [1011] Scan the QR code |
[1025] Scan one-dimensional code | ||
[1047] Scan Mini Program code | ||
[1124] Sweep a thing a yard | ||
Long press recognition | [1012] Long press and identify the QR code | |
[1031] Long press to identify one-dimensional code | ||
[1048] Long press the recognition Mini Program code | ||
[1125] Long press to identify one object and one code | ||
Album selection | [1013] Photo album selection QR code | |
[1032] Album selection one-dimensional code | ||
[1049] Album selection Mini Program code | ||
[1126] The album selects one thing and one code | ||
Jump | Mini Program jump | Other Mini programs |
[1038] Other Small Programs Return | ||
[1099] Page inline plug-in | ||
APP跳转 | [1069] External applications pull up WeChat and open the Mini Program | |
H5/Link Jump | [1065]URL Scheme opens the Mini Program | |
[1167] h5 Open Mini Programs by opening tabs | ||
[1181] Website application jump PC WeChat, open Mini Program | ||
[1179]Short Link Open the Mini Program | ||
[1194]URL Link Open the Mini Program | ||
Fixed scene | taskbar | [1089] Task Bar - Recently Used |
[1104] Task Bar - My little program. | ||
find | - | |
find - Mini Program | [1001] Discovery Bar - Mini Program - Recently Used | |
[1026] Discovery Bar - Mini Program - Nearby Small Programs | ||
[1103] Discovery Bar - Mini Program - My little program. | ||
[1145] Discovery Bar - Discover Mini Program | ||
[1151] Discovery Bar - My Order | ||
[1242] Discovery Bar - Store delivery - Channel Page | ||
[1245] Discovery Bar - Store delivery - Search Results Page | ||
[1254] Discovery Pagedynamiccard Open the Mini Program | ||
[1273] Discovery Bar - Mini Program - Commonly used Mini programs | ||
I - service | [1019] Service entrance | |
[1057] Services - Wallet - Bank Card Details Page | ||
[1071] Services - Wallet - Bank Card List Page | ||
[1092] Services - City Services | ||
Card bag | [1028] I - Card bag | |
[1029] I - Card bag - Card Voucher Details Page | ||
[1052] I - Card bag - Card Voucher Details Page - Card coupons for stores | ||
[1148] I - Card bag - public transportation card | ||
Collection | [1010] I - Collection | |
[1186] Collection Notes Open Mini Program | ||
find - game | [1079] Discovery Bar - WeChat Game Center | |
[1272] Game - Services tab | ||
find - to have a look | - | |
Android system | [1023] Android Phone - System Desktop | |
[1113] Android Phone - Negative One Screen | ||
[1114] Android Phone - a side-bar | ||
[1223] Android Desktop Widget Open Mini Programs | ||
PC end | [1256] PC End PanelRecently Used | |
[1257] PC End PanelMy little program. | ||
[1258] PC End PanelOptimized for the computer. | ||
[1259] PC End PanelSmall Mini game Zone | ||
[1260] PC End PanelRecommended for use on the computer side | ||
WeChat function | Session function | [1158] Group Tools |
[1096] Chat Records | ||
[1185] Group Announcement Open Mini Program | ||
[1212] Youth Model Application Page | ||
Mini Program function | [1024] [1024] | |
[1090] Long Press Mini Program Menu Dot | ||
[1131] Floating window opening Mini Program | ||
[1135] Mini Program profile page - Other Small Programs | ||
[1187] Negative One Screen Floating Window (from version 8.0) | ||
[1248] Small Program Account Migration | ||
Payment function | [1034] Payment Completion Page | |
[1060] Payment Completion Page | ||
[1072] QR code receipt page | ||
[1097] Payment Signing Page | ||
[1100] WeChat red envelope details page | ||
Other functions | [1039] Shake the TV | |
[1056] Top Music Player - Top right menu | ||
[1064] WeChat home page with Wi-Fi | ||
[1077] Shake Around | ||
[1078] WeChat connected to Wi-Fi success tips page | ||
Viewing System Messages in a [1088] Session | ||
[1146] Location Information | ||
[1150] Scan the product barcode result page | ||
[1153] Knowledge Object Result Page | ||
WeRun campaign [1171] Click on the motion record from the mini program, open the mini program | ||
[1173] WeChat material (H5, pictures, files) open Mini Program | ||
[1178] Icon in the lower left corner of PC Guest House | ||
[1192] WeChat enterprise WeChat associate profile page open Mini Program | ||
[1196] Personal status open Mini Program | ||
news | Customer Service News | [1073] Customer Service Message - Mini Program card |
[1081] Customer Service Message - Wordchain | ||
[1202] Customer Service Message - Mini Program card (enterprise micro customer service number) | ||
[1207] Customer Service Message - Text chain (enterprise micro customer service number) | ||
Mini Program message | [1014] Mini Program Subscription Messages | |
Advertising | WeChat Moments Advertising | [1045] WeChat Moments Advertising Card |
[1046] WeChat Moments Ad Details Page | ||
[1084] WeChat Moments Advertising Native Page | ||
Official Account message template | [Official Account message template] | |
[1230] Subscription Number H5 Advertisement | ||
Small Business Advertising | [1095] Small Program Advertising Component | |
WeChat Channels Advertising | [1200] WeChat Channels Ads Open Mini Program | |
[1201] WeChat Channels Ad Details Page Open Mini Program | ||
[1228] WeChat Channels Native Advertising Component | ||
Search Advertising | 1232 Search for Advertising | |
Other advertising | [1189] Expression rain advertising open Mini Program | |
[1215] Advertising Appointment | ||
[1238] Take a look at the information flow advertising | ||
WeChat external | Hardware equipment | [1133] Offline terminal equipment |
External app | [1168] Third-Party Application Running Mini Program | |
Other | Mini Program test | [1017] Experience Edition Tip Page |
[1059] experience version binding invitation page | ||
[1203] WeChat mini program pressure test tool | ||
The Official Channel/Technological process | [1030] Automated test process | |
[1101] Remote Debugging Hot Update | ||
[1129] WeChat crawler automated access | ||
WeCom | [1119] Corporate WeChat - Workbench | |
[1120] Enterprise WeChat - Personal profile page | ||
[1121] Corporate WeChat - chat plus attachment box | ||
Other | [1000] Unknown |
# 4.3 Update record
The following update nodes refer to the We analysis that can view the scenario access/Time nodes of the transaction data.
Some scenes may have relevant data for the scene before the following date due to closed beta and other reasons. Small businesses/Developers are available through wx.getLaunchOptionsSync()Get it yourself.
**13 October 2023: ** Add the following 8 scene values
- [1254] found Mini ProgramService dynamics
- [1256] PC End PanelRecently Used
- [1257] PC End PanelMy little program.
- [1258] PC End PanelOptimized for the computer.
- [1259] PC End PanelSmall Mini game Zone
- [1260] PC End PanelRecommended for use on the computer side
- [1272] Found gameServices tab
- 1273 found Mini ProgramCommonly used Mini programs
**25 April 2024: ** Add the following 26 scene values
- [1265] Small Program Screenshot Details Page
- [1266] Mini Program screenshot Long press the half-screen entrance
- [1267] Small Program Screenshot Session Corner Marker
- [1218] WeChat keyboard preview
- [1219] WeChat Channels live room "one click on the car"
- [1220] Discovery Page Equipment Card
- [1225] Audio and Video Call
- [1226] Chat Messages Open the Mini Program after the device is turned on
- 【1244】#Tag search results page
- 1255 Page foundMycard Open the Mini Program
- [Official Account message template] - Commission merchandise card
- [1278] found Mini ProgramDiscover Mini Program
- [1279] found Mini ProgramDiscover Mini Program - Collection Page
- [1280] Task BarTop Search Box - Search Suggestions
- [1281] Task BarTop Search Box - Discover Mini Program
- [1286] Plaintext URL Scheme
- Official Account message template
- [1292] Found Mini ProgramDiscover Mini Program - POI Details Page
- 1293 found. Mini ProgramSkit Card Chase Page
- [1295] Search Advertisingtaskbar - Search Entrance - Discover Mini Program
- [1296]WeChat Channels - Paid Skits Bubble
- [1297] found Mini Programsearch - Discover Mini Program
- [1298] Task Barsearch - Discover Mini Program - Collection Page
- [1299] Task Barsearch - Discover Mini Program - POI Details Page
- 1300 found. Mini Programsearch - Discover Mini Program - Collection Page
- 1301 found Mini Programsearch - Discover Mini Program - POI Details Page
# 4.4 Scene anomaly record
- [Report] 2023 XX-1053 scene
- Scenarios involving:[1053] Found SearchSearch Results Page
- Date of Exception: October 2021 events
- Date of Repair: 2023/6/9 Friday
- Description of Anomalies: The scene was misreported at the bottom(Misstatement)
- Anomalous Effects: In some cases, the search scenario value is accessed, which is incorrectly reported as 1053. For example, iOS should have reported 1106 scenes, but misreported 1053.
- Related Remarks: The overall search scene visits are correct, and only some of the original scenes are abnormal.
- 202307-1038 Scenario
- Scenarios involving:[1038] Other Small Programs Return
- Date of Exception: July 2023 events
- Date of Repair: 2023/11/13 Monday
- Description of Anomalies: The scene was misreported at the bottom(to overstate)
- Anomalous Effects: Some Mini programsThis sceneVisits are higher than the real situation
- Related Remarks: The fix relies on the client version of WeChat users. IOS 8.0.43 and Android-8.0.42 data restored as of repair date