An open API service indexing awesome lists of open source software.

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.

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")
```