Before we start…


Keep in mind that in AppsFlyer, you will have a unique one cross-device tracker (Onelink). This means that you will need to do the same setup in iOS and Android OS, but you will have only one Onelink tracker.

It's imperative to enable both OS for the template tracker, as the OS that is enabled will be penalized because the other OS is not. This means that the impressions of none of the operating systems will be considered.

Check the 13 steps below for more information.

1- Activate mediasmart as a partner

For iOS apps, please make sure the advanced privacy is OFF, as shown below:

2- Add Event ID

Add the Event ID that mediasmart will share with you both under the “General settings” and “In-app event settings”.

The Event ID is our Advertiser ID for tracking and attribution purposes. When the MMP records attribution data and shares it with mediasmart, the Event ID allows us to match attribution data to the right campaign.

3- Share all non-attributed conversions

Under the “Default postbacks” title, click on the dropdown and select the “All media sources, including organic” option.

4- Select the correct cross-device template

In AppsFlyer, only one template is allowed to run cross-device campaigns, meaning this needs to be enabled manually

  1. Go to OneLink Management - Edit template

  2. Take a screenshot, making sure that the screenshot contains the template ID (screenshot below for reference)

  3. Share it with our team.

For more info, check AppsFlyer's instructions.

5- Set the VTA lookback window

Under the “View-through attribution” title, in the “View-through attribution lookback window” section, use the default 24-hour setting.

6- Map other in-app events

If other in-app events are being measured, follow the instructions below:


Please map the events in the following order:

UA events

  1. Installs

  2. App opens/session

  3. Purchase

  4. FTDs

  5. Any other event


Additional instructions:

  • Under “AppsFlyer event”, select the event you want to measure.

  • Under “Mapped to partner event”, match your events with the event numbers from 2 to 5. By default, event number 1 is always 'installs'.

  • Under “For users from”, select All media sources.

  • Under “Including”, select:

    • No values & No revenue for events that don’t generate revenue, or

    • Values & Revenue for those events that generate revenue.

7- Set the cross-platform VTA window

Under the “View-through attribution” title, in the “Cross-platform view-through attribution window” section, select 72 hours.

8- Enable equal priority

Under the “Cross platform title, enable equal priority for cross-platform impressions to 6 hours.

9- Choose the attribution tracking link type

Under the “Attribution link type” section, select the “Use Onelink” option. This is a single impression tracker that measures attribution across operating systems in Mobile.

10- Set the click-through attribution window

Under the “Click-through attribution” title, set the window to 1 day.

11- Set the view-through attribution window

Under the “View-through attribution” title, set the window to 24 hours.

12 - AppsFlyer permissions

Access within the MMP. Ideally, we would need to have access to check AppsFlyer set up + the reporting section.

This would help us troubleshoot any issues and make the required changes in the MMP configuration while also being able to download RAW data reports from AppsFlyer that could lead to flagging issues.

13- QR-to-App Conversion

If you need more details on how to download the QR code of the tracking Link from AppsFlyer, please refer to these instructions.

Done! You’re good to go

Here’s what the final link should look like:

https://impressions.onelink.me/7nFG?pid=mediasmart_int&c=%parent_campaign_name%&af_siteid=%bundle%&af_ip=%ip%&af_ua=%user_agent%&af_adset=%strategy_name%&af_ad=%creative_name%&af_viewthrough_lookback=24h&af_xplatform=true&af_xplatform_vt_lookback=72h

Note that some parameters are filled automatically: campaign name, IP, creative name, click ID, cost ID, and S2S. For more information, check out this article on information macros.

Generate equal attribution opportunities

Set up your Event ID early

  • Required to match attribution data with campaigns.

  • Without it, campaign performance can’t be tracked.

Enable equal priority in AppsFlyer

  • AppsFlyer favors clicks and deterministic matching.

  • CTV impressions usually receive lower attribution.

Use a longer conversion window for CTV

Mobile impressions are cheaper, so MMPs often undervalue CTV.

Map multiple in-app events

More events = richer attribution insights.


Share non-attributed conversions

Helps partners optimize targeting and performance.

Track assisted conversions

  • Understand the full user journey and which channels support conversion.

  • Assisted conversions reveal the true influence of each touchpoint.

Read more about Best Practices for CTV app marketing with AppsFlyer.