Licensing
Getting a License Key
Section titled “Getting a License Key”You can get a license key from the web portal or via the CLI.
Run the CLI to register a free 28-day trial:
npx writetrack initThe CLI will prompt for your email and production domain, then save the license key to .env:
WriteTrack — Set up a free 28-day trial
Email address: you@example.comProduction domain (e.g. example.com): example.com
Registering you@example.com for example.com...
Done — license key saved to .env Trial expires: 3/10/2026Then pass the key when initializing:
const tracker = new WriteTrack({ target: textarea, license: process.env.WRITETRACK_LICENSE_KEY,});Evaluation Mode
Section titled “Evaluation Mode”On localhost, WriteTrack runs with full analysis enabled — no license key required. Use this to evaluate the SDK during development and testing. A license key is required for production deployments.
// Evaluation mode — localhost only, no license requiredconst tracker = new WriteTrack({ target: textarea });