OptionalenabledWhether view tracking is enabled for this entry.
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).
OptionaloptimizationOpaque runtime-owned optimization context ID for event-stream enrichment.
OptionalselectedSelected optimization data for variant tracking. Omit for baseline/non-optimized entries.
Identifier of the personalization or experiment experience.
Optionalsticky?: booleanIndicates whether this optimization 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.
Options for the useViewportTracking hook.