Skip to content

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

Notifications You must be signed in to change notification settings

quirrel-dev/plausible-telemetry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published