https://github.com/quirrel-dev/plausible-telemetry
A super-simple Plausible client, geared at application telemetry.
https://github.com/quirrel-dev/plausible-telemetry
Last synced: 5 months ago
JSON representation
A super-simple Plausible client, geared at application telemetry.
- Host: GitHub
- URL: https://github.com/quirrel-dev/plausible-telemetry
- Owner: quirrel-dev
- Created: 2020-12-23T10:00:10.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T05:49:07.000Z (over 2 years ago)
- Last Synced: 2025-09-28T17:35:28.421Z (6 months ago)
- Language: TypeScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# plausible-telemetry
A super-simple [Plausible](https://plausible.io) client, geared at application telemetry.
`npm install plausible-telemetry`
```ts
import PlausibleTelemetry from "plausible-telemetry"
const telemetry = new PlausibleTelemetry(
"telemetry.your-domain.dev",
"mobile" // mobile | tablet
// e.g. for distinguishing between
// Docker and Native installs.
)
await telemetry.record("started") // will be shown as page view
await telemetry.goal("beta_feature_1 used")
```