Introduction to TraceScout

TraceScout is a powerful session replay and monitoring SDK that helps you understand how users interact with your web applications. With just 4 lines of code, you can start capturing detailed session recordings, network requests, console logs, and errors.

Quick Start

Get started with TraceScout in minutes. Here's all you need:

TraceScout.init({
  apiKey: 'ts_api_xxx',
  organizationId: 'your-organization-id',
  projectId: 'your-project-id',
  environment: 'production'
});

Key Features

Session Replay

Record and replay user sessions with full DOM reconstruction, mouse movements, clicks, and scrolling.

Network Monitoring

Capture all HTTP requests and responses, including headers, timing, and payload data.

Console Capture

Automatically capture console.log, console.warn, and console.error calls with full context.

Error Tracking

Catch and report JavaScript errors with stack traces and session context.

Performance Metrics

Track Core Web Vitals and custom performance metrics automatically.

Privacy Controls

Comprehensive privacy controls to mask sensitive data and exclude specific elements.

Installation Options

CDN (Recommended)

<script src="https://cdn.tracescout.com/sdk/tracescout.min.js"></script>

npm

npm install @tracescout/suite

Next Steps