Home Integrations AppsFlyer Integration

AppsFlyer Integration

Last updated on May 05, 2025

First, create your offer in the UCLIQ Manager portal. Include relevant targeting details and daily caps.

Define your postback goals clearly in UCLIQ. Common goals include:

  • INSTALL

  • CPS (Cost per Sale)

  • Re-attribution

Also set appropriate payouts for each goal.

Advertiser Link Setup

Use your Appsflyer OneLink or device-specific URLs (Android or iOS) as your advertiser link in UCLIQ. You can find details about parameters and macros directly in Appsflyer's guide.

Your Appsflyer link typically looks like:

https://app.appsflyer.com/com.appsflyer?pid=yourmediaid&clickid={click_id}&af_c_id=2&af_siteid={source}&advertising_id={sub1}

Key Macros:

  • clickid – UCLIQ-generated click ID

  • af_c_id – Offer ID (constant or publisher-provided)

  • af_siteid – Source identifier from the publisher

  • advertising_id – Publisher advertising ID (optional)

UCLIQ Publisher Tracking Link

Your publisher tracking link in UCLIQ sends crucial campaign data to Appsflyer:

Example:

http://yournetworkid.afflnx.com/c/YourCampaignKey?sub1=advertising_id

Replace advertising_id with the macro provided by your advertising platform.

Postback Configuration

Appsflyer needs postbacks to relay event data back to UCLIQ.

Installation Postbacks

Configure distinct postbacks for iOS and Android installations:

  • iOS Install Example:
https://yournetworkid.utrfk.com/pb/YOURSECURITYKEY?click_id={clickid}&goal=INSTALL_IOS&ext={idfa}&tid={eventtime}
  • Android Install Example:
https://yournetworkid.utrfk.com/pb/YOURSECURITYKEY?click_id={clickid}&goal=INSTALL_ANDROID&ext={android_id}&tid={eventtime}

Value-Driven Event Postbacks

For PPS or CPS events with dynamic payouts:

  • iOS Event Example:
https://yournetworkid.utrfk.com/pb/YOURSECURITYKEY?click_id={clickid}&goal=PPS_IOS&ext={idfa}&tid={eventtime}&sum={event_value}&ext2={event_name}&currency={currency}
  • Android Event Example:
https://yournetworkid.utrfk.com/pb/YOURSECURITYKEY?click_id={clickid}&goal=PPS_ANDROID&ext={android_id}&tid={eventtime}&sum={event_value}&ext2={event_name}&currency={currency}

Fixed Value Postbacks

If you prefer setting fixed values independently of Appsflyer:

  • iOS Event Fixed Example:
https://yournetworkid.utrfk.com/pb/YOURSECURITYKEY?click_id={clickid}&goal={event_name}&ext={idfa}&tid={eventtime}
  • Android Event Fixed Example:
https://yournetworkid.utrfk.com/pb/YOURSECURITYKEY?click_id={clickid}&goal={event_name}&ext={android_id}&tid={eventtime}

Always ensure event names exactly match those configured in Appsflyer.

After completing these steps, thoroughly test your integration to ensure proper tracking and attribution.

For any further assistance, feel free to reach out to our support team.