Skip to main content
Call init() in ngOnInit of your root AppComponent:
Always set environment. Only "production" and "development" are accepted. If omitted, events default to development.
Tracelit detects Angular Router navigation automatically via history.pushState — no router hooks needed.

Adding user identity

Inject your auth service and call identify() once the user is resolved:

LLM Prompt

Paste this into your coding assistant to install Tracelit for you:

What’s next?