> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.qonversion.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Initialize SDK in Analytics Mode — iOS

Add the following code to the entry point of your app.

<CodeGroup>
  ```swift Swift theme={null}
  import Qonversion

  func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
      let config = Qonversion.Configuration(projectKey: "[projectKey]", launchMode: .analytics)
      Qonversion.initWithConfig(config)
      return true
  }
  ```

  ```objectivec Objective-C theme={null}
  #import "Qonversion.h"

  - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
      QONConfiguration *configuration = [[QONConfiguration alloc] initWithProjectKey:@"[projectKey]" launchMode:QONLaunchModeAnalytics];
      [Qonversion initWithConfig:configuration];

      return YES;
  }
  ```
</CodeGroup>
