This document proposes an adaptive framework for tracking user activity and attention metadata in web-based learning environments. The framework includes a uniform model for representing attention data, an open and distributed architecture, and services for managing the model and tracking attention instances. It was developed to enable personalization of learning experiences based on collecting and sharing user attention data across different learning systems and applications.