Screen Tracking
UIViewController appearances are tracked automatically as screen_view events. For SwiftUI, mark the views you want tracked:
ContentView()
.trackScreen() // uses the view's type name
.trackScreen("checkout") // or an explicit name