Skip to content
Help Center
Edit in CMS

Set up YouAppi CTV in AppsFlyer

Eleven short steps, in three parts, connect your CTV campaigns to installs and in-app events on mobile.

Applies to
  • AppsFlyer
  • CTV

Updated Original English article

Your IDs

Type your own IDs once. This guide then shows them in the text, the code and the screenshots. They stay in this browser and are never sent anywhere.

Example: 1234

Without this, the IDs are gone when you close this tab. Do not use it on a shared computer.

Part 1: Integration tab

Activate YouAppi as a partner

Find YouAppi in the AppsFlyer partner marketplace and switch the integration on.

  1. Go to Collaborate → Partner Integrations, open the Marketplace tab and search for YouAppi. Click Integrate on the YouAppi card.
  2. On the Integration tab, choose your app from the App dropdown.
  3. Switch Activate partner to ON.
  1. Go to Collaborate → Partner Integrations, open the Marketplace tab and search for YouAppi.
  2. Click Integrate on the YouAppi card.
  1. Switch Activate partner to ON.

Set up general settings and view-through

Still on the Integration tab, share organic data, connect your account and allow installs from CTV views to be attributed.

  1. Under General settings, switch Share organic/non-organic indication to ON.
  2. Paste 1234 into the trackerToken field. This value is provided by your YouAppi account manager.
  3. Under Install attribution, switch Install view-through attribution to ON.
  1. Under General settings, switch Share organic/non-organic indication to ON.
  2. Paste Client ID into the trackerToken field.
  1. 2 Under Install attribution, switch Install view-through attribution to ON.

Turn off Advanced Privacy

(iOS apps)

Advanced Privacy must be OFF. Otherwise, cross-platform attribution won't work.

  1. Under Data sharing, switch Advanced Privacy (for iOS 14.5 and later) to OFF.
  1. Under Data sharing, switch Advanced Privacy (for iOS 14.5 and later) to OFF.

Enable equal attribution priority

Still on the Integration tab, scroll to the Cross platform section and give CTV impressions the same weight as mobile clicks.

  1. In Cross platform, switch Cross-platform equal attribution priority to ON.
  2. Set the Equal attribution priority lookback window to 6 hours.
  1. In Cross platform, switch Cross-platform equal attribution priority to ON.
  2. Set the Equal attribution priority lookback window to 6 hours.

Send all installs, including organic

In Default postbacks, share every install with YouAppi so we can optimize with the full picture.

  1. Set the Install row to All media sources, including organic.
  1. Set the Install row to All media sources, including organic.

Connect in-app event postbacks

Scroll down to In-app event settings. It uses the same trackerToken as step 2.

  1. Under In-app event settings, paste 1234 into the trackerToken field. Same value from your YouAppi account manager.
  2. Switch In-app event postbacks to ON.
  3. Set the In-app event postback window to Lifetime.
  1. Under In-app event settings, paste 2440 into the trackerToken field. Same value from your YouAppi account manager.
  2. Switch In-app event postbacks to ON.
  3. Set the In-app event postback window to Lifetime.

Share your in-app events

Map the events to share. Postbacks for in-app events let us optimize toward actions that matter, not just installs.

  1. Choose Add manually.
  2. Click Add event for each event you want to share. App open is required for retargeting. Also add your most important events, such as first-time deposit (FTD), purchase, subscription, first trade, or game progression events.
  3. For each event, set for users from to All media sources, including organic, and including to Values & revenue.
  4. Click Save integration. This saves everything from steps 1–7.
  1. Choose Add manually.
  2. Click Add event for each event you want to share. App open is required for retargeting. Also add your most important events, such as first-time deposit (FTD), purchase, subscription, first trade, or game progression events.
  3. For each event, set for users from to All media sources, including organic, and including to Values & revenue.

Turn on cross-platform attribution

On the same tab, scroll down to view-through attribution so CTV views can be credited for installs on mobile.

  1. Switch Cross-platform attribution to ON.
  2. Set the Cross-platform view-through attribution window to 24 hours.
  1. Switch Cross-platform attribution to ON.
  2. Set the Cross-platform view-through attribution window to 24 hours.

What your CTV attribution link will look like

Your OneLink Template ID replaces {template_id}. YouAppi fills in the values between % signs automatically, so you don't need to edit them.

url
https://impressions.onelink.me/{template_id}?pid=youappi_int&af_siteid=%bundle%&c=ctv_to_mobile&af_c_id=%campaign_id%&af_viewthrough_lookback=24h&params=%impressionid%&af_xplatform=true&af_xplatform_vt_lookback=24h&redirect=false&af_ip=%ip%&af_ua=%user_agent%&af_ad=%creative_name%&af_ad_id=%creative%&af_channel=%exchange%&af_adset=%strategy_id%&ya_reen_id=5

Part 3: Permissions

Give YouAppi Cost Import permission

To see your CTV campaign cost in AppsFlyer, allow YouAppi to use Cost Import. Ad networks need this permission for each app.

  1. Go to Collaborate → Active Integrations and select YouAppi.
  2. Open the Permissions tab.
  3. Switch Ad network permissions to ON, if it isn't already.
  4. Switch Use Cost Import to ON.
  5. Click Save permissions.
  1. Switch Ad network permissions to ON, if it isn't already.
  2. Switch Use Cost Import to ON.