This project captures session replay data using rrweb
and sends it to Observe for analysis.
-
Clone the repository:
git clone https://github.com/your-repo/session-replay-project.git cd session-replay-project```
-
Install dependencies:
npm install
- Update the Observe API configuration in
src/utils/observe.js
:const observeEndpoint = 'https://{OBSERVE_TENANT_ID}.collect.observeinc.com/v1/http'; // Replace with your Observe endpoint const observeApiKey = 'OBSERVE_TOKEN'; // Replace with your Observe Token key
- Start the project:
npm start
- Open your browser and navigate to the provided URL (usually http://localhost:1234).
- Click "Start Recording" to begin capturing session replay data.
- Interact with the webpage as needed.
- Click "Stop Recording" to stop capturing and send the events to Observe.