@leadmaps/tracking-node
v0.0.4
Published
leadmaps tracking SDK for Node.js. Server-side event ingest with explicit identity.
Maintainers
Readme
@leadmaps/tracking-node
The Node.js SDK for sending server-side events to leadmaps.
Install
pnpm add @leadmaps/tracking-nodeimport { flush, init, track } from '@leadmaps/tracking-node';
init({
siteId: 'your-site-id',
host: 'https://collect.leadmaps.nl',
});
track('invoice_paid', { plan: 'pro' }, { userId: 'customer-123' });
await flush();Use explicit, stable identity supplied by your application. Do not send passwords, payment details, or data you have no lawful basis to process.
Migrating from the historical scope
Replace @syntarie/tracking-node with @leadmaps/tracking-node in your package manifest and imports. Public APIs and subpath names are unchanged for this release.
Support and license
Read the documentation or contact [email protected]. The included license applies to this package.
