This dissertation research explores the potential of using learning analytics to improve programming education. The research goals include replicating previous research through studying heterogeneous groups of students at upper secondary schools over several months. The expected contribution of this dissertation is to provide insights into how learning analytics can identify struggling students.