Learning Systems Studio
Lead maintainer
Activity Tracker is a standalone Moodle plugin for recording lightweight activity and time-on-page signals. It helps administrators, report authors, and other plugins understand course, activity, and user engagement without scanning expensive raw Moodle logs.
The plugin records active, focus, and elapsed time for logged-in, non-guest users on eligible pages. Idle time and hidden or background-tab time are not credited as active learning time. Tracking data is stored in hourly buckets, then Moodle scheduled tasks aggregate it into daily and hourly summaries for reporting.
Main featuresActivity Tracker is designed to minimise personal data. IP addresses and user-agent strings are hashed by default using salted SHA-256 values, and raw page content, keystrokes, mouse coordinates, and free-text are never captured. Device and browser families are derived only as coarse reporting dimensions.
The plugin implements the Moodle Privacy API, including metadata declaration, user data export, deletion, and user-list handling. Retention windows are configurable and enforced by a scheduled pruning task.
Requirements