This repository contains examples of how to integrate @livesession/browser with various popular web frameworks.
-
Angular - Angular integration
-
Astro - Astro integration
-
Next.js - Next.js integration
-
Nuxt - Nuxt.js integration
-
React - Basic React integration
-
React Router - React Router integration
-
SvelteKit - SvelteKit integration
-
Vue - Vue.js integration
Each framework example is contained in its own directory with specific instructions. Choose the framework you're interested in and follow the README in that directory.
- Install the package:
npm install @livesession/browser- Initialize LiveSession:
import ls from "@livesession/browser"
ls.init("YOUR_TRACK_ID")- Start recording:
ls.newPageView()For more details, see individual framework examples for specific implementation details.
- Node.js 16.x or later
- A LiveSession account and project key
MIT