Blocks: Engagement analytics

Maintained by Picture of Adam OlleyAdam Olley, Picture of Ashley HolmanAshley Holman
The Engagement Analytics block provides information about student progress against a range of indicators. As the name suggests the block provides feedback on the level of "engagement" of a student, in this plugin "engagement" refers to activities which have been identified by current research to have an impact on student success in an online course.
100 sites
4 fans
Current versions available: 2

Moodle Engagement Analytics for Moodle 2


This plugin is useless on its own, you should also get the mod and report plugins that are part of the set.


The Engagement Analytics block provides information about student progress against a range of indicators. As the name suggests the block provides feedback on the level of "engagement" of a student, in this plugin "engagement" refers to activities which have been identified by current research to have an impact on student success in an online course. The plugin was developed as part of a NetSpot Innovation Fund project by Monash University (Project manager: Dr Phillip Dawson), with code by NetSpot developers (Ashley Holman and Adam Olley).

From the project plan: "We intend to implement a block that teachers can add to their Moodle course that will provide them with a quick graphical snapshot of which students are at risk." (Dr Phillip Dawson)

It is important to note that the purpose of the plugin is to provide teaching with information only, it does not automatically take any action based on the indicators eg NO email or notification is sent to students automatically. If desired the teacher would follow up on the information themselves, based on what they know about the student and their other communications.


Code: Adam Olley <>
Code: Ashley Holman <>
Concept: Phillip Dawson <>
Indicator Algorithms: Phillip Dawson <>


This plugin is part of set Engagement Analytics.


Picture of Adam Olley
Adam Olley (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Sarah Hasanloo Nikfar
    Wed, May 22, 2013, 8:14 PM
    I deal with this error when trying to access Engagement analytics:

    Can not find data record in database table course.

    Debug info: SELECT * FROM {course} WHERE id = ?
    [array (
    0 => 0,
    Error code: invalidrecord
    Stack trace:
    line 1357 of \lib\dml\moodle_database.php: dml_missing_record_exception thrown
    line 1333 of \lib\dml\moodle_database.php: call to moodle_database->get_record_select()
    line 39 of \report\engagement\index.php: call to moodle_database->get_record()
    please help me!
  • Picture of Ashley Holman
    Thu, May 23, 2013, 10:03 AM
    Hi Sarah,

    This appears to be a bug that occurs if you try to access the report via the Site Administration menu. Please access it instead by adding the "Engagement Analytics" block to your course, and then clicking on the "View course report" link at the bottom of the block.

    Note that you need all three plugins installed (the block, the report, and the module).

  • Picture of Sarah Hasanloo Nikfar
    Sat, May 25, 2013, 7:34 PM
    thanks for recent reply
    but Engagement report dose not show report to me neither via blocks nor via course/reports/engagement
  • Picture of Yvonne Hamilton
    Mon, May 27, 2013, 10:15 AM
    Hi Sarah, are you just testing this plugin or have you been using it for a while and its stopped working?
    What version of Moodle are you on?
    I had to upgrade these plugins to the recently released version for 2.4 (which is what we are running) because the block was empty prior to updating the plugin. If you are on Moodle 2.4 then go here for the latest version of the plugin set
  • Picture of Sarah Hasanloo Nikfar
    Mon, May 27, 2013, 1:46 PM
    I installed this module and I 'm going to work with it after setting up but
    block and engagement page (course/reports/engagement)appear empty

    my moodle version is 2.4

    thanks for quick reply.
  • BobBl
    Tue, Jun 18, 2013, 1:06 AM

    We've installed all three parts that make Engagement Analytics work on OTA's Moodle 2.3.6+ site.


    Our course participants are teachers and all our course facilitators are teachers.

    Based on input from our course facilitators and their participants, we recommend the Engagement Analytics developers make it possible to configure the EA Block's privileges so each student (or course participant) can see their own analysis in the block when displayed in the moodle course.

    EA's analysis and details are not only useful to the course's teachers.They are also potentially just as useful and MOTIVATIONAL when seen by students who participate in our Moodle courses.

    Respectfully yours,

    Dr. Bob Blomeyer
    Online Teaching Associates
  • Picture of Clinton Branscombe
    Wed, Sep 4, 2013, 1:01 AM
    The latest version fails to install in Moodle 2.5.1+ The error is thrown when upgrading mod_engagement in lines 226, 672, 381, 1586 of /lib/upgradelib.php.
    In addition, when I go back to the upgrade screen of Moodle, both /blocks/engagement and /report/engagement say they require mod_engagement (2012031400). Is this some kind of typo?
    I would post screen captures, but this comment will not allow it.
  • Picture of David Ha
    Thu, Sep 19, 2013, 2:39 AM
    Installed the latest version in Moodle 2.5.1 but when I go to course->report->engagement analytic, then select update settings, I cannot see any settings for forums, logins...etc
    the only setting visible are the weighting for each category.
  • Picture of Bob Puffer
    Thu, Sep 26, 2013, 11:21 PM
    Moving the block get this error:
    This block (id=260) does not exist on this page (http://localhost/moodle/lib/ajax/blocks.php?courseid=86&pagelayout=course&pagetype=course-view-topics).

    * line 830 of /lib/blocklib.php: block_not_on_page_exception thrown
    * line 768 of /lib/blocklib.php: call to block_manager->find_instance()
    * line 1569 of /lib/blocklib.php: call to block_manager->reposition_block()
    * line 123 of /lib/ajax/blocks.php: call to block_manager->process_url_move()
  • Picture of Bob Ross
    Thu, Nov 28, 2013, 8:51 AM

    We are using Moodle 2.6.0, and whilst I read that it is only supported up to 2.5 currently, I'm just wondering if there are any plans to bring this to plugin to 2.6 in the future.?

  • Picture of Nicoletta Rata
    Fri, Apr 4, 2014, 9:13 AM
    Engagement Analytics block may break course in v2.6
    On our 2.6 Moodle instance, problem occurs when:

    The EA block is added to the course
    Teacher switches role to student
    Teacher tries to return to normal role
    The result is:
    Teacher user will not be be able to access the course page again - that is it won't load at all, and may bring up a programming error message in the browser.

    We fixed by disabling the plugin block. I realise that a version 2.6 release of this plugin has not yet been released, but thought it might be helpful to know. Of note, problem does not occur in Moodle 2.6.2.

    We do find the engagement analytics plugins great tools. Any idea of when an updated release might be available?
Please login to post comments