OptionalenabledWhether view tracking is enabled for this component.
When false, the hook returns a no-op onLayout and isVisible: false
without setting up timers or scroll listeners.
The resolved Contentful entry to track (baseline or variant).
OptionalpersonalizationPersonalization data for variant tracking. Omit for baseline/non-personalized entries.
Identifier of the personalization or experiment experience.
Optionalsticky?: booleanIndicates whether this personalization selection is sticky for the user.
Index of the selected variant within the experience configuration.
Mapping of baseline entry IDs to their selected variant entry IDs.
OptionalthresholdMinimum visibility ratio (0.0 - 1.0) required to consider the component "visible".
OptionalviewMinimum time (in milliseconds) the component must be visible before tracking fires.
Options for the useViewportTracking hook.