Install TraceLog, configure tracking, and start getting automatic insights from your analytics data.
import { tracelog } from '@tracelog/lib';
// Initialize once in your app entry
await tracelog.init({
integrations: {
tracelog: { projectId: 'proj_live_xxxxxxxx' }
}
});
// Track a conversion event
tracelog.event('purchase_completed', {
total: 149.99,
currency: 'USD',
});Install @tracelog/lib, initialize in your app, and start capturing page views, sessions, and events in minutes.
Custom events, user identification, global metadata, automatic tracking, and QA mode — the full client library reference.
Connect TraceLog with Shopify, Stripe, or your own backend using server-side webhooks. Track purchases, subscriptions, and custom events from any source.
AI Copilot, conversion goals, funnel analysis, automated reports, and smart alerts — the full analytics suite.
GDPR-ready consent flows, automatic PII sanitization, and cookie-free analytics.
Practical implementation patterns for e-commerce stores.
Debug common issues and verify your setup with the pre-production checklist.