void Start() { UM_AnalyticsService.Client.Init(); //Unity settings via code example UM_Settings.Instance.Analytics.UnityClient.LimitUserTracking = true; UM_Settings.Instance.Analytics.UnityClient.DeviceStatsEnabled = true; //Firebase settings via code UM_Settings.Instance.Analytics.FirebaseClient.MinimumSessionDuration = 10; UM_Settings.Instance.Analytics.FirebaseClient.SessionTimeoutDuration = 30; SA_FB_Analytics.LogAppEvent("my event"); }
public void Event(string eventName) { SA_FB_Analytics.LogAppEvent(eventName); }
public void Event(string eventName, IDictionary <string, object> data) { var fbData = (Dictionary <string, object>)data; SA_FB_Analytics.LogAppEvent(eventName, null, fbData); }