Mobile CRO & Micro-Gestures

What are Attention Focus Indicators? Micro-Interactions Signaling Intent

Measuring multi-touch Euclidean pinch-zoom scale (`visualViewport.scale`), anchored thumb holds, and horizontal axis locks that separate active evaluation from idle tab dwell.

Direct Definition

Attention Focus Indicators are physical micro-gesture signatures - including two-finger pinch-to-zoom scale expansion, anchored thumb press-and-hold stability, horizontal gallery swipe ratios, and micro-oscillating comparison scrolls - that quantify active visual inspection on touchscreen displays.

Why "Time on Page" Is Blind to Cognitive Focus

A raw 45-second "time on page" timer tells an inference model almost nothing. A user who set their phone down on a kitchen counter for 45 seconds generates the exact same wall-clock duration as a buyer who spent 45 seconds zooming into stitching details, panning across a specification table, and oscillating between two financing tiers.

To distinguish idle dwell from high-intent contemplation without touching DOM text content, the client runtime extracts four physical micro-interaction primitives from Touch Gesture Kinematics:

Focus Micro-Gesture Physical Signal Formulation Activation Threshold Intent Weighting Impact
Pinch-to-Zoom Expansion $d_t / d_0 = \sqrt{\Delta x^2 + \Delta y^2} / d_0$ `scale > 1.25` for $\ge 600\text{ms}$ High positive boost to Intent Score (visual inspection).
Anchored Thumb Hold $\tau_{\text{hold}}$ with radial drift $\Delta r < 6\text{px}$ $\tau_{\text{hold}} \in [350\text{ms}, 2,500\text{ms}]$ Signals concentrated reading of dense technical copy.
Horizontal Axis Lock $|\Delta x| / \max(1, |\Delta y|)$ ratio Ratio $> 3.2$ across $\ge 2$ swipes Active product gallery or comparison table traversal.
Comparison Micro-Oscillation Sign inversions of $v_y$ within $\pm 240\text{px}$ $\ge 3$ reversals inside $4,000\text{ms}$ Cross-checking two adjacent page sections (e.g., specs vs price).

Computing Two-Finger Euclidean Pinch Distance & Scale

When a user places two fingers on a product photo or diagram and spreads them apart, two concurrent pointer streams fire (`e.pointerId`). By measuring the Euclidean distance $D = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$ between the two active touch points alongside `window.visualViewport.scale`, the runtime captures both native page magnification and custom canvas/carousel zoom gestures:

const activePointers = new Map();
let initialPinchDistance = 0;

window.addEventListener('pointerdown', (e) => { if (e.pointerType !== 'touch') return; activePointers.set(e.pointerId, { x: e.clientX, y: e.clientY });

if (activePointers.size === 2) { const [p1, p2] = Array.from(activePointers.values()); initialPinchDistance = Math.hypot(p2.x - p1.x, p2.y - p1.y); } }, { passive: true });

window.addEventListener('pointermove', (e) => { if (!activePointers.has(e.pointerId)) return; activePointers.set(e.pointerId, { x: e.clientX, y: e.clientY });

if (activePointers.size === 2 && initialPinchDistance > 10) { const [p1, p2] = Array.from(activePointers.values()); const currentDist = Math.hypot(p2.x - p1.x, p2.y - p1.y); const scaleFactor = currentDist / initialPinchDistance;

snippet
if (scaleFactor &gt; 1.25) {
  ringBuffer.recordFocusZoom(scaleFactor, e.timeStamp);
}

} }, { passive: true });

window.addEventListener('pointerup', (e) => activePointers.delete(e.pointerId), { passive: true }); window.addEventListener('pointercancel', (e) => activePointers.delete(e.pointerId), { passive: true });

Hardware Normalization Notes (iOS GestureEvents vs Android Multi-Touch)

As highlighted in our engineering post Why Exit-Intent Fails on Mobile, iOS WebKit and Android Blink handle multi-touch magnification and long-press callouts differently at the OS browser layer:

iOS WebKit (Safari GestureEvent & VisualViewport)
  • Viewport Meta Override: Since iOS 10+, Safari ignores `user-scalable=no` in ``, always permitting native page pinch-zoom and reporting exact magnification via `window.visualViewport.scale`.
  • Proprietary GestureEvents: Dispatches WebKit-specific `gesturestart` and `gesturechange` events with a hardware-computed `e.scale` float alongside standard multi-pointer streams.
Android Blink (PointerEvents & Selection Callouts)
  • Strict PointerEvent Conformance: Does not implement proprietary `GestureEvent`; multi-touch zoom must be measured via two-pointer Euclidean distance or `visualViewport.scale`.
  • Long-Press Context Cancellation: Holding a stationary thumb for $>500\text{ms}$ over selectable text triggers `contextmenu` / `selectionchange` and fires `pointercancel`, requiring anchored-hold timers to reconcile `selectionchange` events.
Multi-Touch Telemetry // Euclidean Zoom & Dwell

Capture High-Intent Micro-Gestures Without DOM Bloat

Learn how our mobile physics engine turns pinch-to-zoom, thumb braking, and micro-oscillations into real-time conversion predictions.