Skip to content

Using Custom Dimensions

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

GameAnalytics support the use of 3 custom dimensions.

  • Custom01
  • Custom02
  • Custom03

During the game it is possible to set the active value for each custom dimension dynamically. Once a dimension is set it will be persisted across sessions/game-start and automatically be added to these event categories.

  • Business
  • Resource
  • Progression

Setting each custom dimension. To reset a set custom dimension simply just set it to empty string or null.

GameAnalytics.SetCustomDimension01("ninja");
GameAnalytics.SetCustomDimension02("dolphin");
GameAnalytics.SetCustomDimension03("horde");

GameAnalytics.SetCustomDimension03(""); // reset custom dimension 3
Field Type Description Example
customDimension string One of the available dimension values set in the configuration phase. Will persist cross session. Set to empty string or null to reset. ninja

 

ℹ️
Read more about custom dimensions here.

 

NEXT  →