/// <summary> /// Sends in-app events to the AppsFlyer analytics server /// </summary> /// <param name="trackEvent">AppsFlyerTrackEvent data to track</param> public void TrackEvent (AppsFlyerTrackEvent trackEvent) { SystemLogger.Log (SystemLogger.Module.PLATFORM, "AppsFlyer TrackEvent"); if (trackEvent == null) { SystemLogger.Log (SystemLogger.Module.PLATFORM, "AppsFlyer TrackEvent - no track event data provided. Cannot send track event."); return; } try { AppsFlyerTracker.SharedTracker.TrackEvent(trackEvent.EventName, trackEvent.EventRevenueValue); } catch (Exception ex) { SystemLogger.Log (SystemLogger.Module.PLATFORM, "AppsFlyer TrackEvent - exception catched: " + ex.Message, ex); } }