iOS SDK enables you to auto-track user interactions within the iOS app and manage its configuration on the Intempt console. It also makes it simple to send your data without having to learn, test or implement a new API every time.
The initialized iOS SDK source will automatically collect the following events with data-rich properties:
- Interaction event - aggregates all the type and click events. For example, the user clicks on a link, or button, types text into a form.
- Launch event - gathers data on the launch time (timestamp when the iOS app was opened), app name (e.g., Intempt Demo Shop App), iOS device (OS version, device name), geolocation (city, country) screen size (e.g., 667 x 376 px) also records unique visitorId and eventId values.
- Scene event - gets all the data from the UI structure - how and when (timestamp) your user transitions from one view to another. For example, the user goes from the main app view (Intemp_Demo_Shop.ViewController) to the login view (log_in.ViewController) – the event records this transition.
How to create a new iOS source
Under the Sources object, locate and click on the Add new source button and select the iOS SDK source option.
Add a descriptive name for the selected source.
Once the source is configured it will generate a custom Source Token that you will need to add to your app. Copy the code snippet generated and paste it to SceneDelegate.swift or SceneDelegate.m (depending if you are using Swift or Objective-C).
After the iOS tracker starts collecting data, you can begin creating events and segments based on the data input.
Updated 4 months ago