Set up YouAppi CTV in AppsFlyer
Eleven short steps, in three parts, connect your CTV campaigns to installs and in-app events on mobile.
- AppsFlyer
- CTV
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.
- Go to Collaborate → Partner Integrations, open the Marketplace tab and search for YouAppi. Click Integrate on the YouAppi card.
- On the Integration tab, choose your app from the App dropdown.
- Switch Activate partner to ON.
- Go to Collaborate → Partner Integrations, open the Marketplace tab and search for YouAppi.
- Click Integrate on the YouAppi card.
- 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.
- Under General settings, switch Share organic/non-organic indication to ON.
- Paste 1234 into the trackerToken field. This value is provided by your YouAppi account manager.
- Under Install attribution, switch Install view-through attribution to ON.
- Under General settings, switch Share organic/non-organic indication to ON.
- Paste Client ID into the trackerToken field.
- 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.
- Under Data sharing, switch Advanced Privacy (for iOS 14.5 and later) to OFF.
- 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.
- In Cross platform, switch Cross-platform equal attribution priority to ON.
- Set the Equal attribution priority lookback window to 6 hours.
- In Cross platform, switch Cross-platform equal attribution priority to ON.
- 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.
- Set the Install row to All media sources, including organic.
- 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.
- Under In-app event settings, paste 1234 into the trackerToken field. Same value from your YouAppi account manager.
- Switch In-app event postbacks to ON.
- Set the In-app event postback window to Lifetime.
- Under In-app event settings, paste 2440 into the trackerToken field. Same value from your YouAppi account manager.
- Switch In-app event postbacks to ON.
- Set the In-app event postback window to Lifetime.
Part 2: Your CTV attribution link
Enable cross-platform in your OneLink template
This part creates the link YouAppi uses to measure your CTV campaigns. You can use only one OneLink template (one Template ID) for CTV, shared by all your CTV partners, and only one template can have cross-platform attribution enabled. Already running CTV with another partner? Your template is already set up: skip step 8 and go straight to step 9. Running CTV for the first time? Do step 8 once.
Do this once, the first time you run CTV. If you already run CTV with another partner, this is already done: mark the step done and continue to step 9.
- Go to Engage → OneLink Management.
- Click + New link.
- Make sure your iOS and Android apps are both selected in the template.
- In Cross-platform attribution, click Edit, enable cross-platform attribution and select your apps. Only one template can have cross-platform attribution enabled.
- Note your Template ID. It goes into the attribution link, and it's the same for all your CTV partners.
- Click Save template.
- Go to Engage → OneLink Management.
- Click + New link.
- Make sure your iOS and Android apps are both selected in the template.
- In Cross-platform attribution, click Edit, enable cross-platform attribution and select your apps. Only one template can have cross-platform attribution enabled.
- Note your Template ID. It goes into the attribution link, and it's the same for all your CTV partners.
Create a OneLink attribution link
Back in the YouAppi integration, one cross-platform link covers both iOS and Android.
- Open the Attribution link tab and choose Use OneLink.
- Select the OneLink template from step 8.
- Open the Attribution link tab and choose Use OneLink.
- Select the OneLink template from step 8.
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.
- Switch Cross-platform attribution to ON.
- Set the Cross-platform view-through attribution window to 24 hours.
- Switch Cross-platform attribution to ON.
- 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.
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¶ms=%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=5Part 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.
- Go to Collaborate → Active Integrations and select YouAppi.
- Open the Permissions tab.
- Switch Ad network permissions to ON, if it isn't already.
- Switch Use Cost Import to ON.
- Click Save permissions.
- Switch Ad network permissions to ON, if it isn't already.
- Switch Use Cost Import to ON.
