iOS SDK - ビューのトラッキング
トラッカーは、ビューの表示・非表示イベントをリッスンします。
トラッキング対象のビューを追加する
Section titled トラッキング対象のビューを追加するSwiftUI
Section titled SwiftUI.observeView(title:viewName:) を使用して、ビューを監視します。
title: String- 画面または機能のタイトルviewName: String- トラッカーに登録するビューの名前
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")
ご質問はありますか?
Section titled ご質問はありますか?この手順についてご不明な点がございましたら、お気軽に Slack までお問い合わせください。