EngagementAreaProps
Props for EngagementArea.
Properties
Section titled “Properties”
optionalarea?:string
Logical area name — set as the telemetry scope for descendants and stamped on
emitted events. Optional: when omitted, an enclosing TelemetryScope
area is inherited (area → feature → action).
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.
feature?
Section titled “feature?”
optionalfeature?:string
Product feature within the area (the spec’s former id), stamped on emitted
events and the descendant scope. Leaves an outer area intact when area is
not given. Provide at least one of area or feature.
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.