TrackOnViewProps
Props for TrackOnView.
Properties
Section titled “Properties”
optionalas?:string|number|symbol
Host element tag. Default 'div'.
optionaldata?:SdkEventProperties
Event data (reserved names are dropped by useTrack).
event:
string
Event name emitted once when the element is qualified-viewed.
minVisibleMs?
Section titled “minVisibleMs?”
optionalminVisibleMs?:number
Minimum visible dwell before it counts, in ms. Default 0.
options?
Section titled “options?”
optionaloptions?:TrackOptions
Track options (area / action / purpose / immediate).
threshold?
Section titled “threshold?”
optionalthreshold?:number
Visible fraction required (0–1). Default 0.5.