A Moodle admin tool adding Web Analytics to your Moodle site.
Moodle version | Branch | PHP |
---|---|---|
Moodle 4.1 + | MOODLE_401_STABLE |
7.4+ |
Moodle 3.5 - 4.0 | master |
7.2+ |
- Copy the code to admin/tool/webanalytics directory of your Moodle instance
- Visit the notifications page and install the plugin
- Visit a plugin configuration page and add instances of required Web Analytics Tool
- multiple unlimited instances of different types of analytics in one Moodle site
- exclude tracking of admin users
The plugin currently supports following analytics tools.
- Set the Site ID
- Choose whether you want image fallback tracking
- Enter the URL to your Matomo 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): Matomo will aggregate Page Titles and show a nice waterfall cascade of all sites,
- Set alternative piwik.js URL for any purpose including categories and action types
- Optional tracking for User ID
- User ID could be id or username
- 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
- Choose whether you want to send User ID reference
- Choose whether you want to anonymize the IP address of the hit sent to Google Analytics
- Tag Manager adds Analytics page view tags, AdWords Conversion Tracking tags, and others in the Tag Manager user interface.
- Set your Tag Manager Container ID tracking ID
- Choose whether you want to track admins
- 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
All Web Analytics tools has implemented as Moodle subplugins. If you require to support a new web analytics tool, then add a new subplugin to "tool" folder. See existing subplugins as a code example.
This plugin was developed by Catalyst IT Australia:
Issues, and pull requests using github are welcome and encouraged!
https://github.com/catalyst/moodle-tool_webanalytics/issues
If you would like commercial support or would like to sponsor additional improvements to this plugin please contact us: