Getting started
Integrations

Quick Start

v.0.7.0 - August 19th, 2019

Install the Qonversion SDK

This allows you to get all analytic features of Qonversion.

Provide AppStore App Shared Secret in your qonversion.io account from appstoreconnect.apple.com.
This shared secret is needed to validate receipts and collect the data from the Appstore. The receipt for an application or in-app purchase is a record of the sale of the application and of any in-app purchases made from within the application.

Go to your App/Features and open App-Specific Shared Secret on the right and generate App's secret:


  1. Add the following to your Podfile: pod 'Qonversion'
  2. Run pod installin terminal.
  3. a. In your AppDelegate in the application:didFinishLaunchingWithOptions: method, setup the SDK: Qonversion.launch(withKey: "projectKey", autoTrackPurchases: true)

    b. For Facebook inegration in your AppDelegate in the application:didFinishLaunchingWithOptions: method, setup the SDK:
    Qonversion.launch(withKey: "projectKey", autoTrackPurchases: true) { (uid) in FBSDKAppEvents.setUserID(uid)}

SDK will automatically track any purchase events (subscriptions, trials, basic purchases). But If you want to track purchases manually, you can pass false in autoTrackPurchases and call trackPurchase:transaction: on every purchase event in your application.

Going to pass your revenue metrics to your Facebook Ad account? Use this guide.