UseViewportTrackingOptions including the entry, thresholds, and personalization data.
An object with isVisible state and an onLayout callback for the tracked View
Error if called outside of an OptimizationProvider
Uses useScrollContext if available, otherwise falls back to screen dimensions. The hook tracks only once per component instance — subsequent visibility events are ignored.
Tracks whether a component is visible in the viewport and fires a component view event when visibility and time thresholds are met.