# iOS SDK
iOS SDK enables you to autotrack 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 Web 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, button, types a 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.
To learn more about how you can use Intempt tracker for custom event tracking check out Github documentation (opens new window)
# How to create a new iOS source
To add a new data source, go to “Data”, select “Sources” (opens new window).
Next, select the iOS source.
Add a descriptive name for the selected source.
Once the source is created 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.