Skip to main content

Path analysis

Path analysis filter conditions​

POST /analysis/{dimension}

Request parametersTypeRequired parametersDescription
mpIdNumberisMini Program Application Id
timePeriodNumberNoThe parameter defaults to 30 minutes
endTimeStringNoEnd time format yyyy-MM-dd HH:mm For example (2018-02-07 17:39)
dimensionStringYesPull 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 parametersTypeRequired parametersDescription
mpIdNumberisMini Program Application Id
analysisStringYesAccording to xx analysis, possible values: pv / uv
sceneStringNoScene value
networkTypeStringNoNetwork Type
wechatVersionStringNoWeChat version
regionIdStringNoProvince region id
carrierIdStringNoCarrier id
systemStringNoSystem version
deviceTypeStringNoDeviceType
timePeriodNumberNoThe parameter defaults to 30 minutes
endTimeStringNoEnd 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
},
]
}