May 19, 2021 WeChat Mini Program Development Document
Through the data analysis interface, developers can obtain the data indicators of the small program, which is easy to store and organize the data. Detailed functionality of data analysis and interpretation of indicators can be found in the data analysis document.
Detailed data on user access to small programs can be obtained from access analysis, which provides some metric data such as cumulative number of users.
The interface address
https://api.weixin.qq.com/datacube/getweanalysisappiddailysummarytrend?access_token=ACCESS_TOKEN
Get access_token the documentation
POST Request Parameter Description:
Parameters | Is it required | Description |
---|---|---|
begin_date | Is | The start date |
end_date | Is | End date, limit queries to 1 day of data, end_date allowed to set the maximum value for yesterday |
POST content example:
{
"begin_date" : "20170313",
"end_date" : "20170313"
}
Return the parameter description:
Parameters | Description |
---|---|
visit_total | The cumulative number of users |
share_pv | Number of forwards |
share_uv | The number of forwards |
Return an example of the data:
{
"list": [
{
"ref_date": "20170313",
"visit_total": 391,
"share_pv": 572,
"share_uv": 383
}
]
}