A moodle activity plugin for learning analytics