User Statistics
1. TOP operating system
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | topOsData |
Body:
{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount"
],
"dimensions": [
"osId",
"osVersionId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "osVersionId",
"value": [
0
],
"operator": "!="
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"orderByExprs": "newCount desc",
"render": "list",
"limit": 10
}
2. TOP channel
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | topChannelData |
Body:
{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount"
],
"dimensions": [
"channelId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "channelId",
"value": [
0
],
"operator": "!="
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"orderByExprs": "newCount desc",
"render": "list",
"limit": 10
}
3. TOP version
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | topMobileAppVersionData |
Body:
{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount"
],
"dimensions": [
"mobileAppVersionId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "mobileAppVersionId",
"value": [
0
],
"operator": "!="
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"orderByExprs": "newCount desc",
"render": "list",
"limit": 10
}
4. TOP device
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Query params:
Key | Value |
---|---|
label | topManufacturerData |
Body:
{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount"
],
"dimensions": [
"manufacturerModelId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "manufacturerModelId",
"value": [
0
],
"operator": "!="
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"orderByExprs": "newCount desc",
"render": "list",
"limit": 10
}
5. TOP manufacturer
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Query params:
Key | Value |
---|---|
label | topManufacturerData |
Body:
{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount"
],
"dimensions": [
"manufacturerId"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "manufacturerModelId",
"value": [
0
],
"operator": "!="
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"orderByExprs": "newCount desc",
"render": "list",
"limit": 10
}
6. Use duration trend
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | userTimeData |
Body:
{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"useTimeHistogram"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "sampleType",
"value": [
"active"
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
},
{
"name": "moduleType",
"value": [
2
],
"operator": "="
}
],
"render": "list"
}
7. Trend of the number of starts
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query/zero-filling
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | userTrendData |
Body:
{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"launchCount"
],
"dimensions": [
"timeStr"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"render": "list"
}
8. Trend of new users
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query/zero-filling
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | userTrendData |
Body:
{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount"
],
"dimensions": [
"timeStr"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"render": "list"
}
9. Daily Active Devices Trend-30 Day
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/userstat/dayLive
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Body:
{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"deviceCount"
],
"dimensions": [
"timeStr",
"dataType"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
1,
2
],
"operator": "IN"
}
],
"render": "list"
}
10. Monthly Active Devices Trend-1 Year
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/userstat/monthLive
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Body:
{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"deviceCount"
],
"dimensions": [
"timeStr",
"dataType"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
1,
2
],
"operator": "IN"
}
],
"render": "list"
}
11. Active Devices Trend
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query/zero-filling
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | userTrendData |
Body:
{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"deviceCount"
],
"dimensions": [
"timeStr"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
}
],
"render": "list"
}
12. User Statistics-Information Card
Endpoint:
Method: POST
Type: RAW
URL: {{host}}/adhoc/query
Headers:
Key | Value |
---|---|
Accept | application/json, text/plain, / |
Content-Type | application/json |
Query params:
Key | Value |
---|---|
label | cardData |
Body:
{
"timePeriod": {{timePeriod}},
"endTime": {{endTime}},
"datasource": "APP_DEVICE_DATA",
"metrics": [
"newCount",
"deviceCount",
"launchCount",
"useTime"
],
"filters": [
{
"name": "mobileAppId",
"value": [
{{mobileAppId}}
],
"operator": "IN"
},
{
"name": "dataType",
"value": [
2
],
"operator": "="
},
{
"name": "sessionDurationTime",
"value": [
0
],
"operator": ">="
}
],
"render": "list",
"limit": -1
}