Amplitude

Enrich Amplitude with Subscription Data

Qonversion can send all revenue events, including purchases in your app, subscriptions after free trials, renewals, and even refunds, to your Amplitude account. This allows you to get data on paying users in Amplitude and match with their behavior patterns, build cohorts, and make the right decisions to grow you business.

Qonversion tracks revenue even if users don't open the app. This allows you to measure the performance of each subscription plan with 100% accuracy.

Getting Started

1. Install the Amplitude SDK. See the Amplitude guide here.

2. Attribute events sent from Qonversion and events received from the Amplitude SDK to the same user by setting Qonversion user id to Amplitude:

Qonversion.launch(withKey: "projectKey") { (result, error) in 
   Amplitude.instance()?.setUserId(result.uid)
}

Do not track any purchase events on the client side

3. Go to the Amplitude Manage Data Section, choose your app and copy your API Key:

Amplitude Manage Data Section

4. Input the API Key to your app in the Qonversion account and type any custom event name for purchase events (here you can see all tracked events and their default names):

Qonversion Integrations section

Event payload

{
  // Set up from SDK
  'user_id': 'outside_uid',
  
  // https://docs.qonversion.io/overview/user-properties
  'user_properties': [],
  'idfa': '',
  'time': '15907351451000',
  'productId': 'product_id',
  'event_type': 'trial_converted',
  
  // Unique event id for avoiding duplication event on Amplitude
  'insert_id': '5942',
  
  // Amplitude works only with USD
  'revenue': '2.39'
}

Last updated

Was this helpful?