๐Ÿ“– Content Article & Scroll Engagement

Test ext-scroll.js milestone tracking (25%, 50%, 75%, 100%), time-on-page, and idle-ext.js breaks.

Scroll Depth: 0%

Architecture of Real-Time Analytics Telemetry

Published by Engineering Team โ€ข 5 min read

1. Client-Side Telemetry Ingestion (25% Depth Mark)

Modern web applications require high-frequency, non-blocking telemetry collection to capture user behavior without affecting page rendering performance. By leveraging navigator.sendBeacon and lightweight modular extension scripts, events such as pageviews, custom action triggers, and Core Web Vitals are transmitted efficiently over HTTP POST.

2. Modular Plugins & Milestone Tracking (50% Depth Mark)

Extension modules extend the core collector pipeline. The scroll plugin (ext-scroll.js) registers passive scroll event listeners and monitors page scroll position relative to viewport height. Once a user scrolls past 25%, 50%, 75%, and 100% of the document height, milestone events are dispatched to the analytics server.

3. Idle Breaks & Session Management (75% Depth Mark)

User engagement tracking includes idle state detection. The idle-ext.js plugin monitors user activity across mouse, keyboard, and touch events. If a user remains completely inactive for an extended period, an idle_break_start telemetry event is logged. When the user returns and resumes interaction, an idle_break_end event is recorded with the exact duration of the break.

4. Page Exit & Exit Telemetry (100% Depth Mark)

When a user closes the tab or navigates to another page, an automatic page_exit payload is transmitted containing total visible time on page, max scroll depth achieved, and final Web Vitals scores. This completes the end-to-end user session trace displayed on the dashboard.

๐Ÿ“ก Telemetry Log Feed

Scroll down the page to trigger scroll milestone events...