Your Moodle version

General plugins (Local): Analytics

Maintained by Picture of Bas Brands Bas Brands
A local Moodle Module adding Analytics. This plugin currently supports 3 Analytics modes, Piwik, Google Universal Analytics and Google Legacy Analytics.
Moodle 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7


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


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


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

Comments RSS

Show comments
  • Picture of Josick Guermeur
    Sun, Sep 13, 2015, 11:43 PM
    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
    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?

  • Picture of Josick Guermeur
    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?
  • Picture of Phuong Hoang
    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,
  • Picture of Bas Brands
    Mon, Oct 12, 2015, 10:41 PM
    Hi there.

    Yes I do think it works okay for 2.8 and 2.9. But I'll plan some time to create new versions for these releases soon.
  • Picture of William Michael
    Fri, Nov 6, 2015, 12:46 PM
    Working fine for us in 2.9. Thanks very much.

    William Michael
    Classical Liberal Arts Academy
  • Picture of Han Wen Kam
    Mon, Jan 4, 2016, 10:02 AM
    Does this plugin support v2.9.x? As of this comment, the highest version supported is v2.7. Thank you.
  • Picture of Han Wen Kam
    Mon, Jan 4, 2016, 10:04 AM
    Oops, my bad, I didn't realised William already reported it working for v2.9... I had thought the comments run reverse chronologically with the latest comment up top. smile
  • Picture of Brandon Jimenez
    Tue, Jan 19, 2016, 9:52 PM
    Hi, I'm currently running a Moodle 2.9.3+ site and planning to update it to Moodle 3 or 3.1 (sometime in the future), and i would love to have your plugin installed. I do, however, have a question: have you tested in a Moodle 3+ environment?

  • Picture of Bas Brands
    Wed, Jan 20, 2016, 12:07 AM
    Hi Brandon,

    Yes, I have used it on Moodle 3.0 and it's still working!
  • Picture of Luca Bösch
    Thu, Jul 21, 2016, 6:33 PM
    To me, it seems it doesn't produce no output on Moodle 3.1.1.
    Bas, it would be great if you were allowing Issues to be created on Big thanks!
  • Picture of Arash Hadadgar
    Thu, Aug 4, 2016, 3:23 PM
    I want to use PiWIK pro for my Moodle course. But I can not install it on the server or use the pluging.
    I put the code into the first page of the course but it seems that it doesn't work.
    Could you please help me?
  • Picture of Bas Brands
    Thu, Aug 4, 2016, 5:27 PM
    Hi Arash,

    Could you please use the Github issue tracker for reporting issues.

    URL is here:

    And please be very detailed in explaining which steps you have taken.
  • Picture of Arash Hadadgar
    Thu, Aug 4, 2016, 6:07 PM
    Hi Bas,
    Thanks for reply.
    I did not use the plugin, so I didn't use the Github.
    Now It seems the problem has solved and I can track the course by Java code.
  • Brian
    Fri, Sep 30, 2016, 5:05 PM
    Any plans to move it forward to 3.1/3.2?
  • Picture of Bas Brands
    Fri, Sep 30, 2016, 6:39 PM
    Plans .. yes, time .. not yet
1 2 3 4 5
Please login to post comments