Skip to content

Progression Event

Martin Treacy-Schwartz edited this page Mar 16, 2017 · 3 revisions

Progression events are used to track attempts at completing some part of a game (level, area). A defined area follows 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.

GameAnalytics.AddProgressionEvent(EGAProgressionStatus.Start, "world01", "stage01", "level01");

Add a progression complete event.

GameAnalytics.AddProgressionEventWithScore(EGAProgressionStatus.Complete, "world01", "stage01", "level01", 1000);

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 EGAProgressionStatus.Start EGAProgressionStatus.Fail EGAProgressionStatus.Complete
progression01 string Required progression location. World01
progression02 string Not required. Use if needed or else set to empty string. Stage01
progression03 string Not required. Use if needed or else set to empty string. Level01
score integer An optional score when a user completes or fails a progression attempt. 1023

 

ℹ️
For more information on the progression event go here.

 

NEXT  →