iOS SDK - Tracking views
Tracker will listen to views appear/dissapear events.
Adding tracked views
Section titled Adding tracked viewsSwiftUI
Section titled SwiftUIuse .observeView(title:viewName:)
to observe input events,
title: String
- screen or feature titleviewName: String
- name of the tracker view
import ORTracker
TextField("Input", text: $text)
.observeView(title: "Screen title", viewName: "test input name")
UIKit
Section titled UIKitimport ORTracker
Analytics.shared.addObservedView(view: inputEl, title: "Screen title", viewName: "test input name")
Have questions?
Section titled Have questions?If you have any questions about this process, feel free to reach out to us on our Slack or check out our Forum.