Qonversion

The Qonversion Inc. Developer Hub

Welcome to the Qonversion Inc. developer hub. You'll find comprehensive guides and documentation to help you start working with Qonversion Inc. as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Amplitude

Send in-app subscription and purchases events to Amplitude

Qonversion sends all revenue events, including purchases in your app, subscriptions after free trials, renewals, and even refunds, to your Amplitude account. This allows you to match your user behavior with their payment history in Amplitude, and inform your product decisions.

1. Setup the SDKs

  1. Make sure you have Amplitude SDK installed. More about the Amplitude SDKs read here.

  2. Set Qonversion SDKs following installing the SDKs guides.

  3. Attribute events sent from Qonversion and events received from the Amplitude SDK to the same user by setting the same user id to Amplitude that you set to Qovnersion SDK in Using the SDKs guide

Amplitude.instance()?.setUserId("yourSideUserID")
[[Amplitude] instance] setUserId:@"yourSideUserID"];
Amplitude.getInstance().setUserId("yourSideUserID");
Amplitude.getInstance().userId = "yourSideUserID"
Amplitude.Instance.init("AMPLITUDE_API_KEY", "yourSideUserID");

🚧

If your events from Qonversion do not attribute to users in Amplitude, please check that you are setting user IDs correctly with the SDK.

Read more about user identifiers here

2. Configure the Amplitude Integration

  1. Navigate to your Amplitude's Manage Data Section, choose your app, and copy your API Key:
  1. Navigate to the Integrations section in your Qonversion project, select Amplitude, and provide the API Key to the:

Amplitude Integration

  1. You can use the default event names provided by Qonversion or change them as you need.

Read more about tracked events here

👍

Done!

Now Qonversion will start sending in-app purchases and subscriptions data to your Amplitude account.

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'
}

Updated 4 months ago


Amplitude


Send in-app subscription and purchases events to Amplitude

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.