Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.2 KB

File metadata and controls

55 lines (33 loc) · 1.2 KB

LiveSession Browser SDK Samples

This repository contains examples of how to integrate @livesession/browser with various popular web frameworks.

Available Examples

Getting Started

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.

General LiveSession Browser SDK setup

  1. Install the package:
npm install @livesession/browser
  1. Initialize LiveSession:
import ls from "@livesession/browser"

ls.init("YOUR_TRACK_ID")
  1. Start recording:
ls.newPageView()

For more details, see individual framework examples for specific implementation details.

Requirements

  • Node.js 16.x or later
  • A LiveSession account and project key

License

MIT