-
Notifications
You must be signed in to change notification settings - Fork 11
Tracker
Ángel Serrano edited this page Oct 26, 2015
·
20 revisions
You can integrate the tracker in your code to start generating traces from your game. These traces will be normally sent to an analysis server, however, you can also configure the tracker to store them locally for other purposes (debugging, manual analysis...).
To make the tracker work you need to do two things: configure the storage and start sending some traces.
This storage sends the traces to an analysis server. It needs the following configuration parameters:
- Host: where the server is at
- Tracking code: an unique tracking code identifying the game. This code is created in the frontend.
This storage writes the traces in a local file. It needs the path where the traces should be stored.
Once storage is configured, you can start sending traces. These are the types of traces you can send:
-
screen(String screenId)
: The player has entered in a new screen of the game, uniquely identified byscreenId
. Examples ofscreenId
:menu
,credits
,game
... -
choice(String choiceId, String optionId)
: The player has choose an option between several available. You can use this to track selections in menus or in option dialogues. -
zone(String zoneId)
: The player has entered in a "physical" area inside the virtual word of the game, uniquely identified byzoneId
. Examples ofzoneId
:level-1
,boss-fight-1
,potions-store
... -
var(String var, Object newValue)
: A significant variable in the game, uniquely identified byvar
, has changed its value tonewValue
. This could be used, for instance, to log that the variablescore
was set to1000
.
The tracker is implemented in the following technologies:
- Unity GitHub Repo
- Libgdx (Java) GitHub Repo
- Home
- Game developers Guide
- Analytics developers Guide
- Analytics users Guide
- System Overview
- Tracker
- A2
- Analytics Real-time
- Analytics Front-end
- Analytics Back-end
- Game Storage Server
- Upgrading RAGE Analytics
- Wiki Style Guide