install

@vinktar/browser

Pageviews, clicks, identify, and every uncaught error, from one script. Both jobs from one package: the same key sends events and errors, and identify() joins them to a person.

npm install @vinktar/browser

3 · verify

Reload the page. The first pageview appears in Events within a few seconds, and the person on People.

the join

Anonymous activity is kept under the device. The first identify() with a user id binds that device to the person, and everything before it resolves to them retroactively. A device binds once; call reset() on logout so the next person gets a fresh one. The full rules are in api.md.

Already on Sentry? Point the DSN at us and errors flow tonight.