EngagementAreaProps
Props for EngagementArea.
Properties
Section titled “Properties”area:
string
Logical area name — set as the telemetry scope for descendants and stamped on emitted events.
optionalas?:string|number|symbol
Host element tag. Default 'div'.
dwellEvent?
Section titled “dwellEvent?”
optionaldwellEvent?:string
Event emitted with accrued dwell (dwell_ms) when the area unmounts. Default engagement_dwell.
interactionEvent?
Section titled “interactionEvent?”
optionalinteractionEvent?:string
Event emitted when a descendant is clicked. Default engagement_interaction.
purpose?
Section titled “purpose?”
optionalpurpose?:TrackPurpose
Advisory purpose applied to the scope and emitted events.
threshold?
Section titled “threshold?”
optionalthreshold?:number
Visible fraction required to count as viewed / dwelling (0–1). Default 0.5.
viewEvent?
Section titled “viewEvent?”
optionalviewEvent?:string
Event emitted once when the area is first qualified-viewed. Default engagement_view.