{"id":19591905,"url":"https://github.com/catalyst/moodle-tool_webanalytics","last_synced_at":"2025-08-12T09:19:05.863Z","repository":{"id":34262334,"uuid":"133459223","full_name":"catalyst/moodle-tool_webanalytics","owner":"catalyst","description":" A Moodle admin tool adding Web Analytics to your Moodle site.","archived":false,"fork":false,"pushed_at":"2025-01-15T04:36:07.000Z","size":175,"stargazers_count":7,"open_issues_count":14,"forks_count":11,"subscribers_count":32,"default_branch":"MOODLE_401_STABLE","last_synced_at":"2025-04-27T14:38:58.936Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://moodle.org/plugins/tool_webanalytics","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/catalyst.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-05-15T04:30:46.000Z","updated_at":"2025-01-15T04:35:55.000Z","dependencies_parsed_at":"2023-12-06T09:27:17.654Z","dependency_job_id":"78229dde-d55c-4f4a-80ac-87ec191b0737","html_url":"https://github.com/catalyst/moodle-tool_webanalytics","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/catalyst/moodle-tool_webanalytics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-tool_webanalytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-tool_webanalytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-tool_webanalytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-tool_webanalytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catalyst","download_url":"https://codeload.github.com/catalyst/moodle-tool_webanalytics/tar.gz/refs/heads/MOODLE_401_STABLE","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fmoodle-tool_webanalytics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270034798,"owners_count":24515760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T08:31:41.340Z","updated_at":"2025-08-12T09:19:05.815Z","avatar_url":"https://github.com/catalyst.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![ci](https://github.com/catalyst/moodle-tool_webanalytics/actions/workflows/ci.yml/badge.svg?branch=MOODLE_401_STABLE)](https://github.com/catalyst/moodle-tool_webanalytics/actions/workflows/ci.yml?branch=MOODLE_401_STABLE)\n\n\n# Web Analytics\n\nA Moodle admin tool adding Web Analytics to your Moodle site.\n\n## Branches\n\n| Moodle version    | Branch              | PHP       |\n| ----------------- | ------------------- |-----------|\n| Moodle 4.1 +      | `MOODLE_401_STABLE` | 7.4+      |\n| Moodle 3.5 - 4.0  | `master`            | 7.2+      |\n\n## Install instructions\n1. Copy the code to admin/tool/webanalytics directory of your Moodle instance\n2. Visit the notifications page and install the plugin\n3. Visit a plugin configuration page and add instances of required Web Analytics Tool\n\n## The plugin features the following options\n- multiple unlimited instances of different types of analytics in one Moodle site\n- exclude tracking of admin users\n\n## Supported Web Analytics Tools \n\nThe plugin currently supports following analytics tools.\n\n### Matomo (formerly Piwik)\n- Set the Site ID\n- Choose whether you want image fallback tracking\n- Enter the URL to your Matomo install excluding http/https and trailing slashes\n- Choose whether you want to track admins (not recommended)\n- Choose whether you want to send Clean URLs (recommended): Matomo will aggregate Page Titles and show a nice waterfall cascade of all sites, \n- Set alternative piwik.js URL for any purpose\nincluding categories and action types\n- Optional tracking for User ID\n- User ID could be id or username\n\n### Google Universal Analytics\n- Plugin modifies the page speed sample to have 50% of your visitors samples for page speed instead of 1% making it much more useful\n- Set your Google tracking ID\n- Choose whether you want to track admins (not recommended)\n- 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\n- Choose whether you want to send User ID reference\n- Choose whether you want to anonymize the IP address of the hit sent to Google Analytics\n\n### Google Tag Manager\n- Tag Manager adds Analytics page view tags, AdWords Conversion Tracking tags, and others in the Tag Manager user interface.\n- Set your Tag Manager Container ID tracking ID\n- Choose whether you want to track admins\n\n### Google Legacy Analytics (soon deprecated by Google)\n- Plugin modifies the page speed sample to have 50% of your visitors samples for page speed instead of 1% making it much more useful\n- Set your Google tracking ID\n- Choose whether you want to track admins (not recommended)\n- 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\n\n## Developer notes\nAll 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.\n\n# Crafted by Catalyst IT\n\nThis plugin was developed by Catalyst IT Australia:\n\nhttps://www.catalyst-au.net/\n\n![Catalyst IT](/pix/catalyst-logo.png?raw=true)\n\n# Contributing and Support\n\nIssues, and pull requests using github are welcome and encouraged! \n\nhttps://github.com/catalyst/moodle-tool_webanalytics/issues\n\nIf you would like commercial support or would like to sponsor additional improvements\nto this plugin please contact us:\n\nhttps://www.catalyst-au.net/contact-us\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst%2Fmoodle-tool_webanalytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatalyst%2Fmoodle-tool_webanalytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst%2Fmoodle-tool_webanalytics/lists"}