Skip to main content

Installing

Install the useflytrap package to your project.
npm install useflytrap

Identify user in the code

Add the Flytrap identify function when your user signs in. This can be done in the _app.tsx file for instance in Next.js. The identify function does not persist anything, so it needs to be called before a bug is captured.
import { identify } from 'useflytrap'

identify(ctx.user.email)

Learn more

Explore how you can use Flytrap to ship more confidently, solve bugs faster and increase the productivity of your QA & developer teams.

Get started with Next.js

Catch & replay using Next.js

Get started with SvelteKit

Catch & replay using SvelteKit

Get started with Nuxt

Catch & replay using Nuxt

Get started with Rollup

Catch & replay using Rollup

Get started with Esbuild

Catch & replay using Esbuild

Get started with Vite

Catch & replay using Vite

Get started with Webpack

Catch & replay using Webpack