Trackion is a lightweight telemetry infrastructure for developers.
It helps you track events, understand how your product is used, and keep full control over your data -> without complex setup or vendor lock-in.
Most analytics tools are:
- heavy and hard to setup
- expensive at scale
- or require sending your data to third parties
Trackion is built to be:
- simple to integrate
- fast and minimal
- self-hostable with full data ownership
- Event tracking (custom + automatic)
- Error tracking (automatic capture + grouping)
- Runtime control (feature flags + remote config)
- Real-time analytics dashboard
- Session and user insights
- Lightweight SDK (minimal overhead)
- Self-host friendly (your data stays with you)
- Hosted cloud (beta)
Add Trackion to your app:
<script
src="https://api.trackion.tech/t.js"
data-api-key="YOUR_API_KEY"
></script>Track events:
trackion.track("button.click", {
label: "signup",
});That’s it. Events will start appearing in your dashboard.
Trackion automatically captures JavaScript errors and unhandled promise rejections:
// Automatic capture - no setup needed
window.onerror = (message, source, lineno, colno, error) => {
// Trackion captures this automatically
};
// Manual capture
trackion.captureError(new Error("Something went wrong"), {
userId: "user123",
page: "checkout",
});Key Features:
- Automatic capture of uncaught errors and promise rejections
- Error grouping by fingerprint (same errors grouped together)
- Stack traces with source file and line numbers
- Context data (URL, user ID, browser, custom data)
- Deduplication (prevents spam from repeated errors)
- Dashboard integration (view and debug errors in your analytics)
Errors appear in your dashboard under the "Errors" section, grouped by their fingerprint for easy debugging.
You can use Trackion in two ways:
-
Cloud (beta) → quick start, no setup https://trackion.tech/
-
Self-hosted → run on your own infrastructure
Guides:
- SaaS → https://trackion.tech/docs/saas-guide/
- Self-host → https://trackion.tech/docs/quick-start/
Dashboard preview (more in docs)
- Project is still in early stage, expect some changes
- APIs and features may evolve
- Self-hosting is recommended if you want full control
Full docs: https://trackion.tech/docs/
SDK examples are available in examples/ for web, react, vue, node, and script integrations.
- JavaScript SDK (official): @trackion/js
- Source: P8labs/trackion-js
Trackion is open source under the MIT License. You are free to use, modify, and self-host Trackion.
Trackion is also offered as a hosted cloud service (currently in beta).
The open source version is fully functional for self-hosting. The hosted version may include additional features, scaling, and managed services.
"Trackion" and "P8labs" are trademarks of P8labs. You may not use the Trackion name, logo, or branding for commercial purposes without permission.
