-
Notifications
You must be signed in to change notification settings - Fork 7
Progression Event
Martin Treacy-Schwartz edited this page Apr 6, 2017
·
7 revisions
Progression events are used to track attempts at completing some part of a game (level, area). A defined area follow a 3 tier hierarchy structure (could be world:stage:level) to indicate what part of the game the player is trying to complete.
When a player is starting a progression attempt a start event should be added.
When the player then finishes the attempt a fail or complete event should be added along with a score if needed.
Add a progression start event.
<!-- Traditional way -->
gameanalytics.GameAnalytics.addProgressionEvent(gameanalytics.EGAProgressionStatus.Start, "world01", "stage01", "level01");
<!-- Command queue -->
GameAnalytics("addProgressionEvent", "Start", "world01", "stage01", "level01");
It is not required to use all 3 if your game does not have them.
- progression01
- progression01 and progression02
- progression01 and progression02 and progression03
Field | Type | Description | Example |
---|---|---|---|
progressionStatus | enum | Status of added progression | gameanalytics.EGAProgressionStatus.Start gameanalytics.EGAProgressionStatus.Fail gameanalytics.EGAProgressionStatus.Complete |
progression01 | string | Required progression location. | World01 |
progression02 | string | Not required. Use if needed. | Stage01 |
progression03 | string | Not required. Use if needed. | Level01 |
score | integer | An optional score when a user completes or fails a progression attempt. Remember to set progression02 and/or progression03 if they are not used when using score parameter. | 1023 |
ℹ️
For more information on the progression event go here.