Tracker SDK
The Gentlelytics tracker is a tiny browser library that sends pageviews and custom events to your Gentlelytics workspace. It is cookieless by default (no cookies, no localStorage). Hybrid sites can show a first-party banner and persist identity only after consent.
| Resource | Link |
|---|---|
| npm | @mernsol/gentlelytics |
| App | app.gentlelytics.com |
| Issues | GitHub issues |
What you can measure
- Automatic pageviews (including SPA route changes)
- Custom events (signups, purchases, CTAs)
- Optional outbound link clicks
- Automatic download clicks (common file types)
Choose an install method
| Method | Best for |
|---|---|
| Script tag | WordPress, Webflow, static HTML, most CMS sites |
| npm package | React, Vue, Next, Nuxt, Vite, SvelteKit apps |
Both methods talk to the same ingest endpoint and show up in the same dashboard.
Next steps
- Install the tracker
- API reference
- Consent API (
consent,set, Consent Mode v2, GPC) - Events & goals
- Transport & privacy