WriteTrack Documentation
WriteTrack is a JavaScript SDK that analyzes how text was entered, not what was written. It captures behavioral signals like timing, rhythm, and corrections to determine if content was typed by a human or pasted.
Key Features
Section titled “Key Features”- 100% Client-side — No data leaves the browser
- Framework agnostic — Works with vanilla JS, React, Vue, Svelte
- Lightweight — Under 3KB gzipped, zero dependencies
- Fast — Less than 1ms overhead per keystroke
Quick Example
Section titled “Quick Example”import { WriteTrack } from 'writetrack';
const tracker = new WriteTrack('#essay-field');
// On form submitconst { isAuthentic, confidence } = tracker.analyze();if (!isAuthentic) { flagForReview();}How It Works
Section titled “How It Works”WriteTrack instruments your text inputs and captures behavioral signals:
- Timing intervals — Milliseconds between keystrokes
- Rhythm variance — Consistency of typing cadence
- Correction patterns — Backspaces, rewrites, hesitation
- Pause detection — Natural thinking breaks
Human typing has natural variation. Pasted or AI-generated text arrives all at once with no behavioral fingerprint.
Use Cases
Section titled “Use Cases”- Education — Flag essays that were pasted rather than composed
- Research — Distinguish thoughtful responses from copy-paste boilerplate
- Compliance — Add a behavioral layer to form attestations
Getting Started
Section titled “Getting Started”→ Quickstart guide — Install and integrate in 5 minutes
→ API Reference — Full SDK documentation
→ Examples — Common integration patterns