update: 新增获取 自打点实验 GroupId 的值

main
胡宇飞 2024-08-07 11:08:17 +08:00
parent aec21f3789
commit 46cd1717fb
1 changed files with 11 additions and 1 deletions

View File

@ -477,7 +477,17 @@ namespace Guru
SetUserProperty("sdk_version", Version); SetUserProperty("sdk_version", Version);
} }
/// <summary>
/// 获取 GuruSDK 实验分组
/// </summary>
/// <returns></returns>
public static string GetGuruExperimentGroupId()
{
if (!GuruAnalytics.IsReady) return "not_set";
return GuruAnalytics.Instance.ExperimentGroupId;
}
#endregion #endregion
#region IAP 打点 #region IAP 打点