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'


Learn more

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