Path analysis
Path analysis filter conditionsβ
POST
/analysis/{dimension}
Request parameters | Type | Required parameters | Description |
---|---|---|---|
mpId | Number | is | Mini Program Application Id |
timePeriod | Number | No | The parameter defaults to 30 minutes |
endTime | String | No | End time format yyyy-MM-dd HH:mm For example (2018-02-07 17:39) |
dimension | String | Yes | Pull down to select the corresponding dimension |
Description:
{dimension}
Determine the path variable according to the drop-down selection of different dimensions [scenes,networkTypes,carriers,deviceTypes,regions,systems,wechatVersions].
Return results:
[
{
"id": "", // id
"value": "" // Display value
}
]
Path analysisβ
POST /analysis/flow
Request parameters | Type | Required parameters | Description |
---|---|---|---|
mpId | Number | is | Mini Program Application Id |
analysis | String | Yes | According to xx analysis, possible values: pv / uv |
scene | String | No | Scene value |
networkType | String | No | Network Type |
wechatVersion | String | No | WeChat version |
regionId | String | No | Province region id |
carrierId | String | No | Carrier id |
system | String | No | System version |
deviceType | String | No | DeviceType |
timePeriod | Number | No | The parameter defaults to 30 minutes |
endTime | String | No | End time format yyyy-MM-dd HH:mm For example (2018-02-07 17:39) |
Return results:
{
"nodes": [
{
"id": "Main entrance of discovery bar applet",
"name": "Main entrance of discovery bar applet",
"path": "Main entrance of discovery bar applet",
"type": "ENTRY"
},
{
"id": "pages/list/list7",
"name": "pages/list/list7", //Node name, set the alias and the alias will be displayed here
"data": [
{
"name": "page",
"value": "pages/list/list7"
},
{
"name": "Performance Rating",
"value": "60"
},
{
"name": "PV",
"value": "3702 times"
},
{
"name": "UV",
"value": "1 time"
},
{
"name": "Network request error rate",
"value": "100%"
},
{
"name": "JS error rate",
"value": "100%"
},
{
"name": "Network request response time",
"value": "81ms"
},
{
"name": "First response time",
"value": "1530ms"
},
{
"name": "onReady",
"value": "1530ms"
},
{
"name": "Total exit rate",
"value": "0%"
},
{
"name": "Number of page exits",
"value": "0 times"
},
{
"name": "Loading time",
"value": "100ms"
},
{
"name": "Abnormal exit rate",
"value": "10%"
},
{
"name": "Online time",
"value": "100ms"
}
],
"status": "normal",
"path": "pages/list/list7", // node path
"type": "PATH"
}
],
"links": [
{
"from": "Main entrance of discovery bar applet",
"to": "pages/list/list7",
"fromName": null,
"toName": "",
"weight": 3702 //Number of times, pv or uv
},
]
}