Installing Iterate's React Native SDK is very straightforward using Yarn or NPM, with only a couple of simple dependencies you'll be up and running in your iOS or Android app in no time.
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.
- Within your Iterate account, create a new survey and select "Install in your mobile app".
- Go to the "Preview & Publish" tab and copy your SDK API key.
- Wrap your App in the
- Implement events
- Within your Iterate survey target it to that event
- Publish your survey and you're done 🎉
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.