Aghanim-AppsFlyer 集成
本指南解释了如何将 Aghanim 与 AppsFlyer 集成,以简化移动归因和分析。 通过将 Aghanim 连接到 AppsFlyer,您可以从游戏中心跟踪玩家生成的事件,确保整个游戏环境中用户操作的精确跟踪。
信息
Aghanim 目前仅在玩家成功完成游戏中心付款时将事件发送到 Adjust。
要求
- AppsFlyer 帐户
- 生成或检索 API 令牌的管理权限
步骤 1:提供 AppsFlyer API 令牌
从 AppsFlyer 获取 API 令牌以进行身份验证,启用 Aghanim 发送事件:
- 登录 AppsFlyer。
- 在仪表板中,前往 配置 → API 令牌 或 服务器到服务器 (S2S) 令牌。
- 如果没有可用的 API 令牌,请按照提供的说明生成新令牌。
- 复制生成的令牌。
- 继续到 Aghanim 仪表板 → 应用连接 → AppsFlyer 并安装插件。
- 在插件设置中,粘贴生成的令牌。
有关更多详细信息,请参见 AppsFlyer 文档。
步骤 2:将 AppsFlyer 属性添加到 player.verify webhook 响应中
为了确保 AppsFlyer 正确识别用户并归因于其在游戏中心的操作,请在 player.verify webhook 响应中包括 AppsFlyer 特定属性:
| 关键 | 类型 | 描述 | 需要? |
|---|---|---|---|
attributes.appsflyer_id | 字符串 | 第一次启动应用时由 AppsFlyer 生成的唯一标识符。 此 ID 将应用中的用户活动与其 AppsFlyer 配置文件连接起来。 示例:1234567890123-1234567。 | 是 |
attributes.appsflyer_app_id | 字符串 | 在 AppsFlyer 仪表板中定义的应用标识符。 它将数据与 AppsFlyer 中的正确应用程序关联。 示例:id123456789。 | 是 |
attributes.appsflyer_meta | 对象 | 可选的 自定义参数,可以包含在发送到 AppsFlyer 的事件数据中,以便跟踪额外的上下文信息。 示例:{"foo": "bar"}。 | 否 |
有关属性值的更多详细信息,请参考 AppsFlyer 文档。
示例 webhook 响应:
{
"player_id": "1x1x-xxxx1",
"name": "Molly",
"attributes": {
"appsflyer_id": "1234567890123-1234567",
"appsflyer_app_id": "id123456789",
"appsflyer_meta": {
"any_custom": "parameters",
"you": "need"
}
}
}
需要帮助吗?
联系我们的集成团队 integration@aghanim.com