Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to get the profile distribution data of new or active users of Mini Program

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to obtain the relevant knowledge of the profile distribution data of new or active users of Mini Program. The content is detailed and easy to understand, and the operation is simple and fast, so it has a certain reference value. I believe that everyone will gain something after reading this article on how to obtain the profile distribution data of new or active users of Mini Program. Let's take a look.

User portrait

Get the profile distribution data of new or active users of Mini Program. The time range supports yesterday, the last 7 days, the last 30 days. Among them, the number of new users is the number of dereuse users who visited Mini Program for the first time in the time range, and the number of active users is the number of dereuse users who visited Mini Program in the time range. Portrait attributes include user age, sex, province, city, terminal type and model.

Interface address: https://api.weixin.qq.com/datacube/getweanalysisappiduserportrait?access_token=ACCESS_TOKEN

POST request parameters description:

Whether the parameter is required indicates that begin_date is the start date and end_date is the end date, and the number of days between the start date and the end date is limited to 0 / 6 / 29, respectively, indicating that the last day data of 1-7-30 is queried. The maximum value allowed by end_date is yesterday.

Example of POST content:

{"begin_date": "2017-06-11", "end_date": "2017-06-17"}

Return parameter description:

Each request returns the selected time range and the following metrics:

Parameters describe the ref_date time range, such as "20170611-20170617" visit_uv_new new users visit_uv active users

Attributes included under each metric:

Parameters indicate the gender of province provinces, such as city cities such as Beijing and Guangdong, and genders gender such as Beijing and Guangzhou, including male, female and unknown platfomrs terminal types, including iPhone, android, other devices models, such as Apple iPhone6, OPPO R9, etc., including ages age under 17 years old and 18-24 years old.

Data items included under each property:

The parameter describes the id attribute value idname attribute value name, which corresponds to id one by one. If the attribute is province, the returned attribute value name includes the indicator value corresponding to the value attribute value such as "Guangdong". For example, the indicator is visit_uv, the attribute is province, the attribute value is "Guangdong", and value corresponds to the number of active users in Guangdong.

Example of returned data:

{"ref_date": "20170611", "visit_uv_new": {"province": [{"id": 31, "name": "Guangdong", "value": 215}], "city": [{"id": 3102, "name": "Guangzhou", "value": 78}], "genders": [{"id": 1, "name": "male" "value": 2146}], "platforms": [{"id": 1, "name": "iPhone", "value": 27642}], "devices": [{"name": "OPPO R9", "value": 61}], "ages": [{"id": 1, "name": "under 17", "value": 27642}]} "visit_uv": {"province": [{"id": 31, "name": "Guangdong", "value": 1341}], "city": [{"id": 3102, "name": "Guangzhou", "value": 234}], "genders": [{"id": 1, "name": "male", "value": 14534}] "platforms": [{"id": 1, "name": "iPhone", "value": 21750}], "devices": [{"name": "OPPO R9", "value": 21750}], "ages": [{"id": 1, "name": "under 17", "value": 3156}]}

Note:

Because some user attribute data is missing, the attribute value may be "unknown".

There is no id field for model data, and only the top20 with the largest number of users is provided.

This is the end of the article on "how to get the profile distribution data of new or active users on Mini Program". Thank you for reading! I believe you all have a certain understanding of the knowledge of "how to obtain the profile distribution data of new or active users of Mini Program". If you want to learn more, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report