Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

A Local Moodle Plugin adding Site Analytics

Notifications You must be signed in to change notification settings

GeNyaa/moodle-local_analytics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moodle-local_analytics

Release notes:

version: 2017031300

  • Updated to work with Moodle versions 3.0, 3.1 and 3.2

The configuration option to push the JS into the header or footer has been removed. Tracking codes moved to mustache templates Implemented the trick to push the JS code into each page by Daniel Thee Roperto from Catalyst.

version: 2015012200

  • Removed the debugging URL display on the page, If debugging is required use your browsers view source feature.

A local Moodle Module adding Site Analytics

The plugin features the following options:

Install instructions:

  1. Copy the analytics directory to the local directory of your Moodle instance
  2. Visit the notifications page
  3. Configure the plugin

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

Piwik

  • Set the Site ID
  • Choose whether you want image fallback tracking
  • Enter the URL to your Piwik install excluding http/https and trailing slashes
  • Choose whether you want to track admins (not recommended)
  • Choose whether you want to send Clean URLs (recommended): Piwik will aggregrate Page Titles and show a nice waterfall cascade of all sites, including categories and action types

Google Universal Analytics

  • Plugin modifies the page speed sample to have 50% of your visitors samples for page speed instead of 1% making it much more useful
  • Set your Google tracking ID
  • Choose whether you want to track admins (not recommended)
  • Choose whether you want to send Clean URLs (not recommended): Google analytics will no longer be able to use overlays and linking back to your Moodle site

Google Legacy Analytics (soon deprecated by Google)

  • Plugin modifies the page speed sample to have 50% of your visitors samples for page speed instead of 1% making it much more useful
  • Set your Google tracking ID
  • Choose whether you want to track admins (not recommended)
  • Choose whether you want to send Clean URLs (not recommended): Google analytics will no longer be able to use overlays and linking back to your Moodle site

Workings: The plugin will inject tracking code for Analytics purposes into every page. If debugging is enabled the URL that is tracked will be displayed on the bottom of the page.

About

A Local Moodle Plugin adding Site Analytics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 84.3%
  • HTML 15.7%