diff --git a/Runtime/Code/SDK/GuruSDK.Analytics.cs b/Runtime/Code/SDK/GuruSDK.Analytics.cs index 2c92df9..8af4b45 100644 --- a/Runtime/Code/SDK/GuruSDK.Analytics.cs +++ b/Runtime/Code/SDK/GuruSDK.Analytics.cs @@ -477,7 +477,17 @@ namespace Guru SetUserProperty("sdk_version", Version); } - + + /// + /// 获取 GuruSDK 实验分组 + /// + /// + public static string GetGuruExperimentGroupId() + { + if (!GuruAnalytics.IsReady) return "not_set"; + return GuruAnalytics.Instance.ExperimentGroupId; + } + #endregion #region IAP 打点