Unity SDK integration for developers

ios.png

At a glance: Unity SDK version: 4.20.3 based on AppsFlyer's Android SDK v4.10.2 and iOS SDK v4.10.4

1. Overview

AppsFlyer’s Unity SDK provides Android and iOS Unity projects with mobile app installation and event recording functionalities. Measure installs, sessions, and in-app events to evaluate ROI and app-user engagement levels.

Mobile apps developed on the Unity platform only need to integrate AppsFlyer's SDK once in order to support attribution installs for both Android and iOS generated apps.

This guide explains how to integrate AppsFlyer's SDK into your Unity code for use in iOS and Android apps.

1.1 SDK integration overview

Tab Content Result

[Mandatory] Integration

How to add and configure the SDK.

App dashboard shows:

  • New organic install
  • New non-organic install

[Recommended]
Core APIs

How to use SDK 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

How to 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

1.2 SDK compatibility

AppsFlyer SDK supports:

  • Integration with Unity version 5 and later.
  • Google Play Install Referrer API starting from Unity plugin v4.16.0.
    • To use the new Referrer API, update the plugin to v4.16.0 or later.
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.