About Events - GameAnalytics/GA-SDK-JAVASCRIPT GitHub Wiki

GameAnalytics feature the following event types.

Event Description
Business In-App Purchases supporting receipt validation on GA servers.
Resource Managing the flow of virtual currencies - like gems or lives.
Progression Level attempts with Start, Fail & Complete event.
Error Submit exception stack traces or custom error messages.
Design Submit custom event id's. Useful for tracking metrics specifically needed for your game.

 

:warning:
Event id's are strings separated by colons defining an event hierarchy - like "kill:robot:large".
It is important to not generate an excessive amount of unique nodes possible in the event hierarchy tree.

A bad implementation example.
[level_name]:[weapon_used]:[damage_done]

level_name could be 100 values, weapon_used could be 300 values and damage_done could be 1-5000 perhaps. This will generate an event hierarchy with:

100 * 300 * 5000 = 150M possible nodes.

This is far too many. Also the damage should be put as a value and not in the event string. The processing will perhaps be blocked for a game doing this and cause other problems when browsing our tool.

The maximum amount of unique nodes generated should be around 10k.

 

:information_source:
Please read our event guide here. You will get the most benefit of GameAnalytics when understanding what and how to track.

 

NEXT  →