sendAppScreenHit() public method

public sendAppScreenHit ( string screenName ) : void
screenName string
return void
Beispiel #1
0
 void OnLevelWasLoaded(int level)
 {
     if (!sceneName.Equals(Application.loadedLevelName))
     {
         //Debug.Log("AnalyticsTesting: app screen event - switch to scene " + Application.loadedLevelName);
         sceneName = Application.loadedLevelName;
         GoogleUniversalAnalytics gua = GoogleUniversalAnalytics.Instance;
         gua.sendAppScreenHit(newLevelAnalyticsEventPrefix + sceneName);
     }
 }
Beispiel #2
0
 // This method is here for backward compatibility (legacy example).
 // See the sendSystemInfoEvent() method below for an example of
 // a slightly customized event method. See commented-out
 // exampleAnalyticsTestHits() below for more analytics ideas.
 public static void changeScreen(string newScreenName)
 {
     gua.sendAppScreenHit(newScreenName);
 }