plausible-telemetry
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

plausible-telemetry

A super-simple Plausible client, geared at application telemetry.

npm install plausible-telemetry

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

Readme

Keywords

none

Package Sidebar

Install

npm i plausible-telemetry

Weekly Downloads

1,130

Version

0.1.0

License

MIT

Unpacked Size

8.36 kB

Total Files

6

Last publish

Collaborators

  • skn0tt