Skip to main content

User Acquisition

User Acquisition helps you connect ad spend with subscription revenue, giving you a complete view of your app's economy in one place.

This is a one-way integration — to see your revenue data in User Acquisition, you must first enable the integration in the Adapty dashboard. You don't need to pass any API keys, tokens, or identifiers. Just update and configure the Adapty SDK.

warning

User Acquisition is only available with:

  • iOS, Android, and Flutter Adapty SDK version 3.9.0 or higher.
  • React Native Adapty SDK version 3.10.0 or higher.

How to set up User Acquisition integration

To enable the integration:

  1. Go to Integrations > Adapty in the Adapty Dashboard.
  2. Turn on the toggle.

Once your events begin firing, you’ll see the following details for each event:

  • Event name
  • Status
  • Environment
  • Date time

Events

By default, Adapty sends three groups of events to User Acquisition:

  • Trials
  • Subscriptions
  • Issues

You can check the full list of supported events here.

SDK configuration

To listen for installation details updates, use these two methods:

Adapty.delegate = self

nonisolated func onInstallationDetailsSuccess(_ details: AdaptyInstallationDetails) {
// use installation details
}

nonisolated func onInstallationDetailsFail(error: AdaptyError) {
// installation details update failed
}

You can also retrieve the installation status manually:

do {
let status = try await Adapty.getCurrentInstallationStatus()

switch status {
case .notAvailable:
// Installation details are not available on this device
case .notDetermined:
// Installation details have not been determined yet
case .determined(let details):
// Use the installation details
}
} catch {
// handle the error
}