The Mobile Analysis service uses automated instrumentation and real-time computing to link user behaviors within an app. It arranges these behaviors into a time series based on the client time to create a user behavior trail. This trail lets you understand a user's path, showing when they launched the app, which pages they viewed, and what actions they took on those pages.
Trail analysis shows the behavior trail of a specific user over a period of time. Each node in the trail displays information based on the log instrumentation type. This information includes the time, platform, system version, channel, device model, and the specific behavior. You can query user behavior trails by user ID or device ID.
View a trail analysis report
You can view a trail analysis report as follows:
Log on to the mPaaS console. Select the target application. In the left navigation pane, choose Mobile Analysis > Custom Analysis > Trail Analysis.
Set the query dimension to User ID or Device ID. Enter the corresponding ID and select a time range. Click Query Trail Analysis to view the results.
The results load 10 items at a time. Click Click to continue browsing the trail at the bottom to load the next 10 items. All results are appended to the current page. If the page becomes long, you can scroll to view the entire trail map.
Each trail node displays a different behavior description based on the log instrumentation type. These include the following:
Activation instrumentation: Records information about the app launch.
Automated page instrumentation: Records information about opening a page.
Automated click instrumentation: Records information about clicking a control on a page.
Related log instrumentation
Activation instrumentation
Key field: Log identity,
reportActive(the 17th field)Instrumentation sample:
2020-07-05 12:30:33.002,ip=183.95.xxx.xxx^country=China^province=Hubei Province^city=Wuhan City^district=,2020-07-05 12:30:32:532,363452B111425_IOS-default,2.1.1,3,XElQBnytt2YDAJfdBoO/uAAq,C3638BAE-C601-4D68-ADCF-8AB52E3D539C,368800339590,event,-,-,-,-,-,-,reportActive,1,mPaaSAliveiOS,c,-,-,-,mp_baseline=10.1.60.27^mp_module=mPaaSAliveiOS,-,-,XElQBnytt2YDAJfdBoO/uAAq,-,-,-,-,-,-,1000,iPhone 11,13.3,LTE|China Unicom,-,-,follow_system_zh-Hans-CN,-,-,-,-,VoiceOver=0^TimeZone=Asia/Shanghai,-,750*1624,-,3,-Automated page instrumentation
Key fields: Log identity,
auto_openPage(the 10th field), and current page ID (the 17th field)Instrumentation sample:
2020-07-05 12:30:33.007,ip=117.136.x.xxx^country=China^province=Shanghai^city=Shanghai^district=,2020-07-05 12:30:32:902,84EFA9A281942_IOS-default,2.4.01,2,Wo4BWJSmXjoDAOGmjiPm1HdH,AD2B567B-B0F9-4A78-A1C5-FFFCEDB2975B,13681855793,auto_openPage,-,SHM_H5WebViewController|SHM_H5WebViewController__Wo4BWJSmXjoDAOGmjiPm1HdH__NCTFKzA_,-,NCTFMp8,//SHM_H5WebViewController,-,SHM_H5WebViewController,2,autotrack,c,-,1278,NCTFMp8,referSpm=^respond=83565^openpagetime=2020-07-05 12:30:31:625^staytime=1278,-,1278,Wo4BWJSmXjoDAOGmjiPm1HdH,-,SHM_H5WebViewController__Wo4BWJSmXjoDAOGmjiPm1HdH__NCTFMp8_,SHM_H5WebViewController,SHM_H5WebViewController,https://__bridge_loaded__/|flash,A93ac1e3a7d2c9d60bbe895acabea8bf9,1000,iPhone 6S Plus,13.3,LTE|China Mobile,-,-,follow_system_zh-Hans-CN,-,-,-,-,VoiceOver=0^TimeZone=Asia/Shanghai,-,1242*2208,-,298,-Automated click instrumentation
Key fields: Log identity,
auto_click(the 10th field), and the ID of the clicked control (the 17th field)Instrumentation sample:
2020-07-05 12:30:33.023,ip=223.104.xxx.xxx^country=China^province=Shanghai^city=Shanghai^district=,2020-06-25 12:27:44:106,84EFA9A281942_ANDROID-default,2.0.55,2,460001605536199|865611032563288,d5e39965-2def-45d3-8f61-44efdbb0fea6,13501677084,auto_click,-,MyWalletAct|MyWalletAct__W/OMuBtMJZ4DAMBf8XDfluoI__NBfkkVv_,ActivityApplicationStub,-,//com.app.shanghai.metro.ui.mine.wallet.MyWalletAct/LinearLayout[0]:-/FrameLayout[0]:-/TextView[0]:tvLeftTitle|-1,-,tvLeftTitle,2,autotrack,c,-,-,-,header=D-AM,-,-,-,W/OMuBtMJZ4DAMBf8XDfluoI,-,-,com.app.shanghai.metro.ui.activities.H5ActivitiesActivity,com.app.shanghai.metro.ui.mine.wallet.MyWalletAct,com.app.shanghai.metro.ui.mine.wallet.MyWalletAct|tvLeftTitle,A5473178d535a5eff6c8ebf3425d4d2f8,1000,1711-A01,7.1.1,LTE|cmnet,-,-,-,20190424130858,8,1401,3602,romVersion=v076^brand=360,-,1920x1080,main,171