Google Play Install Referrer
您可以使用 Google Play 商店的 Install Referrer API 从 Google Play 安全地检索引荐来源内容,例如:
- 已安装的软件包的引荐来源网址。
- 引荐来源网址点击事件发生时的时间戳(以秒为单位)(客户端和服务器端)。
- 开始安装时的时间戳(以秒为单位)(客户端和服务器端)。
- 首次安装应用时的应用版本。
- 用户在过去 7 天内是否曾与应用的免安装体验互动。
要求
设备上的 Google Play 商店应用提供 Install Referrer API。安装了 Google Play 应用版本 8.3.73 或更高版本的设备自动提供该 API。
您还必须拥有 Google Play 管理中心帐号才能使用 Install Referrer API。
使用 API
Install Referrer API 以 Android 接口定义语言 (AIDL) 接口的形式实现。
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-05-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]