{"id":14959250,"url":"https://github.com/destiner/astro-analytics","last_synced_at":"2025-10-05T22:19:31.719Z","repository":{"id":42204849,"uuid":"435103484","full_name":"Destiner/astro-analytics","owner":"Destiner","description":"Astro components for site analytics","archived":false,"fork":false,"pushed_at":"2023-11-26T19:39:49.000Z","size":52,"stargazers_count":130,"open_issues_count":9,"forks_count":13,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-09T01:43:41.987Z","etag":null,"topics":["analytics","astro","google-analytics","javascript"],"latest_commit_sha":null,"homepage":"","language":"Astro","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Destiner.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}},"created_at":"2021-12-05T07:37:58.000Z","updated_at":"2025-07-26T11:20:37.000Z","dependencies_parsed_at":"2023-12-05T16:09:57.336Z","dependency_job_id":"42127050-82a9-46c9-b424-0c607ea1b70f","html_url":"https://github.com/Destiner/astro-analytics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Destiner/astro-analytics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Destiner%2Fastro-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Destiner%2Fastro-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Destiner%2Fastro-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Destiner%2Fastro-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Destiner","download_url":"https://codeload.github.com/Destiner/astro-analytics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Destiner%2Fastro-analytics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278529081,"owners_count":26001865,"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-05T02:00:06.059Z","response_time":54,"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","astro","google-analytics","javascript"],"created_at":"2024-09-24T13:19:15.912Z","updated_at":"2025-10-05T22:19:31.661Z","avatar_url":"https://github.com/Destiner.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Astro Analytics 📈\n\n_A collection of Astro components for popular web analytics tools_\n\nSupported services:\n* [x] ![Fathom Logo](docs/fathom.webp) Fathom\n  * [Website](https://usefathom.com)\n  * [Live Demo](https://app.usefathom.com/demo)\n  * script.js · 5,95 KB\n* [x] ![Google Analytics Logo](docs/ga.webp) Google Analytics\n  * [Website](https://developers.google.com/analytics)\n* [x] ![Metrical Logo](docs/metrical.webp) Metrical\n  * [Website](https://metrical.xyz)\n  * [Live Demo](https://app.metrical.xyz/demo)\n  * script.js · 2,48 KB\n* [x] ![Plausible Logo](docs/plausible.webp) Plausible\n  * [Website](https://plausible.io)\n  * [Live Demo](https://plausible.io/plausible.io)\n  * [GitHub](https://github.com/plausible/analytics)\n  * plausible.js · 1,30 KB · 🥇\n* [x] ![Simple Analytics Logo](docs/simpleanalytics.webp) Simple Analytics\n  * [Website](https://simpleanalytics.com)\n  * [Live Demo](https://simpleanalytics.com/simpleanalytics.com)\n* [x] ![Umami Logo](docs/umami.webp) Umami\n  * [Website](https://umami.is)\n  * [Live Demo](https://app.umami.is/share/8rmHaheU/umami.is)\n  * [GitHub](https://github.com/umami-software/umami)\n  * umami.js · 2,75 KB\n* [x] ![Amplitude Logo](docs/amplitude.webp) Amplitude\n  * [Website](https://amplitude.com)\n  * [Live Demo](https://analytics.amplitude.com/login/my-demo)\n  * [GitHub](https://github.com/amplitude)\n* [x] ![Matomo Logo](docs/matomo.webp) Matomo\n  * [Website](https://matomo.org)\n* [X] 🌱 Minimalanalytics\n  * [Website](https://minimalanalytics.com)\n  * [Gist](https://gist.github.com/DavidKuennen/443121e692175d6fc145e1efb0284ec9)\n  * script.js · 1.56 KB · 🥈\n  \n## Installation\n\n```bash\nnpm install astro-analytics\n# or\npnpm install astro-analytics\n# or\nyarn add astro-analytics\n```\n\n## Usage\n\n```js\nimport { Fathom } from 'astro-analytics';\n```\n\n```html\n\u003cFathom site=\"ABCDEF\" src=\"https://youdomain.com/script.js\" /\u003e (if no src is set it will fallback to https://cdn.usefathom.com/script.js)\n\u003cGoogleAnalytics id=\"UA-156492295-1\" /\u003e\n\u003cMetrical app=\"j5gZ1K26a\" /\u003e\n\u003cPlausible domain=\"yourdomain.com\" src=\"https://youdomain.com/yoursript.js\" /\u003e (if no src is set it will fallback to https://plausible.io/js/script.js)\n\u003cSimpleAnalytics /\u003e\n\u003cUmami id=\"4fb7fa4c-5b46-438d-94b3-3a8fb9bc2e8b\" src=\"https://your-umami-app.com/umami.js\" /\u003e\n\u003cAmplitude apiKey=\"\u003cYOUR API KEY\u003e\" /\u003e\n\u003cMatomo id=\"1\" src=\"https://yourdomain.com\" /\u003e\n\u003cMinimalAnalytics id=\"UA-156492295-1\" /\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdestiner%2Fastro-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdestiner%2Fastro-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdestiner%2Fastro-analytics/lists"}