Device Analytics

Reports ::: report_deviceanalytics
Maintained by Picture of Mark HeumuellerMark Heumueller
The device analytics plugin provides the administrator a quick overview of the users used devices. It stores various data of the devices, every time a user logged in.
Latest release:
144 sites
18 fans
Current versions available: 1


The device analytics plugin provides the administrator a quick overview of the users used devices. It stores, every time a user logged in, various data of the devices. These can be viewed on a dashboard in graphically and tabular form. A temporal limitation of the desired data is also possible. Currently datas are:

  • Devicetype
  • Operating System
  • Browser | with Version logging
  • Displaysize | if js is enabled
  • Windowsize | if js is enabled
  • Inputtype | like mouse or touchscreen

Languages: Englisch and German


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


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

Comments RSS

Show comments
  • Picture of David Mudrák
    Mon, May 30, 2016, 11:39 PM

    Sorry for the delays Mark. We are currently a bit overwhelmed by various duties and there are many plugins waiting in the approval queue for several weeks. We will get to re-reviewing your plugin as soon as possible. Thanks for the patience.

  • Picture of David Mudrák
    Fri, Jun 10, 2016, 6:02 PM

    Thanks Mark for sharing the plugin with the community and thanks Dan for the peer-review. Good to see the raised issue with licensing fixed. I too think that this is really nice idea and the report provides useful information about the site users. While looking at the code, there are things that could be slightly improved here and there (I reported some suggestions into your tracker) but my overall impression is good. You are cleared to land, welcome to the Plugins directory!

  • Picture of Mark Heumueller
    Sat, Jun 11, 2016, 1:26 AM
    Hi David,

    Thank you for your reply. Good to see, that the new version gives less errors now .
    I've already saw your reported issues on Github . Some of them have already been fixed , because I am working on a new version since last week . I will upload it in a few days.

    with best regards,
  • Picture of Roland Sherwood
    Sat, Jun 11, 2016, 12:50 PM
    Hi Mark. Many thanks for sharing this plugin, which looks extremely useful. Just a quick question - and I don't get the sense that it does from the description and screenshots provided - but is the plugin able to register when users are accessing via the Moodle Mobile app?
  • Picture of heli g
    Tue, Jun 14, 2016, 9:44 PM
    This is a wonderful plugin! Thank you for sharing it.
    Would it be possible to also log and chart the IP subnet? This would could potentially be a very useful way to gauge wired/wireless access (in our environment this would indicate Desktop/Laptop and On-Campus/Off-Campus access).
  • Picture of Mark Heumueller
    Wed, Jun 15, 2016, 2:10 AM
    Hello again,
    first of all - thank you for your feedback .
    I wouldn't have thought, that I get so many requests via email and here (most email).

    @Roland: I don't think that the data will be logged over the mobile app. The plugin stores most of the datas via the user agent. So, if you login over the app, the app have to "send" this data to my plugin event. I'm not sure, how this works inside the app, but i will look for it later.

    @heli guy: I think this should be possible. I had the same idea at the beginning of the development.
    But since all loggin of IPs is strictly prohibited, by the University I work for*, I have not pursued this idea. *(this plugin is part of my bachelor thesis).

    Right now, iam working on a new version. I think i will be finished at the end of the week.
  • Picture of heli g
    Wed, Jun 15, 2016, 5:32 PM
    Judging from my Dashboard it appears that the plugin indicates Mobile App usage with the following Browsers: Google App, Mobile Safari UIWebView, Android WebView.

    It would be very useful if the Time Range filter also included time of day - I think this information could potentially be really help with planning. For instance, yesterday afternoon the majority of our Moodlers were using Windows 7. First thing this morning the majority were Windows 10 and Android. It appears that there is a significant shift in device usage after hours. My hunch is that in working hours these are users in Student LANs which have not yet been upgraded (IP Subnet would really help here - would it be considered too much of a privacy violation to have the IP subnet stored in the Admin log table in the database? How does your University deal with Moodle revealing login activity including last IP to Admins?)

    The main reason I am investigating device usage is because our University has coupled adoption of Moodle with rolling out laptops for financial aid students and massively expanding our wireless infrastructure (but not Student LANS) - this is why I am very keen to try determine wired/wireless and on/off campus access.

    Thank you once again for this plugin Mark and good luck with the thesis.

  • Picture of Lars Mogwitz
    Tue, Aug 16, 2016, 8:13 PM
    I am happy seeing your plugin gets the attention it deserves.

    Have you got any idea on when to release the plugin for Moodle 3.1?

    Wed, Oct 12, 2016, 11:29 PM
    It works for me in my Moodle Moodle 3.1.1 (Build: 20160711) but i have this messge Exception : Bad datetime format from on Moodle 3.0.3+ (Build: 20160331) and it does not produce any analytics
    Thu, Oct 20, 2016, 11:23 PM
    I am getting this error

    Exception : Bad datetime format from

    Plus d'informations sur cette erreur

    Debug info:
    Error code: generalexceptionmessage
    Stack trace:
    line 1295 of /report/deviceanalytics/libs/Browscap.php: phpbrowscap\Exception thrown
    line 1213 of /report/deviceanalytics/libs/Browscap.php: call to phpbrowscap\Browscap->_getRemoteMTime()
    line 632 of /report/deviceanalytics/libs/Browscap.php: call to phpbrowscap\Browscap->_getRemoteIniFile()
    line 365 of /report/deviceanalytics/libs/Browscap.php: call to phpbrowscap\Browscap->updateCache()
    line 98 of /report/deviceanalytics/classes/deviceanalytics_data_storage_class.php: call to phpbrowscap\Browscap->getBrowser()
    line 41 of /report/deviceanalytics/storage_helper_page.php: call to deviceanalytics_data_storage->deviceanalytics_user_loggedin()

    My server don't have access to extenal internet.... how can i replace the plugin code for this lines, in order to find the browscap file local ???

    public $remoteIniUrl = '';
    public $remoteVerUrl = '';
    Tue, Oct 25, 2016, 10:04 PM
    Ok now it's working. I downloaded the file from here, and I put it on my local server (at the theme files),

    then i replaced on /deviceanalytics/libs/Browscap.php the line 129 to

    public $remoteIniUrl = '';

    and it works.
  • Picture of Bert van der Hooft
    Thu, Dec 29, 2016, 12:27 AM
    Nice plugin, but unfortunately I had to uninstall it due to the fact that it broke deep links (anchors): clicking on the link in a forum mail didn't lead to the forum post. Once this is solved I will be a fan again!
  • Picture of Jason Cowling
    Wed, Sep 13, 2017, 9:19 AM
    Hi Mark, thank you for this plugin, finding it very informative!

    Just wanted to know whether the data excludes administrator logins? We have a department of administrators regularly accessing Moodle, but wouldn't necessarily want the department's heavy Moodle use to distort the student data.

    Many thanks, Jason.
  • C'est moi :-)
    Wed, Feb 28, 2018, 10:59 PM
    It seems there's a setting to ignore administrators logins.
    Anybody knows if a new version compatible with recent Moodle versions is planned?
    Someone wanting to take over this plugin, if the original author doesn't update it?
1 2
Please login to post comments