internal static void SendCalendarStats( string eventType, string calendarstartdate, string calendarenddate, string calendarlink, string success = "", string rowsaffected = "") { Dictionary <string, string> getCommonData = ClientStats.GetCommonData; getCommonData.Add("event_type", eventType); getCommonData.Add("calendar_start_date", calendarstartdate); getCommonData.Add("calendar_end_date", calendarenddate); getCommonData.Add("calendar_link", calendarlink); getCommonData.Add(nameof(success), success); getCommonData.Add("rows_affected", rowsaffected); ClientStats.SendStatsAsync(RegistryManager.Instance.Host + "/bs4/stats/calendar_stats", getCommonData, (Dictionary <string, string>)null); }
internal static void SendFrontendClickStats( string eventType, string keyword, string app_loc, string app_pkg, string is_installed, string app_position, string app_rank, string apps_recommendation_obj) { Dictionary <string, string> getCommonData = ClientStats.GetCommonData; getCommonData.Add("event", eventType); getCommonData.Add(nameof(keyword), keyword); getCommonData.Add(nameof(app_loc), app_loc); getCommonData.Add(nameof(app_pkg), app_pkg); getCommonData.Add(nameof(is_installed), is_installed); getCommonData.Add(nameof(app_position), app_position); getCommonData.Add(nameof(app_rank), app_rank); getCommonData.Add(nameof(apps_recommendation_obj), apps_recommendation_obj); ClientStats.SendStatsAsync(string.Format((IFormatProvider)CultureInfo.InvariantCulture, "{0}/bs3/stats/{1}", (object)RegistryManager.Instance.Host, (object)"frontend_click_stats"), getCommonData, (Dictionary <string, string>)null); }