Skip to main content
Hero Light

Welcome to Composite Analytics

Composite Analytics provides powerful analytics tools for modern web applications. Our SDK enables you to capture session recordings and gain deep insights into user behavior with minimal setup.

Why Composite Analytics?

Developer-first simplicity

Single package installation with config-driven features. No complex setup or multiple dependencies.

Lightweight by design

Core SDK is only ~5KB gzipped. Session recording and other features are lazy-loaded only when you need them.

Built for developers

Clean API, TypeScript support, comprehensive docs, and framework-specific integrations.

Key Features

Session Recording

Replay user sessions to understand behavior

User Identification

Link sessions to users across visits

Chrome Extension

First-class support for browser extensions

Quick Example

import composite from '@composite-inc/composite-js';

// Initialize the SDK with session recording
await composite.init({
  apiKey: 'pk_your_api_key',
  sessionRecording: true
});

// Identify a user
composite.identify('user_123', {
  email: 'user@example.com',
  plan: 'pro'
});

Get Started

1

Install the SDK

npm install @composite-inc/composite-js
2

Initialize with your API key

Get your API key from the Dashboard and initialize the SDK
3

Start recording

Identify users and watch session recordings

Need Help?