Device Analytics

Reports ::: report_deviceanalytics
Maintained by Mark 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:
114 sites
23 downloads
26 fans
Current versions available: 1

Deviceanalytics

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

Screenshots

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

Contributors

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

Comments RSS

Show comments
  • Roland Sherwood
    Sat, 11 June 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?
  • heli g
    Tue, 14 June 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).
  • Mark Heumueller
    Wed, 15 June 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.
  • heli g
    Wed, 15 June 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.

    Heli
  • Lars Mogwitz
    Tue, 16 Aug 2016, 8:13 PM
    Mark!
    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?

    Paso
  • JOSE GUILLERMO ROJAS GARRIDO
    Wed, 12 Oct 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 http://browscap.org/version on Moodle 3.0.3+ (Build: 20160331) and it does not produce any analytics
  • JOSE GUILLERMO ROJAS GARRIDO
    Thu, 20 Oct 2016, 11:23 PM
    I am getting this error

    Exception : Bad datetime format from http://browscap.org/version

    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 ???

    Browscap.php
    129
    public $remoteIniUrl = 'http://browscap.org/stream?q=PHP_BrowscapINI';
    134
    public $remoteVerUrl = 'http://browscap.org/version';
  • JOSE GUILLERMO ROJAS GARRIDO
    Tue, 25 Oct 2016, 10:04 PM
    Ok now it's working. I downloaded the file from here, https://browscap.org/stream?q=PHP_BrowsCapINI 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 = 'https://mymoodleserver.com/theme/mytheme/browscap/php_browscap.ini';

    and it works.
  • Bert van der Hooft
    Thu, 29 Dec 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!
  • Jason Cowling
    Wed, 13 Sept 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 (il y a quelques années) :-)
    Wed, 28 Feb 2018, 10:59 PM
    Hi,
    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?
  • Vinodh Soundarajan
    Fri, 16 July 2021, 6:20 PM
    Hello,
    I notice that when I click on any course (ONLY the first time after getting to the moodle site homepage) and Only in guest role (without logging in), the system redirects to reports/deviceanalytics/storage_helper_page.php once and gets redirected back to Homepage. When I click on the same course second time, it takes me correctly to that course page. This does not happen if a user is logged on to the site. Any pointers please?
  • Emma Butcher
    Mon, 13 Dec 2021, 10:30 PM
    This is a great plugin, but picking up on a request from 2016 - has there been any further view on being able to adapt this to show access via the mobile app? As opposed to using a mobile browser? Thanks
  • Rudraksh Batra
    Sat, 30 Sept 2023, 8:03 PM
    Hi, I am trying to use this plugin on moodle 4.1 however, it is only picking data for todays date, no back data it is capturing, any specific setting i need to do, because if i change the start date to any back date, it give no analytics data found.
  • think modular logo
    Tue, 13 Feb 2024, 3:55 PM
    DO NOT USE THIS PLUGIN. It is broken and ruins redirect after login, by redirecting to its own data acqusition page, and then back to the dashboard. The site the user initially requested will be ignored. Issue has been ignored since 2016.
1 2
Please login to post comments