更新时间:2025年11月20日
在Android应用推广归因中,广告主需要知道:
用户是通过哪个广告、渠道或推广链接下载安装App的?
Google Play早期使用Install Referral广播机制传递安装来源信息,但随着Android安全机制升级,该方案逐渐被废弃。
从2020年3月开始,Google Play改用Play Install Referrer API。
目前,Android 应用安装来源追踪的主流方式是Google Play Install Referrer API。
Install Referrer(广播机制,已弃用)
早期Google Play支持通过INSTALL_REFERRER广播向 App传递安装来源信息。
推广链接通常会携带referrer 参数(类似网页UTM的用饭一样),例如:
https://play.google.com/store/apps/details?id=com.ichdata&referrer=utm_source%3Dtest1%26utm_medium%3Dtest2%26utm_campaign%3Dtest3
用户点击推广链接进入Google Play后,Google Play保存referrer参数,Google Play在用户安装完App后,会向App发送一个广播(Broadcast),其中包含了名为referrer的字符串,例如:
referrer=utm_source%3Dtest1%26utm_medium%3Dtest2%26utm_campaign%3Dtest3
App在安装后第一次启动时,就可以从广播中读取这个referrer,用于广告归因、判断下载渠道等。
为什么 Install Referrer 广播机制被废弃?
随着移动广告生态发展,旧方案暴露出越来越多问题:
- 安全性较低:广播机制存在被第三方应用监听、模拟或伪造的风险。
- 数据可靠性不足:不稳定,不保证送达
- 反作弊能力有限:广播传递的信息有限,难以判断
因此Google在2020年3月正式宣布停止支持。
Install Referrer API(官方推荐方案)
Install Referrer API不再通过广播主动发送数据,而是采用:
App主动向Google Play查询安装来源信息。
流程如下:用户点击推广链接到Google Play安装APP,Google Play就会获取推广参数传递,APP安装后,首次打开的时APP就会主动通过Google Play的Install Referrer API去查询获取渠道信息,然后上传。
通过Install Referrer API,可以获取以下信息:
有几个字段是时间戳的,就可以用于验证、计算CTIT(点击安装时间 ,Click to Install Time)等,用于归因欺诈检测。
目前主流移动归因平台均支持 Google Play Install Referrer API,如AppsFlyer、Adjust、Kochava。
哪些应用商店支持类似机制?
目前Android生态中,不同应用商店有自己的安装来源追踪方案。
| 应用商店 | 方案 |
|---|---|
| Google Play | Play Install Referrer API |
| Huawei AppGallery | Huawei Install Referrer API |
| 三星 Galaxy Store | 使用自身归因方案 |
| 小米应用商店 | 使用厂商渠道方案 |
| OPPO/Vivo应用商店 | 使用厂商渠道方案 |
Google Play Install Referrer API并不是Android官方统一标准,而是Google Play官方提供的安装来源查询方案。
目前,只有Huawei AppGallery有提供类似的渠道跟踪。
总结
| 对比 | Install Referrer广播 | Play Install Referrer API |
|---|---|---|
| 状态 | 已废弃 | 推荐使用 |
| 时间 | 早期Android | 2020年至今 |
| 数据获取方式 | Google Play发送广播 | App主动查询 |
| 安全性 | 较低 | 较高 |
| 防作弊能力 | 弱 | 强 |
| 支持CTIT计算 | ❌ | ✅ |
| 主流归因平台支持 | ❌ | ✅ |

