Ship privacy-first analytics with a 10-second install.
DEVELOPER PLATFORM

Analytics your code can call.

Install in 10 seconds. Query in one HTTP request. Zero cookie consent banners. No SDK bloat.

Sub-2KB payload TypeScript types Zero dependencies
# 1. Add script tag to HTML header <script src="https://your-host/tracabit/js" data-key="tcb_live_a89f..." data-project="tcb_proj_prod_01"></script> # 2. Track custom events anytime window.tracabit.track("signup_click", { plan: "pro", source: "hero_cta" }); # 3. Query metrics in one request curl -H "Authorization: Bearer tcb_live_..." \ "https://your-host/metrics?from=2026-08-01"

Install in three steps.

Zero configuration, sub-2KB script, and automatic session handling.

1

Add the script tag

Embed in your HTML <head>

index.html
<script src="https://your-host/tracabit/js"
  data-key="tcb_live_..."
  data-project="tcb_proj_..."></script>
2

Events fire automatically

Pageviews & custom actions

browser console
window.tracabit.track("signup_click", {
  plan: "pro",
});

// page_view automatically captured
3

Query your metrics

One HTTP GET for daily stats

terminal
curl -H "Authorization: Bearer tcb_live_..." \
  "https://your-host/metrics?from=2026-08-01&to=2026-08-16"

TypeScript SDK with GA4-style events.

A zero-dependency TypeScript client with standard event helpers:createClient(),track(),pageView(),purchase(), andcaptureException().

Install via npm / bun:

npm install tracabit7.6 KB gzipped · 0 deps
import { createClient } from "tracabit"; const tcb = createClient({ apiKey: "tcb_live_79a2...", projectId: "tcb_proj_prod_01", endpoint: "https://your-host/analytics", }); // Track pageview tcb.pageView(); // GA4-style purchase helper tcb.purchase("T-2026-0842", 149.97, "EUR", [ { item_id: "SKU-1001", price: 149.97, quantity: 1 }, }]); // Exception & crash reporting tcb.captureException(new Error("checkout failed"), { fatal: true });
# Ingest single or batched event curl -X POST https://your-host/analytics \ -H "Authorization: Bearer tcb_live_..." \ -H "Content-Type: application/json" \ -d '{"sessionId":"s1","url":"https://app.com/pricing","event":"page_view"}' HTTP/1.1 200 OK { "ok": true, "ts": 1786851600000 }

Clean REST API. No SDK required.

Four endpoints cover everything: POST /analytics ingests events, GET /metrics returns aggregates, GET /health reports readiness, and GET /projects manages configuration.

Standard HTTP status codes: 200 (Success), 401 (Missing API key), 403 (Invalid project scope), 429 (Rate limit reached).

AGENT-READY API

Make your metrics readable by agents.

Autonomous AI agents cannot scrape UI charts. They need deterministic HTTP JSON endpoints and structured metrics with stable schemas.

agent → tracabit context loop
# Agent Prompt: "Check traffic anomaly yesterday" GET /metrics?from=2026-08-15&to=2026-08-16 Authorization: Bearer tcb_live_... 200 OK // Deterministic JSON output { "pageviews": 12402, "sessions": 4218, "bounceRate": "28.5%", "trafficSources": { "direct": 1680, "google": 1260 } }
MCP Server:Roadmap @tracabit/agent:Planned

Run Tracabit in your own VPC.

tcm deploy --vpc installs the engine inside your private infrastructure with customer-owned secrets, heartbeat-only egress, and strict VPC isolation.Roadmap

Complete data sovereignty & HIPAA/GDPR isolation

Terraform & Helm charts for AWS, GCP, Azure, and Fly.io

VPC deployment topology diagram showing Tracabit ingestion node inside customer's private cloud, heartbeat-only egress, ClickHouse storage, clean infrastructure illustration with blue and white elements

Deploy ingestion to any edge.

Sub-millisecond ingestion runtimes optimized for modern edge environments.

Available today

Bun

The engine runs natively on Bun today. Zero-extra-runtime deployments.

Roadmap

Cloudflare Workers

Ingestion at 300+ global edge locations connected to ClickHouse via Hyperdrive.

Roadmap

Vercel Edge

Zero-cold-start event forwarding from Vercel Edge Middleware and functions.

Roadmap

Lambda@Edge

AWS CloudFront request interception with automated fire-and-forget delivery.

tcm — one command to deploy.

Provision projects, rotate API keys, and deploy VPC edge instances from your terminal.

terminal — tcm
tcm deploy --vpc aws --project tcb_proj_prod_01
tcm deploy --edge cloudflare --project tcb_proj_prod_01

# roadmap — CLI release coming in v1.3.0
Roadmap
View CLI docs

Start building with Tracabit.

Install in 10 seconds. Query in one HTTP request. Free for 100K events/month.

No cookies. No third-party ad tracking. Your telemetry stays yours.