Analyze events and funnels

After you publish an event, you can analyze the event and see user behavior for this event. In addition, you can also see the user flow across several events, which is enabled by funnel analysis. To learn more about events and funnels, see Event management and analysis and Funnel management and analysis.

Events analysis

Prerequisites

Make sure you have defined and published an event. For more information, see define an event and publish an event.

Procedures

  1. Go to Analytics > Performance > My Analysis
  2. Choose the mini program that you want to perform data analysis on, then click Manage Event.

  image.png

  1. Define filter conditions for this report.

Take the "add a product to the shopping cart" event as an example. You need to configure the event analysis with the following parameters:

image.png

  • Event: The event to be analyzed. For this event, addCommodityToSoppingCart is chosen.
  • Metric: Metrics are the fields that were previously defined for the event. These are the dimensions that you can analyze for the event. For example, selecting addToShoppingCarNum and Sum will indicate the total number of products in the shopping cart. In addition, you can also choose PV and UV as metrics.
  • Filter (Optional): Data filter conditions. You can apply filter conditions to all the fields that you have previously defined for the event.
  • Date Range: The period when the event was triggered.
  • Time Granularity: Choose either daily or hourly.

After setting the event analysis configurations, click Apply. You can view the analysis results in the form of a graph or table accordingly.

image.pngimage.png

Analysis:

  • On March 9, 2021, the total number of products added to the shopping cart is 13;
  • On March 10, 2021, the total number of products added to the shopping cart is 26;
  • On March 11, 2021, the total number of products added to the shopping cart is 13.

Funnel analysis

To analyze a funnel, complete the following steps:

Prerequisites

Funnel analysis helps you analyze several steps of the user flow. Make sure you have defined and published at least two events. For more information, see define an event and publish an event.

Procedures

1. Create a funnel

  1. Go to Analytics > Performance > My Analysis;
  2. Choose the mini program that you want to perform data analysis on;
  3. Click Manage Funnel under the Manage Funnel tab;
  4. Click + New Funnel.

image.png

2. Enter the funnel name

image.png

3. Set funnel steps

Take "user shopping path conversion rate" funnel as an example:

image.png

  • Steps: Each step corresponds to an event. You can choose multiple events that are already defined. For this funnel example, select the addCommodityToShoppingCart, submitOrder, and payOrder steps.
  • Filter (Optional): Data filter conditions. You can apply filter conditions to all the fields that you have previously defined for the event. In step 3, set payStatus is equal to true, which filters orders that have been successfully paid.
copy
data: {
  orderList: [],
  totalItems:0,
  commodityAmount:0,
  orderAmount:0,
  totalDiscount:10,
  shopDiscount:3,
  freightAmount:9,
  orderId:"",
  payStatus:"false",
}

After confirming each step, click Save to save the current configuration.

4. Analyze data

After setting funnel steps, go back to the funnel management page to set funnel analysis conditions and perform customized data analysis.

image.png

  • Funnel: Select the userShoppingPathConversionRate that you have already created.
  • Date Range: Select the data range to calculate overall funnel conversion. For this funnel example, March 5, 2021 - March 11, 2021 is selected as the range.

After setting funnel analysis conditions, click Apply. You can view the analysis results in the form of a graph or table. image.pngimage.png

Analysis:

  • From March 5, 2021 to March 11, 2021, a total of 52 products were added to the shopping cart, of which 32 of which were submitted as orders, and 28 of the submitted orders were successfully paid for.
  • The conversion rates among the three events are 61.54% and 87.50% respectively.

Based on the funnel analysis, you can start your investigations on user behavior.