Hi @Julian-Unity3D ,
Thanks so much for your prompt reply! <3
As we are calling UnityServices.InitializeAsync explicitly from code during our runtime, I opted to just not call this method instead of using SetAnalyticsEnabled.
Even so, I am still seeing network traffic to the above URLs.
Can you tell me if it is possible to entirely disable UGS Analytics from sending any data across the network?
If this is not possible then UGS Analytics is not an option for us.
// For the code disabling Legacy Analytics, or else the "Analytics" name won't be valid
using UnityEngine.Analytics;
// For the code disabling Legacy Analytics, or else the "AnalyticsInstance" name won't be valid.
using Unity.Services.Analytics;
// If you want to disable Analytics completely during runtime
public void DisableAnalyticsCompletely()
{
//this turns off legacy analytics
Analytics.enabled = false;
Analytics.deviceStatsEnabled = false;
PerformanceReporting.enabled = false;
//UGS Analytics
AnalyticsService.Instance.SetAnalyticsEnabled(false)
}
If you are using IAP then please be aware that IAP enables Analytics by default.
If you have manually initialize UGS services but are not using it, then you should remove the initialization.