Manage Events
An event is a model that is used to collect data and analyze user behavior. Based on the data analysis, you can visualize the performance of mini programs, which serves as feedback that can guide you on continuous improvement of your products and mini programs. For example, by adding events for a shopping mini program, you can find out which products are the most popular for users and you can develop more similar products accordingly.
Procedures
To use events for analytics, complete the following steps:
- Specify the data requirements.
- Define events based on the data requirements.
- Test and publish events.
- Analyze the collected data.
Features
With the Manage Events functionality, you can benefit from the following features:
- View the event and field list
The data of an event consist of default fields and customized fields. On the Manage Events page, you can view all events and fields. The data of default fields are collected from systems on user devices, such as location and device type. The data of customized fields are collected from user actions, such as the act of clicking a product details page.
- Define an event
To define an event, you need to complete the following things:
- Define the event name.
- Choose the data reporting method, which is either Data Reporting by Pre-Defined APIs or Data Reporting by Self-Defined Actions.
- Configure the actions or fields depending on the data reporting method.
- Publish an event
After testing and verification, you can publish the event.
- Modify an event
You can modify the event configuration regardless of whether the event is published or not. If a published event is modified, you must publish the event again so that all the changes comes to be effective.
- Delete an event
You can delete the event.
Next steps
Data Reporting by Pre-Defined APIs
Data Reporting by Self-Defined Actions