This guide explains how to add Fullview (session replay and AI agent) to a React or Next.js app. Fullview’s docs use plain HTML/JavaScript; here we adapt that for a component-based app and keep identity in sync with your auth state.
Fullview should load early, before your app. Use the Next.js Script component so the script is injected into the document and runs at the right time.