> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 将 Experiments 与其他 PlayFab 服务集成

> 将 PlayFab Experiments 与 CloudScript、PlayStream 事件、Player Profile 和 Insights Explorer 结合使用，以驱动配置变体和 A/B 测试分析。

Experiments 功能与 Player Profile、PlayStream 事件、CloudScript 和 Insights Explorer 兼容。例如，你可以：

* **使用 CloudScript 进行配置更改：** 几乎任何与配置相关的游戏代码变体都可以通过 CloudScript 与 Experiment 的 getTreatmentAssignment API 组合使用来启用。
* **使用 PlayStream 事件进行配置更改：** 使用 [getTreatmentAssignment](https://learn.microsoft.com/en-us/rest/api/playfab/experimentation/experimentation/get-treatment-assignment) API 基于 PlayStream 事件触发游戏配置更改。
* **使用 Insights Explorer 进行下钻分析：** 每个变体的唯一标识符 (VariantID) 会被标记到所有 PlayStream v2 事件以及两个特定的 PlayStream v1 事件（player\_logged\_in 和 player\_realmoney\_purchase）上。这可用于对特定指标进行进一步分析。（指标可以基于 PlayStream 事件或你自己的游戏遥测数据。）若要查询，请使用 Insights Explorer 服务或连接你自己的分析平台。

<Warning>
  新玩家登录仅具有与 [player\_logged\_in PlayStream](/services/playfab/api-references/events/PlayerIdentity/player-logged-in) 事件相关联的属性。以基于 PlayStream 事件的配置变体为新玩家设定目标的实验，只能使用作为 player\_logged\_in PlayStream 事件一部分的属性。这可确保对尚无任何相关 PlayStream 事件的新玩家进行处理组分配。
</Warning>

## 后续步骤

* [无代码实验快速入门](/services/playfab/live-service-management/game-configuration/experiments/quickstart)
* [管理 Experiments](/services/playfab/live-service-management/game-configuration/experiments/manage-experiments)
* [分析 Experiments](/services/playfab/live-service-management/game-configuration/experiments/analyze-experiments)
* [记分卡指标](/services/playfab/live-service-management/game-configuration/experiments/scorecard-metrics)
* [Experimentation API](/services/playfab/live-service-management/game-configuration/experiments/experimentation-apis)
* [使用排除组防止交互效应](/services/playfab/live-service-management/game-configuration/experiments/exclusion-groups)


## Related topics

- [管理 Experiments](/zh-CN/services/playfab/live-service-management/game-configuration/experiments/manage-experiments.md)
- [分析 Experiments](/zh-CN/services/playfab/live-service-management/game-configuration/experiments/analyze-experiments.md)
- [Experiments 快速入门](/zh-CN/services/playfab/live-service-management/game-configuration/experiments/quickstart.md)
- [实验中的排除组](/zh-CN/services/playfab/live-service-management/game-configuration/experiments/exclusion-groups.md)
- [Experimentation API](/zh-CN/services/playfab/live-service-management/game-configuration/experiments/experimentation-apis.md)
