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/