Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/destiner/astro-analytics
Astro components for site analytics
https://github.com/destiner/astro-analytics
analytics astro google-analytics javascript
Last synced: 8 days ago
JSON representation
Astro components for site analytics
- Host: GitHub
- URL: https://github.com/destiner/astro-analytics
- Owner: Destiner
- License: mit
- Created: 2021-12-05T07:37:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-26T19:39:49.000Z (12 months ago)
- Last Synced: 2024-10-10T09:05:10.792Z (about 1 month ago)
- Topics: analytics, astro, google-analytics, javascript
- Language: Astro
- Homepage:
- Size: 50.8 KB
- Stars: 112
- Watchers: 2
- Forks: 11
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Astro Analytics 📈
_A collection of Astro components for popular web analytics tools_
Supported services:
* [x] ![Fathom Logo](docs/fathom.webp) Fathom
* [Website](https://usefathom.com)
* [Live Demo](https://app.usefathom.com/demo)
* script.js · 5,95 KB
* [x] ![Google Analytics Logo](docs/ga.webp) Google Analytics
* [Website](https://developers.google.com/analytics)
* [x] ![Metrical Logo](docs/metrical.webp) Metrical
* [Website](https://metrical.xyz)
* [Live Demo](https://app.metrical.xyz/demo)
* script.js · 2,48 KB
* [x] ![Plausible Logo](docs/plausible.webp) Plausible
* [Website](https://plausible.io)
* [Live Demo](https://plausible.io/plausible.io)
* [GitHub](https://github.com/plausible/analytics)
* plausible.js · 1,30 KB · 🥇
* [x] ![Simple Analytics Logo](docs/simpleanalytics.webp) Simple Analytics
* [Website](https://simpleanalytics.com)
* [Live Demo](https://simpleanalytics.com/simpleanalytics.com)
* [x] ![Umami Logo](docs/umami.webp) Umami
* [Website](https://umami.is)
* [Live Demo](https://app.umami.is/share/8rmHaheU/umami.is)
* [GitHub](https://github.com/umami-software/umami)
* umami.js · 2,75 KB
* [x] ![Amplitude Logo](docs/amplitude.webp) Amplitude
* [Website](https://amplitude.com)
* [Live Demo](https://analytics.amplitude.com/login/my-demo)
* [GitHub](https://github.com/amplitude)
* [x] ![Matomo Logo](docs/matomo.webp) Matomo
* [Website](https://matomo.org)
* [X] 🌱 Minimalanalytics
* [Website](https://minimalanalytics.com)
* [Gist](https://gist.github.com/DavidKuennen/443121e692175d6fc145e1efb0284ec9)
* script.js · 1.56 KB · 🥈
## Installation```bash
npm install astro-analytics
# or
pnpm install astro-analytics
# or
yarn add astro-analytics
```## Usage
```js
import { Fathom } from 'astro-analytics';
``````html
(if no src is set it will fallback to https://cdn.usefathom.com/script.js)(if no src is set it will fallback to https://plausible.io/js/script.js)
```