Skip to content

About

Lightweight analytics tracking for WaveformPlayer. Track meaningful audio engagement with minimal overhead.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

WaveformTracker

Lightweight, privacy-first analytics for WaveformPlayer. Track meaningful audio engagement — real listens, not bounces — and send it anywhere.

npm version license

Documentation · npm


Install

npm install @arraypress/waveform-tracker @arraypress/waveform-player
import WaveformTracker from '@arraypress/waveform-tracker';

WaveformTracker.init({
  endpoint: '/api/listens',
  events: { play: 3, listen: 30, complete: 90 }
});

Version 2 needs @arraypress/waveform-player 2.0 and a browser from 2023 or later (Chrome/Edge 111, Firefox 114, Safari 16.4). TypeScript declarations are included. The package is ES modules only; on Node 22.12+ require() loads it too (require('@arraypress/waveform-tracker').default). For a <script> tag, load dist/waveform-tracker.min.js after the player; it sets window.WaveformTracker.

Documentation

Full configuration, payload shape and privacy notes live in the docs.

Configuration · Payload · Privacy

License

MIT © ArrayPress

About

Lightweight analytics tracking for WaveformPlayer. Track meaningful audio engagement with minimal overhead.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages