Astra Unity 2.6.6
Astra Unity Plugin
Astra.Tracking Class Reference

Contains functionality to track analytics More...

Static Public Member Functions

static void Track (string appVersion, string action, string subAction=null, string primaryId=null, string secondaryId=null, Int64 measure=0, Int64 subMeasure=0, Dictionary< string, string > data=null, string sessionId=null)
 Provide a tracking hook for analytics More...
 

Detailed Description

Contains functionality to track analytics

Member Function Documentation

◆ Track()

static void Astra.Tracking.Track ( string  appVersion,
string  action,
string  subAction = null,
string  primaryId = null,
string  secondaryId = null,
Int64  measure = 0,
Int64  subMeasure = 0,
Dictionary< string, string >  data = null,
string  sessionId = null 
)
inlinestatic

Provide a tracking hook for analytics

Parameters
appVersionApplication's custom version number (nothing to do with Astra)
actionPrimary action such as "CLICK_ASSET"
subActionSecondary action such as "CLICK_ASSET_FROM_CATEGORY_TOPS"
primaryIdPrimary id such as the asset's guid
secondaryIdA secondary id such as a variation perhaps a material variation guid
measureA value such as quantity, click count, time, etc
subMeasureAn extension for supplemental values off the primary measure
dataCustom data block with key/value pairs up to the application developer
sessionIdSession id for this session, to track events tied to one run of the app

The documentation for this class was generated from the following file: