Skip to main content

AppsFlyer Setup Walkthrough

Lior Bar-Dov avatar
Written by Lior Bar-Dov
Updated over a year ago

Aura from Unity is an AppsFlyer integrated partner. After a quick configuration, we will receive attributed installs and post-install events data through real-time postbacks.

The configuration incorporates three major steps:

  1. Enabling the integration

  1. Customizing in-app events

  2. Enabling ad revenue sharing

Step by Step Integration

To enable AppsFlyer’s integration with Aura from Unity, follow these steps:

  1. Login to your AppsFlyer account

  2. In AppsFlyer’s dashboard go to - Configuration > Integrated Partners

  3. Click on ‘Explore marketplace’

  4. Search for Aura from Unity integration

  5. Hover over Aura from Unity Integration to open the configuration tab

  6. Click on ‘Manage integration’

  7. Select the desired app

  8. Enable the ‘Activate Partner’ toggle

  9. In the Integration tab, turn on ‘Preload attribution’ and choose the lookback window

(Important! Running Preload attribution requires either SDK v6.10.1 or an update to the S2S integration with Appsflyer - for more details reach out to your AM or your AppsFlyer CSM)

  1. Save the integration

  2. Go to the Attribution link tab, copy the links and share with your AM

Template Click URL

https://app.appsflyer.com/[Package_Name]?pid=aura_int&c={CampaignName}&af_sub5={DeviceModel}&af_siteid={PublisherId}&af_sub_siteid={CustomerID}&af_c_id={CampaignID}&af_click_lookback=30d&clickid={DynamicParameter}&advertising_id={GAID}&af_ip={ip}&af_ua={ua}&af_enc_data={AppsFlyerEncData} 

*The cost data is encrypted by default in the tracking link as &af_enc_data={AppsFlyerEncData}. It includes Cost Model (CPI), Cost Value (e.g. 0.5), and Cost Currency (USD).

**To make changes to the template, please refer to our Measurement URLs & Supported Macros Guide

Congratulations, now we will be able to receive postbacks for installs. Next step is required to forward postbacks for post-install events.

Customizing In-App Events

To be able to optimize towards your marketing goals, we would use post-install event postbacks. You can link your post-install events to Aura from Unity preset events or custom events.

To share post-install events, follow these steps in your AppsFlyer dashboard:

  1. Go to - Configuration > Integrated Partners

  2. Search for Aura from Unity integration

  3. Click on Aura from Unity Integration to open the configuration tab

  4. Enable the ‘In-app event postbacks’ toggle.

  5. Click ‘Add event’ to share the event you would like to share

  6. Choose the event you want to share from the ‘SDK event name’ field and update the ‘Partner event identifier’ field with Aura from Unity event out of the list below

    1. appOpen - for retention analysis

    2. levelAchieved

    3. appRegistered

    4. tutorialCompleted

    5. inAppPurchase

    6. Custom event (we support 5 custom events)

    7. For revenue events choose ‘Values & revenue’ under Send revenue

  7. When you finish customizing events, select ‘Save integration’

Now we will receive post-install event data for each of your assigned events.

Ad Revenue Data and Additional Data Permissions

To be able to optimize towards your ROAS goal, we would use ad revenue data reporting, shared daily by AppsFlyer (*Available for Advertisers sharing ad revenue raw data with AppsFlyer).

To share ad revenue data with Aura from Unity, follow these steps in your AppsFlyer dashboard:

  1. Go to - Configuration > Integrated Partners

  2. Search for Aura from Unity integration

  3. Click on Aura from Unity Integration to open the configuration tab

  4. Switch view to the Permissions tab

  5. Enable the ‘Ad network permissions’ toggle

  6. Toggle ON ‘Access ad revenue raw data’

    • Sending option > This partner only

  7. In addition, enable the following data permission toggles

  8. Select ‘Save Permissions’

Additional Cost Data Options

AppsFlyer encrypted cost is fully supported and presented on their dashboard for CPI campaigns. To reflect other cost models correctly (CPC,CPE) on the AppsFlyer dashboard, you can use the AppsFlyer Cost API, which is integrated with Aura reporting API.

  1. Go to - Configuration > Integrated Partners

  2. Search for Aura from Unity integration

  3. Click on Aura from Unity Integration to open the configuration tab

  4. Click on the Cost tab

  5. Toggle ON ‘Get Cost Data’

  6. Request the Aura authentication token from your Aura Account Manager, and add it in the first box

  7. Add the app package name in the second box, and save.

*If you are running CPI campaigns only, this isn’t a necessary step

Limitations with regards to the Cost API:

  1. AppsFlyer pulls the data using a unique campaign ID and name, and compares it with the information sent upon the click. Therefore it is required to use the placeholders defined in the click URL template.

  2. Site ID is used for cost aggregation, therefore when using the Cost API the placeholder of publisher_id should also be used according to the template.

  3. Currently AppsFlyer doesn't reflect aggregated cost for Device Model over the API

Did this answer your question?