WriteTrack Documentation
WriteTrack is a TypeScript SDK for capturing and analysing writing sessions at
the point of entry. It records timing, rhythm, corrections, and clipboard
interactions from text input elements. summarizeAnalysis() derives fields
such as effort ratio, pasted share, largest paste, and correction count for
storage and review interfaces.
Get Started Capture typing behavior and see a full analysis scorecard
AI Writing Detection See how process signals reveal how text was produced
Download Full Docs (.md) Get all documentation as a single Markdown file for LLMs
Key Features
Section titled “Key Features”- Analysis summaries —
summarizeAnalysis()derives effort ratio, paste share, largest paste, and correction fields using the same calculation as the scorecard - 100% Client-side SDK — When embedded in your app, the SDK does all capture and analysis in the browser; no data is sent anywhere unless you configure output sinks. (The WriteTracker demo app is opt-in — see Privacy.)
- Framework agnostic — Works with vanilla JS, React, Vue, Svelte, or any frontend framework
- Zero runtime dependencies — nothing is pulled into your dependency tree by installing WriteTrack
- Detailed Behavioural Data — Captures timing, rhythm, corrections, clipboard usage, and more
Integrations
Section titled “Integrations”How It Works
Section titled “How It Works”WriteTrack instruments text inputs, captures behavioral signals, and analyses the resulting session:
- Capture — Timing (dwell, flight, rhythm), corrections (backspaces, deletions, revisions), clipboard interactions (paste, copy/cut, selection), and session dynamics (bursts, pauses, fatigue)
- Analysis — WASM-powered analysis scores the session across seven categories: content origin, timing authenticity, session continuity, physical plausibility, revision behavior, temporal patterns, and writing process
- Summary —
summarizeAnalysis()derives fields for storage and queries
Browser Compatibility
Section titled “Browser Compatibility”- Desktop: Chrome 90+, Firefox 88+, Safari 14+, Edge 90+
- Mobile: iOS Safari 14+, Android Chrome 90+, Mobile Firefox 88+
Next Steps
Section titled “Next Steps”- Quickstart — Capture, analyse, and see a scorecard in minutes
- Storing & Querying Reports — Schema and query patterns for the headline numbers
- Vanilla JavaScript — Detailed guide for using WriteTrack without a framework
- Licensing — License keys for production use
- API Reference — Complete method reference






