Install Trfyx in React Router
Add the Trfyx tracker once at the application’s root so it is available across routes.Add the tracker
Open your root component, commonlyApp.jsx, App.tsx, or your application entry point, and load the Trfyx tracker once.