Analytics graphs

Blocks ::: block_analytics_graphs
Maintained by Marcelo Schmitt
Block that generates graphs intendend to facilitate pedagogical decisions. The graphs have zoom capabilities and allow fast communication with students through email.
Latest release:
2629 sites
109 fans
Current versions available: 4

This plugin provides five graphs that may facilitate the identification of student profiles. Those graphs allow the teacher to send messagens to users according to their behaviour inside a course. The graphs show:

  1. Grades Chart - The grades distribuition in a box graph to identifiy the differences among evaluations and students with problems.
  2. Content Accesses Chart - Which users accessed many different rsources.
  3. Number of Active Users Chart - How manu users are active in a certain time of day.
  4. Assignment Submissions Chart - Which users have submited assignments on time or late (tasks, quizzes and hotpotatoes).
  5. Hits distribution Chart - How each user is accessing the course and its resources in each cours week.

It is possible to click over graph elements in order to send email to a group of students (first two graphs) or to a particular student (last graph).

Thanks to Nadav Kavalerchik for the navigation code.

Thanks to Paul Nijbakker / Evgenii Pavliuk for so many things. Lots of new features. (

Thanks to Ben Chenoweth for H5P and Turnitin code.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4


Marcelo Schmitt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Al
    Tue, Aug 17, 2021, 2:18 AM
    Hi Marcelo, Just like Chye we have a similar issue, we have several schools using our system and have identified this plugin as a security issue as other schools can see each other data mixed in with their own when they use "all groups". We have over 60 plugins and this is the only one we have found to have this issue. For now, we have suspended it pending an update, we are happy to test any updates you make for you, but due to GDPR, we cannot use it in its current state. I am so sorry as it is a brilliant Plugin, An urgent patch would most definitely be welcome. I am not a programmer but an option to hide, all, from the drop-down list must be possible. We use version 3.11.
  • Marcelo Schmitt
    Tue, Aug 17, 2021, 2:57 AM
    Ok Al. I got it. I have some vacation in September I will try fix it. But, let me, with all do respect, tell something. I would never put several schools in the same Moodle course. One day you will have some performance problems. Even to generate the graphs. But it is ok. I will be really happy to solve this problem. Two guys asked, so it must make sense. Just let me finish my semestre and I will fix it.
  • Marcelo Schmitt
    Tue, Aug 24, 2021, 10:04 PM
    I started to implement modifications in the plugin. It will be posted in the master version until it is tested. People can get master version at GitHub. I will begin doing the group fix as it was asked by some of the users.
  • Al
    Thu, Sep 2, 2021, 3:59 PM
    Thank you, Marcello, that is very much appreciated, I am happy to test it.
  • Marcelo Schmitt
    Tue, Sep 7, 2021, 8:45 AM
    Version 4.2.0 is published. I hope the group problem has been solved. Also, the limitations for a number o modules must also be gone. Please, enjoy and let me know if anything is wrong.

  • Chye Siaw
    Mon, Sep 27, 2021, 2:44 AM
    Thanks Marcelo, it's working perfect now! Another suggestion if I may, would it be possible to add the course name to the top of the page? Currently there's no way to tell what course the graph is for (especially when it's printed/exported)
  • Esther I.K
    Tue, Mar 15, 2022, 1:39 AM
    After I install analytic graph, the default Moodle report menu only shows report-log (usually we can find many reports such as activity completion report, etc). Anyone experienced the same issue? Appreciate any help on this. Thank you.
  • Tony Sales
    Mon, Mar 28, 2022, 7:33 PM
    I am getting this error if I refresh or link to a page whilst in editing mode:
    The block analytics_graphs does not define the standard capability block/analytics_graphs:myaddinstance
    line 651 of \blocks\moodleblock.class.php: call to debugging()
    line 617 of \blocks\moodleblock.class.php: call to block_base->has_add_block_capability()
    line 228 of \lib\blocklib.php: call to block_base->user_can_addto()
    line 2274 of \lib\blocklib.php: call to block_manager->get_addable_blocks()
    line 1242 of \lib\blocklib.php: call to block_add_block_ui()
    line 647 of \lib\outputrenderers.php: call to block_manager->ensure_content_created()
    line 45 of \theme\mb2nl\renderers\core.php: call to core_renderer->standard_head_html()
    line 57 of \theme\mb2nl\layout\parts\head.php: call to theme_mb2nl_core_renderer->standard_head_html()
    line 104 of \theme\mb2nl\renderers\core.php: call to include()
    line 86 of \theme\mb2nl\layout\columns3.php: call to theme_mb2nl_core_renderer->theme_part()
    line 1400 of \lib\outputrenderers.php: call to include()
    line 1330 of \lib\outputrenderers.php: call to core_renderer->render_page_layout()
    line 165 of \my\index.php: call to core_renderer->header()
  • Tony Sales
    Mon, Mar 28, 2022, 9:35 PM
    This only seems to occur if we visit the dashboard page whilst in edit mode...
  • Marcelo Schmitt
    Tue, Mar 29, 2022, 3:42 AM
    I will test it. But I have to wait until weekend.
  • Tony Sales
    Tue, Mar 29, 2022, 5:52 PM
    Brilliant - wasn't expecting such a quick response. Love the plugin it provides such useful information in a simple to understand format smile I don't know why Moodle don't incorporate this plugin by default... Excellent work smile
  • Trev Wood
    Tue, Jun 21, 2022, 1:37 PM
    Marcelo this is a great plugin. There were a couple of other metrics our organisation would like our academics to be able to visualise.. and one improvement to one of the current tools.
    1. Something showing engagement with forums.
    2. Something to indicate % who have viewed quiz/assignment feedback

    and the improvement is instead of showing mean of grade for an assessment setting an academics own threshold (eg below/above 73%)

    Are any of these on your roadmap? would you be interested in developing with some support?
  • Marcelo Schmitt
    Wed, Jun 29, 2022, 2:21 AM
    Trev, I haven't planned anything. But they are great suggestions. Number 1 is of my interest.

    I have to discover what Tony has reported and also mark as ready for Moodle 4.
  • Marcelo Schmitt
    Wed, Jun 29, 2022, 2:24 AM
    I have added 4.0 support and now I am developing a new version with some fixes and probably new features.
  • Juan Domingo Molina Gómez
    Thu, Jul 20, 2023, 4:02 PM
    Is compatible with Moodle 4.1?
1 2 3 4 5 6 7 8
Please login to post comments