User flow for apps and tracker integration
Where:
- bff: is a light proxy on app domain, which can store logs and responsible to integration with tracker (at this point we can change implementation without making changes to app in store)
- tracker: is a decision-making app, Binom or something else
What should we keep in mind:
- organic traffic should be excluded from AD at first step to avoid app block
- bff should be published at app domain with https/v3 enabled
- we show loading screen until we receive answer from BFF, if there is timeout (like 10 seconds or something like that) we go to normal game
OnAttribution event
ΠΡΠΈ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΠΈ Π΄Π°Π½Π½ΡΡ ΠΏΠΎ Π°ΡΡΠΈΠ±ΡΡΠΈΠΈ ΠΈΠ· appsflyer ΠΌΡ Ρ ΠΎΡΠΈΠΌ Π²ΡΠ·Π²Π°ΡΡ API
ΠΠ°ΠΆΠ½ΠΎ: url api ΠΌΠ΅ΡΠΎΠ΄Π° Π΄ΠΎΠ»ΠΆΠ΅Π½ Π±ΡΡΡ Π²ΡΠ½Π΅ΡΠ΅Π½ Π² ΠΊΠΎΠ½ΡΠΈΠ³.
POST /sendAttribution
{
data: {... attribution data ...},
advertisement: "", // idfa id
appsflyerid: "1690...", // ΠΎΡΠ΄Π΅Π»ΡΠ½ΠΎ appsflyer id
fcmid: "dwreerd", // token to send firebase notifications
device: {
device_dpr: 23, //
device_width: 2323, //
device_height: 2332, //
model: "a10s", // phone model
os_name: "android", // ios
version: "SM-A107M",
manufacture: "samsung",
},
app_bundle_id: "com.my.app", // id ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ Π² ΡΡΠΎΡΠ΅ Π΄Π»Ρ ΠΈΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ
app_version: "1.0.1", // Π²Π΅ΡΡΠΈΡ Π½Π°ΡΠ΅Π³ΠΎ Π±ΠΈΠ»Π΄Π°
clienToken: "uuid", // Ρ Π½Π°Ρ Π½Π΅Ρ ΠΈΠ΄ ΡΡΡΡΠΎΠΉΡΡΠ², ΠΏΠΎΡΡΠΎΡ ΡΡΠΎ Π½Π°Ρ ΠΈΠ΄ ΠΈΠ½ΡΡΠ°Π»ΡΡΠΈΠΈ, ΠΏΡΠΎΡΡΠΎ uuid ΡΠΎΡ
ΡΠ°Π½Π΅Π½Π½ΡΠΉ Π² appdata, ΡΡΠΎΠ±Ρ ΠΎΠ½ Π½Π΅ ΠΌΠ΅Π½ΡΠ»ΡΡ ΠΏΡΠΈ ΠΏΠ΅ΡΠ΅Π·Π°ΠΏΡΡΠΊΠ΅
}
Π ΠΎΡΠ²Π΅Ρ ΠΌΡ ΠΏΠΎΠ»ΡΡΠ°Π΅ΠΌ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠ΅Π»Π΅Π²ΠΎΠΌ Π΄Π΅ΠΉΡΡΠ²ΠΈΠΈ:
{"action": "none"}
Π ΡΡΠΎΠΌ ΡΠ»ΡΡΠ°Π΅ΠΌ ΠΌΡ Π·Π°ΠΏΡΡΠΊΠ°Π΅ΠΌ ΠΈΠ³ΡΡ ΠΊΠ°ΠΊ ΠΎΠ±ΡΡΠ½ΠΎ. Π»ΠΈΠ±ΠΎ:
{
"action": "redirect",
"payload": "https://google.com"
}
https://docs.adspect.ai/ru/latest/