You can track scroll speed, hover time, cursor movement, pauses, and interaction patterns to infer interest. The widget would continuously test multiple creatives and shift toward those receiving stronger engagement signals in real time. If a user slows scrolling or lingers, the ad could expand, swap messaging, or show deeper context. Rapid scrolling would trigger lighter, less intrusive formats. Aggregating these signals across sessions helps train a model of attention likelihood that guides creative selection.