{"id":25210135,"url":"https://github.com/backdrop-contrib/matomo","last_synced_at":"2026-02-10T09:20:34.912Z","repository":{"id":43677971,"uuid":"158296383","full_name":"backdrop-contrib/matomo","owner":"backdrop-contrib","description":"Adds the tracking code for Matomo Analytics to your Backdrop CMS site.","archived":false,"fork":false,"pushed_at":"2025-04-17T11:37:06.000Z","size":308,"stargazers_count":3,"open_issues_count":3,"forks_count":5,"subscribers_count":11,"default_branch":"1.x-2.x","last_synced_at":"2025-04-18T01:56:34.699Z","etag":null,"topics":["analytics","backdropcms","matomo"],"latest_commit_sha":null,"homepage":"https://backdropcms.org/project/matomo","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/backdrop-contrib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-11-19T22:07:23.000Z","updated_at":"2025-04-17T11:37:06.000Z","dependencies_parsed_at":"2024-01-03T15:52:39.750Z","dependency_job_id":"0b9e15c7-5def-480c-bc2c-5f5e20cf8ef1","html_url":"https://github.com/backdrop-contrib/matomo","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/backdrop-contrib/matomo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fmatomo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fmatomo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fmatomo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fmatomo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/backdrop-contrib","download_url":"https://codeload.github.com/backdrop-contrib/matomo/tar.gz/refs/heads/1.x-2.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fmatomo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280942547,"owners_count":26417736,"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-10-25T02:00:06.499Z","response_time":81,"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":["analytics","backdropcms","matomo"],"created_at":"2025-02-10T13:19:25.543Z","updated_at":"2025-10-25T10:30:31.057Z","avatar_url":"https://github.com/backdrop-contrib.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Matomo Analytics\n\nAdds the Matomo tracking system to your website.\n\n[Matomo](https://matomo.org/) is an Open Source analytics tool to track\nwebsite traffic.\n\nThis module is compatible with Matomo 3.x, 4.x and 5.x.\n\n## Requirements\n\n* Matomo installation\n* Matomo website account\n\n\n## Installation\n\n- Install this module using the official [Backdrop CMS instructions](https://backdropcms.org/guide/modules)\n\n## Usage\n\nIn the settings page enter your Matomo website ID.\n\nYou will also need to define what user roles should be tracked.\nSimply tick the roles you would like to monitor.\n\n![Settings page](https://raw.githubusercontent.com/backdrop-contrib/matomo/1.x-2.x/screenshots/settings-page.webp)\n\nAll pages will then have the required JavaScript added to the\nHTML footer can confirm this by viewing the page source from\nyour browser.\n\n### HTTP URL vs. HTTPS URL\n\nIf your website has https turned on, it is necessary that the Matomo install\n *also has https turned on*. This prevents \"mixed content\" warnings in browsers.\n\nIt's absolutely OK and actually recommended that both url settings use https -\n if your Matomo install has it.\nBrowsers load content via https from within a http page, but refuse to load http\n content from within a https page.\n\nExample:\n\n- Matomo HTTP URL: `https://matomo.example.com/`\n- Matomo HTTPS URL: `https://matomo.example.com/`\n\n## Custom variables\n\nOne example for custom variables tracking is the \"User roles\" tracking. Enter\nthe below configuration data into the custom variables settings form under\nadmin/config/system/matomo.\n\nSlot: 1\nName: User roles\nValue: [current-user:matomo-role-names]\nScope: Visitor\n\nSlot: 1\nName: User ids\nValue: [current-user:matomo-role-ids]\nScope: Visitor\n\nMore details about custom variables can be found in the Matomo API documentation\nat https://matomo.org/docs/javascript-tracking/#toc-custom-variables.\n\n\n## Advanced Settings\n\nYou can include additional JavaScript snippets in the advanced\ntextarea. These can be found on various blog posts, or on the\nofficial Matomo pages.\n\nAn example for \"Code snippet (before)\": `_paq.push(['disableCookies']);`\nThis disables all tracking cookies for Matomo (GDPR, to avoid the necessity of a\n cookie consent banner).\n\nTo speed up page loading you may also cache the matomo.js\nfile locally. You need to make sure the site file system is in public\ndownload mode.\n\n## Issues\n\nBugs and Feature requests should be reported in the [Issue Queue](https://github.com/backdrop-contrib/matomo/issues)\n\n## Current Maintainers\n\n- Joseph Flatt (https://github.com/hosef)\n- indigoxela (https://github.com/indigoxela)\n\n## Credits\n\n- Ported to Backdrop CMS by Joseph Flatt (https://github.com/hosef).\n- Maintained for Drupal by Alexander Hass (https://www.drupal.org/u/hass).\n- Initial Drupal development by Alexander Hass (https://www.drupal.org/u/hass).\n\n## License\n\nThis project is GPL v2 software. See the LICENSE.txt file in this directory for\ncomplete text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackdrop-contrib%2Fmatomo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackdrop-contrib%2Fmatomo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackdrop-contrib%2Fmatomo/lists"}