diff --git a/Assets/Scripts/Common/GameLaunch/LaunchProcessor/Processors/DownloadUpdateProcessor.cs b/Assets/Scripts/Common/GameLaunch/LaunchProcessor/Processors/DownloadUpdateProcessor.cs index a2361fa4f..96530026e 100644 --- a/Assets/Scripts/Common/GameLaunch/LaunchProcessor/Processors/DownloadUpdateProcessor.cs +++ b/Assets/Scripts/Common/GameLaunch/LaunchProcessor/Processors/DownloadUpdateProcessor.cs @@ -204,23 +204,22 @@ namespace BF var uri = req.CurrentUri; var cdnFailReport = new Dictionary(); - cdnFailReport.TryAdd("cdn_url_scheme", uri.Scheme); - cdnFailReport.TryAdd("cdn_url_host", uri.Host); - cdnFailReport.TryAdd("cdn_url_path", uri.AbsolutePath); - cdnFailReport.TryAdd("cdn_res_type", "res"); - cdnFailReport.TryAdd("cdn_version", lr.persistentAbcc.version); - cdnFailReport.TryAdd("cdn_new_version", lr.versionInfo.version); - cdnFailReport.TryAdd("cdn_file_path", abConfig.assetBundlePath); + cdnFailReport.TryAdd("client_url_scheme", uri.Scheme); + cdnFailReport.TryAdd("client_url_host", uri.Host); + cdnFailReport.TryAdd("client_url_path", uri.AbsolutePath); + cdnFailReport.TryAdd("client_res_type", "res"); + cdnFailReport.TryAdd("client_version", lr.persistentAbcc.version); + cdnFailReport.TryAdd("client_new_version", lr.versionInfo.version); + cdnFailReport.TryAdd("client_file_path", abConfig.assetBundlePath); if (rsp == null) { - cdnFailReport.TryAdd("cdn_error_type", "http error rsp is null "); + cdnFailReport.TryAdd("client_error_type", "http error rsp is null "); } else { - cdnFailReport.TryAdd("cdn_error_type", "http error code " + rsp.StatusCode); + cdnFailReport.TryAdd("client_error_type", "http error code " + rsp.StatusCode); } - cdnFailReport.TryAdd("cdn_result", "failed"); - BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr.PostThinkingAnalyticsEventProperties("client_cdn", cdnFailReport); + BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr.PostThinkingAnalyticsEventProperties("client_cdn_failed", cdnFailReport); } if (waitDownloadList.Count > 0) diff --git a/Assets/Scripts/Common/GameLaunch/LaunchProcessor/Processors/OnGetVersionProcessor.cs b/Assets/Scripts/Common/GameLaunch/LaunchProcessor/Processors/OnGetVersionProcessor.cs index 07628803d..cc7439c84 100644 --- a/Assets/Scripts/Common/GameLaunch/LaunchProcessor/Processors/OnGetVersionProcessor.cs +++ b/Assets/Scripts/Common/GameLaunch/LaunchProcessor/Processors/OnGetVersionProcessor.cs @@ -209,17 +209,16 @@ namespace BF var uri = request.uri; var cdnFailReport = new Dictionary(); - cdnFailReport.TryAdd("cdn_url_scheme", uri.Scheme); - cdnFailReport.TryAdd("cdn_url_host", uri.Host); - cdnFailReport.TryAdd("cdn_url_path", uri.AbsolutePath); - cdnFailReport.TryAdd("cdn_res_type", "res_filelist"); - cdnFailReport.TryAdd("cdn_version", lr.persistentAbcc.version); - cdnFailReport.TryAdd("cdn_new_version", lr.versionInfo.version); + cdnFailReport.TryAdd("client_url_scheme", uri.Scheme); + cdnFailReport.TryAdd("client_url_host", uri.Host); + cdnFailReport.TryAdd("client_url_path", uri.AbsolutePath); + cdnFailReport.TryAdd("client_error_type", "http error code " + request.responseCode); + cdnFailReport.TryAdd("client_res_type", "res_filelist"); + cdnFailReport.TryAdd("client_version", lr.persistentAbcc.version); + cdnFailReport.TryAdd("client_new_version", lr.versionInfo.version); var abConfigPath = Path.Combine(lr.firstChoiceCDN, lr.versionInfo.version, "ab_config.bytes"); - cdnFailReport.TryAdd("cdn_file_path", abConfigPath); - cdnFailReport.TryAdd("cdn_error_type", "http error code " + request.responseCode); - cdnFailReport.TryAdd("cdn_result", "failed"); - BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr.PostThinkingAnalyticsEventProperties("client_cdn", cdnFailReport); + cdnFailReport.TryAdd("client_file_path", abConfigPath); + BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr.PostThinkingAnalyticsEventProperties("client_cdn_failed", cdnFailReport); } } }