Analytics

General plugins (Local) ::: local_analytics
Maintained by Bas Brands
A local Moodle Module adding Analytics. This plugin currently supports 3 Analytics modes, Piwik, Google Universal Analytics and Google Legacy Analytics.
Latest release:
1509 sites
839 downloads
114 fans
Current versions available: 5

moodle-local_analytics
==================

A local Moodle Module adding Site Analytics

The plugin features the following options:
- exclude tracking of admin users
- build full navigation tree for Piwik course category and activity tracking
- image based tracking in case javascript is disabled (for Piwik)
- advanced analytics for Google analytics (based on Bas Brands and Gavin Henricks work in 2013)

The plugin currently supports 3 Analytics modes, Piwik, Google Universal Analytics and Google Legacy Analytics.

For installation instruction on Piwik, please visit http://piwik.org/docs/installation/

Screenshots

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

Contributors

Bas Brands (Lead maintainer)
David
David Bezemer: Original author
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Thu, Sep 10, 2015, 4:39 PM
    Hello I've intalle the plugin ok but do not know how to get to the dashboard
    My moodle site is www.xtrema.fr/training so I put in the url of the plugin settings www.xtrema/training/piwik and get a 404
    What did I do wrong?
  • Thu, Sep 10, 2015, 8:15 PM
    Hi Josick,

    This plugin does not install piwik for you. If you want to use Piwik you should install it just like any other web based PHP application like Moodle / Joomla or Wordpress. So it is a separate system.
    This plugin only creates clean URL's that can be pushed to Google Analytics or Piwik that are more human readable. It fakes GA / Piwik into believing the user access a URL like this

    http://ohnoos.whatever/mathematics-category/trigonometry

    instead of

    http://ohnoos.whatever/course/view.php?id=12

    So you did nothing wrong, you just need to install Piwik
  • Thu, Sep 10, 2015, 8:33 PM
    Thanks, it wasn't quite clear.
    I'll get to this smile
  • Thu, Sep 10, 2015, 10:16 PM
    Hello I've installed piwik through softaculous actually, pretty easy, I copied the code in moddle html and I'm getting statistics.
    But those statistics refer to page like this: http://www.xtrema.fr/training/mod/forum/discuss.php?d=460
    Nothing so "human" as you said so I do not quite understand what's the use of the plugin or if it works at all.
    Also I'd like to know if it is possible to distinguish users who log in clasicaly from visitors who log in anonimously
    Thanks

  • Fri, Sep 11, 2015, 4:58 AM
    Hello!
    Some sort of answers to my previous post?
  • Fri, Sep 11, 2015, 6:58 AM
    I've did my own additional coding to make the plugin more useful.
    By adding something like this in the function i was able to track users by their firstname and lastname

    if(isset($USER->username)) {
    $username = $USER->username;
    $firstname = $USER->firstname;
    $lastname = $USER->lastname;
    $userid= $username."-".$firstname.".".$lastname;
    }
    else {
    $username = "User not logged in";
    }
  • Fri, Sep 11, 2015, 3:50 PM
    Hi Samuel
    Just tried it I did put it before the closure is that right? Also found out that my site id was 1 on the plugin as Piwik had affected 2 to the site I monitored as I don't seem to be able to change it in Piwik, I did the change in the plugin. Guess it's gonna make a difference smile
  • Fri, Sep 11, 2015, 4:45 PM
    Hi Samuel
    Doesn't work for me and my pages are still recorded in Piwik in moodle style: http://www.xtrema.fr/training/mod/forum/discuss.php?d=460
    I wonder if this plugin works at all and why it wouldn't and no developper seems to be keen to answer.
    Of course I know it's a free service but silence is rude, anyway, ain't it?
  • Fri, Sep 11, 2015, 5:23 PM
    Hi Josick,

    Maybe you have not enabled the clean url setting. And please don't say it's rude if I do not answer you fast enough.
  • Fri, Sep 11, 2015, 6:30 PM
    Ok sorry but at least, it got me an answer smile.
    And the clean url setting is enabled so how do I check if that plugin works or not?
  • Fri, Sep 11, 2015, 9:54 PM
    Have you tried turning it off and on again?
  • Sat, Sep 12, 2015, 12:26 AM
    I just did I'll leave like that for a while see what the visits look like on Piwik, then turn it on again.
    I'll let you know
  • Sun, Sep 13, 2015, 11:43 PM
    Hello
    I did let Piwik on for a few hours without the plugin and for a few hours with it. I do not see the slightest difference.
    Pages are annouced similarly:
    In the visitor's log they look in both case laike this:
    Cours : Induction Standard
    http://www.xtrema.fr/training/course/view.php?id=5
    In the pages tree: moodle like
    in the page title: plain text, I insist, with or without the plugin on.
    I would very much like to know what is supposed to be different with the plugin on and what is its use?

  • Mon, Sep 14, 2015, 3:46 PM
    So can Bas or anyone tell me what should be the difference in Piwik with and without this plugin?
  • Sun, Oct 11, 2015, 6:27 PM
    Hi Bas & David,
    Does it work on moodle 2.8 or newer version? I let visitors self register and open my site to everyone that's why I need that plugin.
    Love it,
Please login to post comments