# Indicator management

# Event creation

# Overview of events

  1. Events are the smallest unit that makes up an indicator, and developers can implement events-based operations to define an indicator.

  2. Developers can define the English and Chinese name of the event, the system will generate the corresponding event reporting code, developers can add this code to the Weixin Mini Program code need to monitor the location.Tests can also be used to verify whether the reported code is valid.

  • Event data is reported through the base library interface wx.reportEvent .

General events provided by the system by default:

  • Weixin Mini Program access.When the events are combined, the sum indicates the time spent on the visit.

  • Weixin Mini Program Stay.When the events are combined, the "total" means the length of stay.

  • Weixin Mini Program Share information.When the events are combined, the "total" means the number of shares.

  • Weixin Mini Program Payment is made.When the events are combined, the "sum" means the amount paid.

  • Weixin Mini Program Page switch.When events are combined, the sum indicates page switching time.

# New events

Enter "We Analysis" and click on the Event Management page of "](https://wedata.weixin.qq.com/mp/event/event_manager/event_config) " to view the list of events created by users;Support for " New Event ," process can refer to documentation

  • We analysis events support character and integer attributes; However, for experimental events only integer properties are supported, and character properties are hidden.

  • If you want to report a floating point, we recommend turning it into an integer property first

# Indicator creation

# Indicators Overview

Indicators are the basic unit for evaluating the effects of experiments.

The indicators are divided into integer indicators, proportional indicators and retention indicators:

  • Integer type index: The index calculated by simple counting, such as Weixin Mini Program access to PV, Mini Program access to UV and other indicators.

  • Proportion index: Through simple counting index compound calculation, mainly proportion index, such as exposure click rate, purchase conversion rate.

  • Retention Indicator: User retention.

Go to the "Experiment Metrics" page of the "We Analysis" experimental tool to see a list of user-created metrics:

The list of indicators can be divided into general indicators provided by the system by default and indicators created by the user's customization.

Common metrics provided by the system by default:

  • Weixin Mini Program Number of accesses: The total number of times the Mini Program is opened. The process by which a user opens a Mini Program to actively close or timeout the program is counted as one.

  • Weixin Mini Program Number of visitors: The total number of users who visit the Mini Program, the same user visits not repeated.

  • Weixin Mini Program Number of visits per person: The average number of open Mini Programs per user, that is, the total number of open Mini Programs / the total number of users accessing Mini Programs.

  • Weixin Mini Program Average length of stay per user: The total length of stay per user (in seconds) on the Mini Programs page, i.e. total length of stay / number of visitors.

  • Weixin Mini Program Next Day Active Retention Rate: The percentage of users who visit the Mini Program and who visit it again on the second day.

  • Weixin Mini Program Payment amount: The sum of the non-confidential payment amount of the user accessing the Mini Program.

  • Weixin Mini Program The number of payments: The number of successful non-secret payments within the Mini Program, the same user does not pay repeatedly.

  • Weixin Mini Program Number of payments: Number of non-secure payments made within the app.

  • Weixin Mini Program The average payment amount: the average payment amount of a user's non-confidential payment in a Mini Program, that is, the amount of Mini Program payment / the number of Mini Program payments.

  • Weixin Mini Program Number of payments per capita: Temporarily not supported.

  • Weixin Mini Program Number of shares: The total number of times Mini Programs are shared.

  • Weixin Mini Program The number of people sharing: The total number of people sharing Mini Program pages, the same user does not share repeatedly.

  • Weixin Mini Program Number of shares per person: The average number of times a Mini Program visits a user to share a Mini Program page, that is, the total number of times a Mini Program page is shared / the number of Mini Program visitors.

  • Weixin Mini Program Average loading time: The average loading time for a single opening of a Mini Program (total loading time from the user clicking on the Mini Program to the first screen rendering complete), i.e. total Mini Program opening time / number of Mini Program openings.

  • Weixin Mini Program Average page switching time: The average load time of a single visit to the Mini Program page switching process, that is, the total time of the Mini Program page switching / number of page switching.

# New integer-type indicators

Click Create an indicator. Select an integer type for the indicator

  • Data type

    • Sum: PV type, the default is to sum the reported value, if the value is empty, the default value is 1, where the value must be an integer.

    • Number of people: UV type, defaults to the user id of the reported event to do unique deduplication.

    • Number: CNT type, count the number of incidents reported.

  • Combination of events: Integer indicators can only select a single event, General indicators do not support combination of integer indicators .

# New proportional indicators

Click Create an indicator. Select a scale type for the indicator

  • Data type

    • Sum / number: PV / UV type, mainly calculated per capita indicators.

    • Sum / Sum: PV / PV type, mainly calculated proportional type indicators.

    • Sum / Times: PV / CNT type, mainly calculated sub-mean index.

    • Number / number: CNT / UV type, mainly calculated per capita number of indicators

  • Event combination: corresponding to the proportion type, the sum corresponds to the sum of the value of the event, the number of people corresponds to the unique user id of the event, the number of times corresponding to the number of events reported.

# New Retention Indicators

Click Create an indicator, and the indicator type select Retention Type

  • Data type

    • Next Day Active Retention: The percentage of users accessing Weixin Mini Program who report the event again on the second day.
  • Event combination: Recurring metrics can only select a single event.