Unity plugin V6 integration guide—Overview

At a glance: Learn about the AppsFlyer SDK functionalities that are available for Android or iOS apps developed with Unity and determine which APIs you want your app to use.


 Related reading

For a complete picture of integrating the Unity plugin with your apps, be sure to read these articles:

About the Unity plugin V6

The Unity plugin V6 enables the development of iOS and Android apps using the Unity real-time platform. Based on the AppsFlyer mobile SDKs, it implements the same methods and supports the equivalent functionality of the platform-specific (iOS and Android) SDKs. The plugin is open-source and available on GitHub. In this article, the terms plugin and SDK are used interchangeably.

 Unity V6 support for iOS 14

The Unity plugin V6 includes support for iOS 14 and has significant API method changes from previous versions. Migrating to Unity V6 from a previous version causes breaking changes. These changes include new APIs, different classes and package names, and the removal of: com.appsflyer.GetDeepLinkingActivity

To update your plugin from an earlier (V5) version, see our guide on migrating to the V6 beta (requires updating the Unity package).


Unity plugin V4 is deprecated. The V4 integration guide is available for download in PDF format (link below).

Integration tasks

Mobile apps developed on the Unity platform use a common AppsFlyer plugin for both the Android and iOS platforms.

Action list to integrate the Unity plugin into your apps

Tab Content Result

[Mandatory] Integration

Add and configure the plugin

App dashboard shows:

  • New organic install
  • New non-organic install

Core APIs

Use the plugin core APIs to:

  • Measure in-app events
  • Measure revenue
  • Perform deep linking
  • Gather conversion data

App dashboard shows:

  • In-app events
  • Revenue

Ready to:

  • Perform deep linking

Additional APIs

Implement and use optional APIs for:

  • Uninstall measurements
  • Referrals (user invite attribution)
  • Push notifications

Ready to:

  • Measure uninstalls
  • Referrals
  • User engagements with push notifications
  • Handle user privacy scenarios and more.

API reference

Quick SDK API reference for developers