Quick Start
Get TraceLog running in under 5 minutes.
Full documentation— API reference, integrations, privacy, and guides
1
Create your account
Sign up for free and create your first project to get your project ID.
Get Started Free2
Install
NPM (recommended)
npm install @tracelog/libCDN (HTML)
<script src="https://cdn.jsdelivr.net/npm/@tracelog/lib@latest/dist/browser/tracelog.js"></script>3
Initialize
Add this to your app entry point:
import { tracelog } from '@tracelog/lib';
await tracelog.init({
integrations: {
tracelog: {
projectId: 'your-project-id' // Get this from your dashboard
}
}
});
// That's it! Page views, clicks, and sessions are now tracked.Where to find your Project ID
Dashboard → Settings → Project ID
4
Verify
Load your site, open the TraceLog dashboard, and check Analytics — your session should appear within seconds.
You're tracking!
TraceLog now automatically captures page views, sessions, clicks, errors, and Web Vitals.
What's next?
Explore custom events, e-commerce integrations, privacy controls, and the full API reference.