AppsFlyer - ведущий MMP (Mobile Measurement Partner). Обеспечивает атрибуцию установок, in-app событий, deep linking и fraud detection.
#intermediate #technical #block-11
Навигация
← 11.03 - Privacy и ATT | → 11.05 - AppsFlyer - Deep Linking и OneLink
Зачем MMP
Без MMP вы не знаете:
- Откуда пришёл install (Google? Meta? Organic?)
- Какой канал приносит quality users (retention, LTV)
- Есть ли фрод (fake installs)
Google и Meta не могут атрибутировать друг другу. MMP - neutral third party.
Архитектура AppsFlyer
Настройка
1. SDK Integration
// iOS (Swift)
import AppsFlyerLib
AppsFlyerLib.shared().appsFlyerDevKey = "YOUR_DEV_KEY"
AppsFlyerLib.shared().appleAppID = "YOUR_APP_ID"
AppsFlyerLib.shared().start()
// Android (Kotlin)
val appsFlyer = AppsFlyerLib.getInstance()
appsFlyer.init("YOUR_DEV_KEY", null, this)
appsFlyer.start(this)
2. In-App Events
// Event tracking
AppsFlyerLib.shared().logEvent("af_purchase", [
"af_revenue": 45990,
"af_currency": "KZT",
"af_order_id": "ORD-001",
"af_content_type": "credit",
"af_content_id": "consumer_loan"
])
3. Ключевые события для финтеха
| Event Name | Когда | Parameters |
|---|---|---|
af_complete_registration | Регистрация | method, referral_code |
loan_application_start | Начало заявки | loan_type, amount |
loan_application_complete | Заявка отправлена | loan_type, amount |
loan_approved | Одобрение | loan_type, amount, term |
af_purchase | Выдача кредита | af_revenue, af_currency, loan_id |
4. OneLink (Deep Linking)
OneLink = AppsFlyer's universal link solution. Один URL → iOS App Store, Google Play, или web fallback.
Подробнее: 11.05 - AppsFlyer - Deep Linking и OneLink
Dashboard - ключевые отчёты
| Отчёт | Что показывает |
|---|---|
| Overview | Installs, revenue, retention by source |
| Activity | Daily installs, events, revenue |
| Retention | D1/D7/D30 by source |
| Cohort | Revenue cohorts by install date |
| Protect360 | Fraud detection, blocked installs |
🔧 Практика
- Создайте AppsFlyer аккаунт (free tier)
- Интегрируйте SDK в тестовое приложение (можно использовать demo app)
- Настройте 5 in-app events
- Создайте OneLink и протестируйте deep linking flow
- Проверьте атрибуцию тестового install