Create a report

Now that you're familiar with the basics of Analytics in Leanplum, it's time to create your first report.

  1. Select the report from the left sidebar.
  2. Choose the metric from the dropdown menu above the chart, or click the metric tile below the chart (For advances use cases, you can Create your own Custom metric).
  3. Set the date range by clicking the dropdown arrow in the top-right corner above the chart. You can choose a pre-defined range from the menu or click custom to enter a start and end date.
  4. (Optional) Apply a filter.
  5. (Optional) Add a Group or cohort.

Examples

Average session length for iOS users

Let's create a report that shows the average session length on iOS devices over the past week.

  1. Select the User Activity report.
  2. Choose Average session length as the metric.
  3. For date range, choose the preset Last week.
  4. Add a filter: Technology > OS Name and enter iOS.
  5. Click refresh.

Add to Cart occurrences for iOS users

Let's create a report that shows the number of add-to-cart occurrences on iOS devices over the past week. In Leanplum, we will use the occurrences of an Event (specifically our custom "Add to Cart" event) with a filter for users where OS Name is "iOS."

  1. Select the User Activity report.
  2. Click the + metric tile to open the Choose a metric window.
  3. Under Events in the left pane, select the appropriate event (Add to Cart is our custom event for this example).
  4. In the middle and right panes, choose Occurrences > Total Occurrences.
  5. Add a filter: Technology > OS Name and enter iOS as the filter value.
  6. Click refresh.

The controls above the chart should look like this:


Was this article helpful?
Have more questions? Submit a request