- 管理员登录授权
- 面经管理
- 访问统计
- 面经前台接口
- 管理员后台登录授权
- 面经后台管理
- 管理员后台访问统计
获取用户小程序访问分布数据
GET
/analysis/visitDistribution
管理员后台访问统计
请求参数
Query 参数
begin_date
string
可选
end_date
string
可选
Header 参数
Authorization
string
可选
默认值:
Bearer {{token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/analysis/visitDistribution' \
--header 'Authorization: Bearer {{token}}'
返回响应
🟢200成功
application/json
Body
code
number
返参code
message
string
返参信息
data
object
wxVisitDistributionResponse
示例值:
{"ref_date":"20170313","list":[{"index":"access_source_session_cnt","item_list":[{"key":2,"value":10243},{"key":1,"value":116578}]}],"errMsg":"openapi.analysis.getDailyRetain:ok"}
ref_date
string
可选
list
数据列表
errMsg
string
errMsg
示例
{
"code": 10000,
"message": "请求成功",
"data": {
"ref_date": "20220430",
"list": [
{
"index": "access_source_session_cnt",
"item_list": [
{
"key": 36,
"value": 1
},
{
"key": 29,
"value": 8
}
]
},
{
"index": "access_source_visit_uv",
"item_list": [
{
"key": 36,
"value": 1
},
{
"key": 29,
"value": 4
}
]
},
{
"index": "access_staytime_info",
"item_list": [
{
"key": 8,
"value": 4
},
{
"key": 7,
"value": 3
},
{
"key": 6,
"value": 1
},
{
"key": 3,
"value": 1
}
]
},
{
"index": "access_depth_info",
"item_list": [
{
"key": 6,
"value": 1
},
{
"key": 3,
"value": 1
},
{
"key": 2,
"value": 6
},
{
"key": 1,
"value": 1
}
]
}
]
}
}
修改于 2023-04-24 08:32:48