Skip to content

Metric

Overview

Metric is a feature that lets you save and reuse the settings of frequently used metrics in the Create > Chart menu.

If you define the metrics that can be used in common across the company in Metric, you can display metrics from the same source with the same figures. When the metric criteria change, you only need to edit one metric, and the change is automatically reflected in all charts and dashboards that use it.


What can you do?

Business/marketing users

  • If you define common team KPIs such as DAU, MAU, and ARPU as metrics, all members can share data based on the same criteria.
  • If you classify metrics by purpose with metric categories, you can systematically manage the analysis assets of the whole team.

Data analysts

  • If you save complex derived metrics such as ARPPU and PU RATE(%) as a metric once, you can reuse them right away without the hassle of setting them up again for each chart.
  • When you change a metric definition, the change is automatically reflected in all charts that use the metric, so you can maintain consistency.

Quick start

If you are creating a metric for the first time, follow the steps below to create your first metric.

  1. Click the Data > Metric menu in the left sidebar.
  2. Click the Register button in the upper-right corner.
  3. Enter the metric title and category.
  4. In the metric area, select the event, value, and operation to analyze.
  5. Click the Save button.

Note

For detailed features such as metric registration, display and hide settings, and metric categories, see Full features.


Full features

Key concepts

Concept Description
Metric A metric definition calculated based on events (for example, AU = COUNT DISTINCT userId of the app_login event)
Built-in Metric A metric that the Analytics system provides by default
└ Pre-aggregated Metric A built-in metric that Hive pre-aggregates and provides (cumulative metrics and estimated proceeds)
Custom Metric A custom metric that Analytics users define themselves
Metric Category A group that classifies metrics by type (for example, users, revenue, sessions, and app usage analysis)

Built-in metrics

Metrics that the Analytics system provides by default. You can copy and modify them to use them as new metrics.

To use the metrics, you must send each event and attribute. For events, see Send event logs (Unity, JavaScript), and for attributes, see Send event attributes.

Category Metric Description Formula (event name · aggregation · attribute · filter)
User AU Number of users who logged in to the app, with duplicates removed app_login · COUNT DISTINCT · userId
AU(deviceId) Number of deviceIds that logged in to the app, with duplicates removed app_login · COUNT DISTINCT · deviceId
NU Number of users who logged in to the app for the first time, with duplicates removed app_login · COUNT DISTINCT · userId · newUser = 'Y'
NU(deviceId) Number of deviceIds that logged in to the app for the first time, with duplicates removed app_login · COUNT DISTINCT · deviceId · newUser = 'Y'
Login Hit Total number of app logins app_login · COUNT · userId
Concurrent Users Number of users, with duplicates removed, included in the events that the Hive Axyl SDK sends at 2-minute intervals while the app is running app_session_maintain · COUNT DISTINCT · userId
Terms Agreements Number of deviceIds, with duplicates removed, for cases where the app is launched for the first time after download terms_agree · COUNT DISTINCT · deviceId
Revenue In-app Revenue Sum of the payment amounts made in the in-app store purchase · SUM · price
Purchase Quantity Total quantity of users' in-app store purchases purchase · SUM · quantity
Revenue Count Number of receipts, with duplicates removed, issued when in-app store purchase events occur purchase · COUNT DISTINCT · transactionId
PU Number of users who paid in the in-app store, with duplicates removed purchase · COUNT DISTINCT · userId
ARPU In-app revenue per user ( purchase · SUM · price ) / ( app_login · COUNT DISTINCT · userId )
ARPU(deviceId) In-app revenue per deviceId ( purchase · SUM · price ) / ( app_login · COUNT DISTINCT · deviceId )
ARPPU Average in-app revenue per paying user ( purchase · SUM · price ) / ( purchase · COUNT DISTINCT · userId )
PU RATE(%) Ratio (%) of in-app store paying users to users who logged in to the app ( (purchase · COUNT DISTINCT · userId) * 100 ) / ( app_login · COUNT DISTINCT · userId )

Pre-aggregated metrics

Pre-aggregated metrics are metrics that Hive aggregates in advance and provides to all customers in common. Because they read pre-aggregated values instead of recalculating raw events for each query, even compute-heavy metrics such as cumulative revenue can be queried quickly.

You can select them from the metric list when you create a chart, in the same way as other built-in metrics.

Metric Description Unit Breakdown
Cumulative Users Number of users who logged in at least once from the first day of data collection to the query date Users App, country, market
Cumulative PU Number of users who made a payment at least once from the first day of data collection to the query date Users App, country, market, server
Cumulative Revenue Total revenue from the first day of data collection to the query date Amount App, country, market, server
Cumulative Terms Agreement Devices Number of devices that agreed to the terms from the first day of data collection to the query date Devices App, country, market
Estimated Proceeds Revenue for the day, excluding market fees and country-specific VAT Amount (USD) App, country, market
  • Cumulative Users / Cumulative PU: The number of users accumulated up to the query date. A user is counted only once, even if they log in or make payments multiple times.
  • Cumulative Revenue: The sum of all revenue up to the query date.
  • Cumulative Terms Agreement Devices: The number of devices on which the app was launched for the first time after download and the terms were agreed to. Because terms agreement happens before login, it is counted per device, not per user. Keep the different unit in mind when you compare it with Cumulative Users.
  • Estimated Proceeds: A metric that lets you estimate the proceeds you will actually receive. Because fees and taxes are excluded, it is normal for this value to be lower than revenue for the same period. Only Google Play and App Store revenue is included.
Note

Estimated proceeds are not adjusted based on market settlement statements, so they may differ from the actual settlement amount from the market. Use this metric to track trends, not to verify settlements.

For more information about market estimated proceeds, see the blog.

Warning
  • Do not add up values by breakdown to get a total. User- and device-based metrics (Cumulative Users, Cumulative PU, Cumulative Terms Agreement Devices) are aggregated separately for each country, market, and server. For example, if a user logged in from two countries, the user is counted once in each country, so the sum of the country values is larger than the total. This is intended so that users who move between countries or servers are not missed, and it is not an error. If you need the total, query without selecting a breakdown.
  • Metrics are aggregated per app, so add appId or appIdGroup to the dimension value when you query. A user who uses multiple apps is counted in each app. To view sales for all apps, query without adding the appId or appIdGroup dimension.

Pre-aggregated metrics are common metrics calculated by the Hive aggregation pipeline, so their definition, such as the aggregation method, cannot be edited. Only general information such as the metric description can be edited.

Note

The following features are limited when you use pre-aggregated metrics in a chart.

  • Period: Because data is aggregated daily, no data is displayed if you query by hour or minute.
  • Dimension value: You can select only the items listed in the Breakdown column of the table above.
  • Metric settings: The following settings in Settings > Metric Settings are not applied to pre-aggregated metrics: Metric excluded user management, Metric filter management, and the metric start date in Time settings. To view data without internal users registered as metric excluded users, apply a segment filter that excludes those users in the chart filter.

Aggregation criteria and update schedule

Item Description
Day boundary Owner timezone
Target data Previous day's data (00:00 to 24:00)
Update time Aggregation starts at 03:00 (owner timezone) every day and completes before 05:00
Cumulative start date The first day data was collected
Time unit Aggregated daily (no data is displayed if you select an hourly or minute time unit)

View the metric list

View all metrics registered in Analytics in a list. metric_01.png

Displayed item Description
Metric Type Distinguishes built-in metrics from custom metrics
Category The category the metric belongs to
Metric The metric name (click it to go to the details page)
Created At The date and time the metric was created
Creator The user who created the metric
Last Modified At The date and time the metric was last modified
Usage Status Toggle that sets whether the metric is displayed in charts

Create a metric

metric_11.png

Basic information

Item Required Description
Metric Title Required The name displayed on analysis screens (up to 30 characters)
Metric Description Optional A description of the calculation method and purpose of the metric (up to 300 characters)
Category Required Select an existing metric category created in the company, or create a new one with direct input
Result Display Options Optional Set the decimal places / percentage display / change display
Metric Required Build the formula by selecting an event + selecting a value + selecting an operation. If needed, select a rollup or date. You can combine multiple items with the add button to write a compound formula

Metric settings

A metric is defined as a combination of an event, an attribute value, and an attribute aggregation method.

Aggregation method Description Main use
COUNT Total number of event occurrences Event occurrence frequency
COUNT DISTINCT Number of unique users or values, excluding duplicates Number of accessing users, number of paying users
SUM Sum of the attribute values Total revenue, total play time
AVG Average of the attribute values Average payment amount, average play time
MIN Minimum of the attribute values Lowest payment amount
MAX Maximum of the attribute values Highest level reached
MAX BY Most recent (last) attribute value Last level

Metric definition examples

Metric title Formula (event · aggregation · attribute · filter)
AU app_login · COUNT DISTINCT · userId
In-app Revenue purchase · SUM · price
Revenue Count purchase · COUNT DISTINCT · transactionId
PU RATE(%) ( (purchase · COUNT DISTINCT · userId) * 100 ) / ( app_login · COUNT DISTINCT · userId )

You can also define a compound formula that combines the aggregation results of two events, such as PU RATE(%), as a single metric.

Tip

A metric defines only "what to count," and the chart decides "in what unit to view it." For example, if you want to check the DAU/WAU/MAU metrics, you only need to define a single AU. After you define one AU metric, changing the period unit in the chart to daily/weekly/monthly automatically makes it DAU, WAU, and MAU.

Rollup (secondary aggregation)

A rollup first calculates the aggregation results at a fixed time interval and then aggregates them again by the period unit of the chart (daily/weekly/monthly, and so on). Select the rollup method, the time unit, and the interval in Rollup to the right of the aggregation method. Rollup is optional.

metric_10.png

Rollup method Description
MAX Largest value among the first aggregation results by interval
MIN Smallest value among the first aggregation results by interval
AVG Average of the first aggregation results by interval
LAST Latest value among the first aggregation results by interval
Example

If you define a metric as app_session_maintain · Distinct count · userId with the rollup MAX · 2 min, the metric calculates the maximum of the concurrent users counted every 2 minutes. If you view this metric in a chart with the period unit set to Daily, you can check the daily peak concurrent users.

Note

In charts, you can set a rollup only when you select an event as a measure value. To apply a rollup to a metric, define the metric with a rollup on this screen in advance.

Date selection

You can specify the dates that a metric aggregates, separately from the period of the chart. Click the calendar icon to the right of the attribute, set the start date and end date to Fixed Date or Relative Date respectively, and click Apply. Date selection is optional.

metric_12.png

Type Description
Fixed Date Fixed to the selected dates. The value of the selected dates is always displayed regardless of the period on the chart's [Settings] tab.
Relative Date Specifies how many days before the date viewed in the chart. For each date viewed in the chart, the value of the date that many days earlier is displayed.
Example

If you define a metric as app_login · COUNT DISTINCT · userId and view it in a chart daily from October 1 to October 7, the result depends on the date selection as follows.

  • Fixed Date, September 1: Only the value of September 1 is displayed, regardless of the period viewed.
  • Relative Date, 1 day before: The value of the day before each date viewed, that is, the values from September 30 to October 6, is displayed.
Warning

A metric with a Fixed Date does not follow the period setting of the chart. To view trends over a period, use a metric without date selection or with a relative date.


Manage metric categories

Create and manage categories for classifying metrics by purpose. If the category you want does not exist, click 'Direct Input' and type it with the keyboard. metric_03.png

Category examples

  • User metrics (DAU, MAU, WAU)
  • Revenue metrics (ARPU, ARPPU, in-app revenue)
  • Session metrics (session count, play time, average session count)
  • App usage metrics (content play count, amount of currency acquired, amount of currency consumed)

Control metric display

metric_05.png

  • If the metric type is not 'Platform', you can set whether each metric is displayed with the Usage Status toggle in the list.
  • If you set it to OFF, the metric is hidden in the measure value selection list of Create > Chart.

Copy and delete metrics

  • Copy: Quickly create a similar metric based on an existing metric
  • Delete: Delete a metric that is no longer used
Warning

If any charts or dashboards use a deleted metric, the data of that content may not be displayed.


Use metrics in charts

metric_06.png

  1. Go to the [Data] tab of the Create > Chart creation screen.
  2. Click the + button on the right of the measure value area.
  3. Search for and select the metric you created.

Notes & tips

  • Before you delete a metric, first check the charts and dashboards that use it.
  • If you change a metric formula, the data of all charts that use the metric changes immediately. Edit important metrics carefully.
  • For common metrics used by the whole team, write a detailed description to clearly share the definition and calculation method.
  • To avoid creating duplicate metrics with similar names, search for existing metrics before you create one.

  • Event — Define the events to use in metric formulas
  • Chart — Create charts that use metrics as measures
  • Dashboard — View metric-based charts together on a dashboard