uniapp project statistics 2.0

 Need to purchase unicloud service

uni-admin development documentation

official website

 Experience system: https://hellouniadmin.dcloud.net.cn/

Note: uni statistics are built in uni-admin , and the data of the experience system will be reset periodically.

feature of product

No need to develop,  tick and release in , deploy uni-admin in manifestuniCloud  service space , and you can view the report.uni统计

At the same time, developers can also customize management data and display reports.

1. Full end

Full terminal traffic statistics, one report can view the operation data of all terminals (iOS, Android, Web and various applets).

There is no need to connect different SDKs at each end, and there is no need to view data in different reports. At present, the only solution known in the market is to view the business panorama in one report.

2. Open source, free, free customization

All codes are open source. What data to collect can be customized; batch running frequency can be customized (real-time statistics can be done during activities); display reports can be customized.

3. Private deployment, data self-control

Using traditional saas statistical products, all data are reported to statistical service vendors.

uni统计2.0Based on uniCloudthe implementation, cloud functions and statistical data are all hosted in the developer's own service space (Alibaba Cloud or Tencent Cloud optional), and developers have complete control over their own statistical data.

4. Effective error analysis

Traditional app statistics platforms do not have js error statistics. Developers cannot know on which devices their js code will report errors.

The error information collected by uni is more comprehensive, including js front-end errors and app native layer crashes.

Because uni-app is compiled and run, the traditional web and small program statistics platform, its js error cannot be traced back to the source code of uni-app before compilation, and the error is incomprehensible.

uni statistics support sourcemap, which can intuitively understand which line of code is wrong. See details

5. Abundant default functions

  • Device Statistics
  • Registered user statistics (based on uni-id )
  • page statistics
  • New, active, retention, bounce rate analysis
  • Channel Analysis: Auxiliary Channel Promotion
  • Error statistics and reporting: Auxiliary product quality improvement
  • Native App crash statistics, view crash rate by version
  • Customized dotted, open source and scalable reports

6. More suitable for uni-app and uniCloud

uni statistics goes deep into the bottom layer of uni-app and uniCloud framework, and provides many functions that other statistical platforms cannot provide:

  • uni-app full-end recognition, no need to connect to different sdk, no need to switch between different reports and accumulate data by yourself
  • Automatically identify uni-app routes and automatically collect page titles (based on pages.json's navigationBar or uni-nav-bar components)
  • Automatically capture js errors and report app-side native crash logs
  • Compatible with uni-app channel package packaging system, automatically identify channel package
  • Based on the uni-id account system, automatically issue new, active, and retained reports for registered users (not devices)
  • Compatible with uniCloud  opendb specification , statistics of various data from the server side

7. Open Ecology

The open-source and uni -admin -based plug-in specification of uni statistics provides a plug-in mechanism, and more plug-in authors will provide a variety of rich statistical plug-ins (such as e-commerce statistics, content statistics, etc.). see plugin market

DCloud attaches great importance to the growth of data-driven developer business. Recently, it has cooperated with professional big data service providers Sensors and Aladdin to improve the product modules and ecological construction of Uni Statistics 2.0. If you have any needs for data analysis, you are welcome to fill out the demand survey questionnaire . We will complete iterative updates based on your valuable suggestions and on the basis of the original Uni statistical products.

Environmental requirements

  • uni statistics 2.0 only supports uni-app on the client side, non-uni-app cannot be used.
  • Although uni Statistics 2.0 relies on uniCloud in the cloud, it does not require developers to develop all applications based on uniCloud. The main business of the application can be connected to a traditional server, and uniCloud can be used for statistical management and report display.

#Using tutorial

uni统计2.0Consists of two modules:

  • Front-end acquisition module: built in the framework and configured uni-appin the business App ;manifest.json
  • Cloud statistics module: built in uni-adminthe project template, and reuse the same uniCloud service space as the business App;

# Front-end acquisition configuration

In the business app project  manifest.json , select  uni统计配置 the item, select Open according to the requirements  uni统计 , and check  2.0 to open the new version of statistics.

 For more details, please refer to the official website document (there is a link at the top of the article)

uni has many open source libraries for everyone to learn

Guess you like

Origin blog.csdn.net/m0_57033755/article/details/130223287