Flex Analytics

The Flex Analytics feature allows you to define custom metrics.

You can define metrics based on the data generated by your application with the flexibility to define facts and dimensions freely.

Kii Cloud supports analyzing two types of data: app data and event data.

Analyzing app data

When you analyze app data, you analyze values in KiiObjects for statistical purposes. Kii Cloud will extract specified field values from KiiObjects and store them for analysis.

The field values will be extracted and visualized every 24 hours according to your rules. All KiiObjects in a specified bucket will be processed when the field values are extracted. If a KiiObject is added, updated, or deleted in the bucket, a change in the target field value will be reflected in the graph when it is extracted. The bucket data will stay the same and it will be processed again when the field values are extracted next time.

You can specify only one bucket per one analysis rule. To analyze data stored in multiple buckets, you need to reorganize the data in one bucket.

In the figure above, the values of the Score field in KiiObjects are aggregated for app data analysis for four days. Note that even the unchanged values (in gray cells) are aggregated every day.

Purpose

Analyze app data to evaluate certain field values on a continuing basis.

For example, suppose that you want to analyze the transition of your game app's high score. The current high score will be valid even if it is not updated on one day (e.g. no one plays your game). In this case, analyzing app data is a good choice.

Analyzing event data

When you analyze event data, you analyze event data registered only for statistical purposes. Here, the event data refer to the data sent by your mobiel app for the analytics purposes, besides KiiObject data in the application.

For example, you can implement your mobile app so as to send the users' age and gender when they log in or when they press a specific button. This will allow you to analyze how your mobile app is being used per age and gender group.

The field values will be extracted and visualized every 24 hours according to your rules. Once the values are extracted, the event data will be discarded. If no event data is sent one day, Kii Cloud has no data to analyze on that day.

In the figure above, the values of the Score field in KiiObjects are aggregated for event data analysis for four days. Note that all event data to be aggregated are sent from the mobile app every day even though the graph that is eventually displayed is the same as that from the app data analysis.

Purpose

Analyze event data if the target values are valid only for one time.

For example, suppose that you want to analyze changes in the daily score and the number of play times of your game app. These values are only valid for each play, so using the event data is preferable for tracking the changes.

Another example might be analyzing the players' levels and the play durations when they reach a certain checkpoint (e.g. beating a boss). You can use event data for analyzing these values to adjust the levels of difficulty.