JavaScript
Install @newtalaria/browser 0.6.1 and send a first browser event.
@newtalaria/browser 0.6.1 is the official browser SDK. React, Next.js, and Node.js are guides under this platform.
Install#
npm install @newtalaria/browserInitialise#
import { Talaria } from '@newtalaria/browser';
Talaria.init({
apiKey: 'tal_pk_prod_nz1_…',
release: '1.4.2',
minLevel: 'warning',
});Use a publishable key in the browser. The API key decides the environment. Tracing, analytics, heatmaps, and session replay follow project settings. Leave url unset on Talaria Cloud.
Verify#
Talaria.captureException(new Error('Talaria test error'));Run this once, then open Issues in the dashboard. The test error shows as a new issue in the key's environment. Nothing there? See troubleshooting.
Next#
See fail-safe, configuration, errors, and tracing.