{"id":18305083,"url":"https://github.com/jop-software/astro-matomo","last_synced_at":"2025-04-05T16:32:28.238Z","repository":{"id":60627166,"uuid":"543697177","full_name":"jop-software/astro-matomo","owner":"jop-software","description":"GDPR friendly tracking in astro","archived":false,"fork":false,"pushed_at":"2024-03-11T20:07:13.000Z","size":48,"stargazers_count":10,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-21T06:51:13.213Z","etag":null,"topics":["analytics","astro","astro-integration","hacktoberfest","javascript","matomo","tracking"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jop-software.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-09-30T16:44:49.000Z","updated_at":"2025-01-18T09:27:50.000Z","dependencies_parsed_at":"2024-03-11T20:50:51.242Z","dependency_job_id":"5a3cf664-5120-4264-b028-2b3c27de9309","html_url":"https://github.com/jop-software/astro-matomo","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":0.05882352941176472,"last_synced_commit":"a537f49c1ada7841cea284f6d77afee57a26dca5"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jop-software%2Fastro-matomo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jop-software%2Fastro-matomo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jop-software%2Fastro-matomo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jop-software%2Fastro-matomo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jop-software","download_url":"https://codeload.github.com/jop-software/astro-matomo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247366736,"owners_count":20927573,"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","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","astro","astro-integration","hacktoberfest","javascript","matomo","tracking"],"created_at":"2024-11-05T15:32:38.043Z","updated_at":"2025-04-05T16:32:27.904Z","avatar_url":"https://github.com/jop-software.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=center\u003e\n    \u003ch1\u003eMatomo + Astro Integration\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003e GDRP friendly tracking in your astro app / site 🚀\n\n## Installation\n\n### Installation using the Astro CLI\n\nUsing the Astro CLI is the [recommended way](https://docs.astro.build/en/guides/integrations-guide/#automatic-integration-setup) to setup integrations in Astro.\n\n```console\n# npm\nnpx astro add @jop-software/astro-matomo\n\n# pnpm\npnpm dlx astro add @jop-software/astro-matomo\n```\n\n### Manual Installation\n\nWhen the automatic setup from Astro is not an option for you, feel free to install the package manually.\n\n```console\n# npm\nnpm install @jop-software/astro-matomo\n\n# pnpm\npnpm add @jop-software/astro-matomo\n```\n## Usage\n\n```js\n// astro.config.mjs\n\nimport matomo from '@jop-software/astro-matomo';\n\nexport default defineConfig({\n  // We only track site views when this matches the host the user is on.\n  // If the configuration is empty, every page view gets tracked.\n  site: \"https://example.com\",\n  integrations: [\n    matomo({\n      baseUrl: \"https://analytics.example.com/\",\n      siteId: 1\n    }),\n  ]\n});\n```\n\n\u003cdiv align=center\u003e\u0026copy 2022-2024, \u003ca href=\"https://jop-software.de\"\u003ejop-software Inh. Johannes Przymusinski\u003c/a\u003e\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjop-software%2Fastro-matomo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjop-software%2Fastro-matomo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjop-software%2Fastro-matomo/lists"}