Leanplum's user guides and developer documentation.

Leanplum Documentation

Leanplum's user guides, SDK setup, API docs, and more resources are here to help you get the most out of A/B testing, Campaigns, Messaging, and Analytics.

Analytics FAQ

More information about Analytics calculations, definitions, and more

What are DAU, WAU, and MAU?

Daily Active Users (DAU): A daily active user is a user who was live in the app on the given day(s) selected for at least one session. If multiple days are selected, the user could count on one or multiple days, charted depending on when they were live in the app.

Weekly Active Users (WAU): A weekly active user is a user who was live in the app on the given day selected within the past seven days. Each day rendered in the chart is displaying the unique users with a session in the past aggregated seven days. When multiple days are selected, the chart will display a rolling seven-day view for each day.

Monthly Active Users (MAU): A monthly active user is a user who was live in the app on the given day selected within the past 30 days. Each day rendered in the chart is displaying the unique users with a session in the past aggregated 30 days. When multiple days are selected, the chart will display a rolling 30-day view for each day.

How are sessions defined?

A session starts when a unique user opens the app and initializes Leanplum (calling Leanplum.start). The session end is defined by 30 minutes or more of inactivity after the app is closed or backgrounded. If the app remains open, the session will only end after two hours of inactivity.

For example, If the user closes the app and returns 10 minutes later, it will count as one session. If the user closes the app and returns 35 minutes later, it will count as two sessions. If the app remains open but inactive for two or more hours, the session will close.

Sessions are the basis of how many normalized metrics (e.g., purchases per day, events per user, etc.) are calculated.

How are uninstalls tracked?

Leanplum runs a job every 24 hours to check if each user’s push token is still valid. Based on the response we get back from Apple or Google, we can determine whether the user still has the app installed or if they have deleted the app from their phone.

We count an Uninstall only if the response indicates that the user's push token is Unregistered (which is caused by a user uninstalling the app).

If we get a failure response, we will discard the user's now expired push token in compliance with Apple's and Google's policies. In this case, or if the user has disabled notifications or the token is invalid for any other reason, Leanplum will not track this as an Uninstall.

Note: You must enable Uninstall tracking for this feature to work.

How do I view string/text parameters?

To visualize your parameters, you must first select the event that uses that parameter:

  1. Set the metric to the Event you'd like to analyze.
  2. Apply one of these options (Filter, Group by, Cohort) using the appropriate dropdown menu above the chart.
  3. In the dropdown menu, select Selected event > Parameter.
  4. If building a filter, enter the parameter value you'd like to view.

Where can I find all available metrics?

You can find all the metrics available to you in two places in the Analytics section:

  1. Using the Metric Selector dropdown menu above the graph.
  2. Clicking the + metric tile below the graph.

Any metric that you select in this section will now appear on the Analytics page until you decide to remove it. At any time, you can delete a metric tile by dragging the metric tile down to the trash icon at the bottom of the page. See Metric calculation glossary for a list of metrics.

Where are Analytics reports for finished campaigns and tests?

When campaigns and tests are finished, their reports appear in the Analytics dashboard for 30 days. To view reports for campaigns over 30 days old, navigate to the campaign itself then go to the Results tab of the composer. Use the buttons in the bottom corner to view the full campaign and test reports in Analytics.

Campaign overview > Campaign > Results tab

Updated about a year ago


Analytics FAQ


More information about Analytics calculations, definitions, and more

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.