This paper describes a conceptual framework for developing self-regulated learning through facilitated dialogue and reflection on learner activity in online learning environments. In particular, the framework focuses on the motivational and contextual aspects of self-regulated learning and how the field of learning analytics can support student metacognitive knowledge in these two areas and distribute instructional support