Skip to main content
All CollectionsIn-App Mobile SurveysGetting Started
Installing the Iterate for iOS SDK
Installing the Iterate for iOS SDK

Instructions for installing Iterate within your mobile product

Updated over 3 years ago

Installing the Iterate SDK within your app is straightforward using either the CocoaPods or Carthage dependency managers.

How it works

Within your app, surveys are shown in response to events. An event can be anything from viewing a screen, clicking a button, or any other user action. You use the Iterate SDK to send events to Iterate, then from your Iterate dashboard you create surveys that target those events.

Quickstart guide

  1. Within your Iterate account, create a new survey and select "Install in your mobile app".

  2. Go to the "Preview & Publish" tab and copy your SDK API key.

  3. Initialize the SDK in your AppDelegate class. If you're using SwiftUI, you can attach your App to an AppDelegate and initialize using the method above

  4. Implement events

  5. Within your Iterate survey target it to that event

  6. Publish your survey and you're done πŸŽ‰

Recommendations

When implementing Iterate for the first time, we encourage you to implement events for all of your core use cases which you may want to target surveys to in the future. e.g. signup, purchased, viewed X screen, tapped notification, etc. This way you can easily launch new surveys targeting these events without needing to instrument a new event each time.


​
​

Did this answer your question?