Umeng is the most professional and data-cohesive mobile developer service platform in China. Umeng takes mobile application statistical analysis as the starting point for its products and has developed into an integrated service platform that provides basic setup, development, and operation services. It is committed to providing mobile developers with professional data statistical analysis, development and operation components and promotion services. In October 2013, a "one-stop" solution was launched. The service includes mobile application statistical analysis and mobile game statistical analysis of sub-industry, third-party login, social sharing components, message push, automatic update, user feedback, error analysis, etc. product.

Umeng+ takes "data intelligence to drive business growth" as its mission, based on technology and algorithm capabilities, combined with global data resources, to mine 40+ tag categories, 15,000+ customer group tags, 100+ user/industry analysis indicators, and use AI The empowered one-stop Internet data product and service system helps companies realize in-depth user insights, real-time business decisions and continuous business growth.

Youmeng is really powerful. The functions it contains solve the functions necessary for some mainstream applications in the existing market. The products it contains include: mobile statistics, website statistics, applet statistics, application performance monitoring, smart links, message push, social sharing, smart authentication, smart recommendation, data analysis and display, short message service, smart data collection, etc. It also integrates many existing SDKs for mainstream products, including mobile statistics SDK, game statistics SDK, application performance monitoring SDK, message push SDK, social sharing SDK, smart hyperlink SDK, smart authentication SDK, etc. Make our integration easier and more convenient to use.

The following introduces the Umeng products used by some mainstream apps in the market:

Youmeng Statistics: APP data statistics

1. Real-time statistics

Real-time statistics mainly display today's data, the change rate of today compared to yesterday, and the data trend of today's time-sharing
The statistical indicators are divided into two parts: basic indicators + optional indicators, as shown in the figure below:

1.1 Basic indicators

Basic indicators show the current real-time data of each indicator and the rate of change relative to the data at the same hour of the day yesterday
The basic indicators are:
New user: the user who started the application for the first time (using the device as the criterion)
Number of starts: Open the application to start. If the application is completely exited or opened after running in the background for more than 30s (default 30s), it is counted as a new start.
Accumulated daily activity in time period:
Refers to the number of active users of the day as of each hour. Refers to the number of active users of the day as of each hour. Application user (de-duplication)
Time-sharing active users: the number of active users per hour (de-duplication)
The following is an example diagram of basic indicators:

1.2, custom indicators

Here you can add the number of messages, the cumulative value and the single average value of the numerical parameter of the calculated event.

2. Overall trend statistics

Through the trend graph of basic indicators such as accumulated users and active users and top version, top channel data, comprehensively display application trends, and view the overall scale of the application and the trend of key indicators.
The overall trend statistics is mainly a trend chart that counts basic indicators such as accumulated users and active users. Trend statistics can be divided into summary statistics and overall trend statistics.

2.1. Summary statistics

The summary statistics are shown in the figure:
Given 7 indicators of the current overall situation of the application as of yesterday, and calculate the year-on-year changes of these indicators.

1. 7-day average new users: the average daily new users in the last 7 days (excluding today);
2. 7-day average retention rate of the next day: the average of the retention rate of the next day of the last 7 days;
3. 7-day average daily usage time: the average daily usage time of users in the last 7 days (excluding today);
4. 7-day average active users: the average daily active users in the last 7 days (excluding today);
5. Total number of active users on the 7th day (de-duplication): The total number of active users in the last 7 days (excluding today) (de-duplication);
6. The total number of active users on the 30th day (de-duplication): The total number of active users in the last 30 days (excluding today) (de-duplication);
7. Cumulative number of users: As of the current time, all independent users who have started the application (de-duplication, based on the device as the criterion);
8. Error rate: The number of errors/start times per day, which can be queried by version;

2.2 Trend and comparison of key indicators

Provides line graph change trends of 11 common application indicators (13 for Android) such as new users, active users, number of starts, error rate, etc., and supports industry data and time comparison. As shown below:

2.3 Key indicators

1. New users: the user who started the application for the first time (using the device as the criterion);
2. Number of starts: Android: Open the app as a start. Re-entering the application after completely exiting or running in the background for more than 30s will be regarded as a new start. During the development process, you can customize the interval between two starts through setSessionContinueMills, the default is 30s.
iOS: Opening the app is regarded as starting, completely exiting or returning to the background is regarded as the end of the start;
3. Active users: Users who have started the application (de-duplication), users who have started the application once are considered active users, including new users and old users;
4. Cumulative users: As of the current time, all independent users who have started the application (de-duplication, based on the device as the criterion);
5. Number of errors: The total number of errors received in a day;
6. Error rate: number of errors per day/number of startups;
7. Average daily usage time: The average daily usage time, that is, the daily usage time of all users/total active users;
8. Average number of daily launches: The number of times the user launches the application in a day, that is, the total number of launches/active users;
9. Active user composition: the distribution of new and old users among daily active users;
10. Next-day retention rate: The percentage of newly-added users on that day who still start the application on the next day;
11. Average single use time: the average value of single use time, that is, the daily use time of all users/total number of activations;
12. Average upload traffic (Android): Average data traffic sent to the network each time the application is used (unit: KB);
13. Average download traffic (Android): Average data traffic received from the network each time the application is used (unit: KB)

2.4 Add comparison

Currently supports time comparison and industry comparison data viewing based on core indicators:
Industry comparison is currently only available to some customers, and supports viewing industries for new users, active users, number of activations, average single use time, average daily use time, average daily activations, active user composition, and retention rate of new users next day Indicators, including newly added users, active users, number of activations, average single use time, average daily use time, and average daily activations. Supports viewing industry averages and industry trends for industry comparison; active user composition and new user retention the next day The rate supports the industry comparison of viewing industry averages.
Industry comparison description:
Industry comparison can help you compare with the industry, including industry averages and industry trends. The industry average can help you accurately obtain the average data of the current indicators in the industry, so as to obtain the overall situation of the industry. You can view the "same industry average" and the "same industry average" at the same time. Industry trends can help you accurately determine the industry change trends of current indicators, so as to get the industry market change trends, and you can view the "same industry trends" and "same industry trends" at the same time.

2.5 Analysis of the causes of APP crash

You can query the total number of errors that the APP recently crashed, affecting the number of users, and the crash rate.
You can clearly see where the app crashes, so that we can quickly locate the cause of the app crash.
As shown below:

Umeng Sharing: Use Umeng Sharing in APP

Social sharing is already a common feature in APP development. When we need to quickly integrate the sharing of multiple platforms, we usually choose some third-party sharing platforms. At this time, the first thing we think of should be Umeng Sharing. Umeng Sharing is really powerful. It helps us integrate multiple The sharing function of the mainstream platform also helped us integrate the SDK of the corresponding system we need, including iOS, Android, and ReactNative. We can download the corresponding SDK from the official website of SDK download address: 161a054be0b199 https://developer .umeng.com/sdk

As shown below:

After we download the corresponding SDK, the following is how to integrate the SDK into the project. You don’t need to worry about this step. The Umeng official has already prepared a very complete set of access process documents for us. If you don’t want to Looking at the documentation, is there a better access solution? Youmeng’s answer to you is: "Yes, absolutely." Youmeng officials also carefully prepared a set of very intimate gifts for us: video access documents, how about? Is it very diligent? The following is the document link when we access the Umeng sharing when we are working on the APP project:

iOS:https://developer.umeng.com/docs/128606/detail/193653
Android:https://developer.umeng.com/docs/128606/detail/193879

iOS access instructions:

Android access instructions:

When we integrate the Umeng sharing function into the APP, what should we do if there is a problem that cannot be solved? Don't worry, Umeng Sharing is already a very mature product. You can contact the technical staff through the Umeng official website or on the official website. Submit a work order online and ask for help from a technician. In addition, you can also solve the problem by querying the blog or forum that corresponds to the problem. The following is the relevant blog I queried when I encountered a problem in the integration of Umeng Sharing. I think it is good to share with you.

The solutions to common problems shared by the iOS integration Umeng are as follows:
https://www.jianshu.com/p/6daa587be545
https://www.jianshu.com/p/c092abbfa438
https://www.jianshu.com/p/a8ff46a7c966

The solutions to common problems shared by Android integration with Youmeng are as follows:
https://www.codeprj.com/blog/6162051.html
https://www.cnblogs.com/upwgh/p/6382085.html
https://cloud.tencent.com/developer/article/1677364

Umeng third-party login: Use Umeng third-party login in the APP

Most of the apps on the market can use the accounts of third-party platforms such as qq and WeChat to log in, which can improve the user experience and avoid the trouble of manually entering the account and password. Use a third-party login, access the third-party platform, get the user id of QQ and WeChat, take the third-party platform platform (QQ, WeChat) to return the unique identifier of these users uid or openid, and then use these unique identifiers to access your own APP If you have already registered in the background, log in directly to return user information. If there is no login, a new user will be created directly in the background and the user information will be returned. You can log in directly next time you log in with this account. This is the process of general APP third-party login.

When we need to use the third-party login function in the project, tell you the first choice Umeng third-party login, why? Because the integration is simple, the technology is mature, and the use is simple.

Umeng has helped us integrate the SDK of the corresponding system we need, including iOS, Android, ReactNative, we can download the corresponding SDK from Umeng’s official website as needed, Umeng SDK download address: https://developer.umeng.com /sdk

As shown in the figure below, we can download the required SDK as needed:

After we download the corresponding SDK, the following is how to integrate the SDK into the project. The Umeng official has prepared a very complete set of access process documents for us, and access to the document link when the third-party login of Umeng:

iOS:https://developer.umeng.com/docs/128606/detail/193656
Anddroid:https://developer.umeng.com/docs/128606/detail/193884

Instructions for accessing iOS third-party login documents:

Android third-party login document access instructions:

When we integrate the third-party login function of Umeng to the APP, what should we do if the problem cannot be solved? Don't worry, the third-party login of Umeng is already a very mature product. You can contact the technology through the official website of Umeng. Or ask technical staff to help solve it by submitting a work order online on the official website. In addition, you can also solve the problem by querying the blog or forum corresponding to the problem. The following is the relevant blog I queried when I encountered a problem with the third-party login of the integrated alliance. I think it is good to share with you.

The solutions to common problems of iOS integration with Umeng third-party login are as follows:

https://blog.csdn.net/baikan6930/article/details/101693102
https://www.jianshu.com/p/88edd01fbef1
https://www.freesion.com/article/2830594634/

The solutions to common problems of third-party login in Android integration with Youmeng are as follows:

https://blog.csdn.net/qq_30711091/article/details/81295552
https://www.jianshu.com/p/fbe9914e1967
https://www.cnblogs.com/changyiqiang/p/5871926.html

The above is the function of some products of Youmeng that we used in APP development. Youmeng’s product features are far more than these, so I won’t go into details here. Umeng’s development documentation is relatively complete, easy to use and understandable, customer service communication is also very good, and Umeng updates faster. All Umeng development documents and demos are open and have their own SDK, which is very convenient to use! Generally speaking, Youmeng's products are really good. Youmeng is very trustworthy in both use and product services! , I hope Youmeng will flourish in the future development and bring us more surprises! ! !

Author: Lei Xu
Front-end development engineer


性能优化实践者
11 声望220 粉丝