Example #1
0
        public static string ToName(this GeneralAnalyticsEvents eventName)
        {
            switch (eventName)
            {
            case GeneralAnalyticsEvents.IapShopImpression:
                return("iap_shop_impression");

            case GeneralAnalyticsEvents.IapShop:
                return("iap_shop");

            case GeneralAnalyticsEvents.AdShow:
                return("ad_show");

            default:
                return("");
            }
        }
Example #2
0
 public void ReportGenericEvent(GeneralAnalyticsEvents eventName)
 {
     ReportGenericEvent(eventName.ToName());
 }