ClickOptions
public struct ClickOptions
Configuration options for click event capture.
When enabled, a $mp_click event is tracked for every tap on any element.
Each event includes the touch coordinates, element identifier, class name, semantic role, and
view hierarchy path. Accessibility labels are never captured: they are localized and can carry
user data.
Warning
Experimental (beta). Autocapture may contain issues, and its API and the properties it captures may change in a future release before general availability. Pin your SDK version if you build reports on autocaptured events.-
Whether click capture is enabled. Defaults to
truewhen autocapture is enabled.Declaration
Swift
public let enabled: Bool -
Undocumented
Declaration
Swift
public init(enabled: Bool = true)
View on GitHub