Your workspace access
Manage the username you use to sign in.
Two-factor authentication is enabled. Changing your password ends existing browser sessions; agent tokens are managed separately.
Let your app agents inspect telemetry, investigate crashes, and verify releases.
One token per agent. Select exactly which environments it can read.
This is the only time the full token is shown. Store it in your agent's secret manager as NIXTRAIL_TOKEN.
The same token works with the HTTP API and a remote MCP client that supports bearer headers.
Full agent guide: setup, API reference & agent instructions ↗
Use Streamable HTTP. Configure the authorization header from your client's secret store.
Available tools: environments, overview, summary, exact event counts, events, installations, sessions, and session timelines. Clients requiring OAuth-only connections need a different authentication flow; this connection uses an access token.
Start by listing your permitted environments, then use an environment ID to query its data.
Counts are observed retained events, not estimates. Crash context may describe possible prior activity rather than a confirmed incident session.
Product pulse
Loading activity…
Loading overview…
Distinct installations in each bucket
Sessions observed in each bucket
Newly enrolled installations
Product activity, excluding automatic diagnostics
Custom events ranked by volume · top 6
Completed screen views · top 6
Active installations and affected share · top 8 releases
Open an installation or session to investigate
Activity uses event occurrence time within the selected rolling period, compared with the equally long preceding period. Charts use UTC bucket boundaries, displayed in your local time; the first and last buckets can be partial. Active installations are distinct SDK installations, not people. Sessions are distinct installation/session pairs with activity; sessions spanning buckets appear in each bucket, so bucket counts should not be added to get period totals.
Returning means an active installation enrolled before the selected period; this is not cohort retention. Custom actions are events marked custom. Issues are error events, critical events, or high-priority diagnostics. Routine diagnostics are excluded. Release counts use the app version recorded on each event; an installation that upgraded can appear in multiple releases. Screen views require screen tracking instrumentation. Delayed uploads can revise past periods. Sampling, blocked events, disabled collection, and retention can reduce these observed counts.
Every app installation, ordered by most recent activity.
Installation
Loading event history
Session
Session replay
Organization
Add apps once. Nixtrail provisions development, staging, and production automatically.
Knowledgebase
Use the dashboard, integrate the iOS or Android SDK, and design useful product telemetry. Documentation home ↗
Start here
Nixtrail collects anonymous app activity and turns it into a hierarchy you can inspect: project, app, environment, installation, session, then chronological moments.
Development, staging, and production are created for the app automatically.
Use the non-empty app UUID copied from the dashboard in every build. The SDK selects the environment.
Track completed user actions, not every tap or implementation detail.
Configure App Attest, generate a client enrollment key, or enable both paths.
Dashboard
Use Dashboard for charts, engagement, and recent issues. Use Installations to search devices and inspect their sessions. Choose a project and app to see production by default. Explicit environment links restore the requested environment. The URL preserves the selected environment, range, installation search, and installation/session detail, so reload, bookmarks, and Back/Forward return to the same context.
The installation list is ordered by latest authenticated activity. Its short installation ID reveals the complete UUID on hover. Search by ID, device, release, language, region, or time zone. “Time in app” is foreground time only.
An installation becomes inactive after 30 days without contact. This is not proof of uninstall: the person may simply not have opened the app. A returning app renews the same installation.
The Usage graph counts events from one installation. It keeps hourly detail for the latest seven days and collapses older retained history into daily totals.
Open an installation to see its sessions, durations, custom-action count, release, and status. Open a session to replay every moment in client occurrence order. Friendly labels describe normal events; technical names and IDs remain available under Technical details.
Projects
Create an app once, then inspect or tune its automatically managed development, staging, and production boundaries.
An organization owns projects and is saved once. Creating a project selects an existing organization from the dropdown instead of retyping its name and slug, so the same organization is reused rather than duplicated. Choose New organization only to add one; its slug is filled in from the name and can be overridden.
Open Organizations in the project management header to rename or delete one. A rename updates the single record every project points at, so the new name and slug apply everywhere immediately.
To move a project between organizations, choose Edit project and pick a different organization. Its apps, environments, and collected telemetry move with it, and app IDs stay the same, so shipped builds keep reporting.
Open Projects, create a project, and add an app. Nixtrail provisions all three standard environments immediately. Copy the app ID once; normal Xcode, TestFlight, and App Store builds reuse it.
Production environments can use App Attest, client enrollment keys, or both. App Attest requires the exact Team ID and bundle identifier used to sign the app. Development and staging intentionally remain open to local builds and simulators.
| Control | Effect |
|---|---|
| Telemetry collection | Remote kill switch for the project. |
| Sample rate | Deterministically retains a fraction from 0 to 1. Critical events bypass sampling. |
| Minimum priority | Drops events below the selected priority. |
| Blocked events | Always drops exact event names, one per line. |
| Flush interval | Minimum time between normal uploads. |
| Batch size | Maximum events sent in one request, up to 100. |
| Retention | Days events remain in PostgreSQL before cleanup. |
iOS SDK
The package supports iOS and iPadOS 18 or newer, Swift 6, offline queueing, remote policy, and the default endpoint at https://telemetry.backupexperts.eu/api.
In Xcode, choose File → Add Package Dependencies, enter https://telemetry.backupexperts.eu/sdk/NixtrailTelemetry.git, select version 0.10.6, and add the NixtrailTelemetry product to the app target.
The complete client integration manual is available at telemetry.backupexperts.eu/sdk/ios/.
import NixtrailTelemetry
import SwiftUI
@main
struct MyApp: App {
init() {
Telemetry.start(TelemetryConfiguration(
appID: "<APP_ID>"
))
}
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
import NixtrailTelemetry
import UIKit
@main
final class AppDelegate: UIResponder, UIApplicationDelegate {
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [
UIApplication.LaunchOptionsKey: Any
]? = nil
) -> Bool {
Telemetry.start(TelemetryConfiguration(
appID: "<APP_ID>"
))
return true
}
}
No AppDelegate or SceneDelegate forwarding is required. Automatic lifecycle observation is installed when the SDK starts.
let environment = await TelemetryEnvironment.current()
let apiURL = switch environment {
case .development: developmentAPI
case .staging: stagingAPI
case .production: productionAPI
case .unknown: throw BootstrapError.environmentUnavailable
}
Apple development-signed builds resolve to development, including optimized and custom Xcode configurations. Other builds use Apple’s verified StoreKit app transaction: TestFlight sandbox maps to staging and App Store maps to production. Unverified results remain unknown. CI and unusual builds can use environment: .fixed(...).
Sessions time out after 30 background minutes, normal flushes run every 30 seconds, a queue flush begins at 20 events, batches contain at most 50 events, and the disk queue holds up to 10,000 events. Override these only when the product has a concrete need.
Android SDK
The Android 11+ SDK has a Compose-free core, optional Jetpack Compose helpers, SQLite delivery, Android Keystore credentials, remote policy, and the same Nixtrail event and replay protocol as iOS.
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven("https://telemetry.backupexperts.eu/sdk/maven")
}
}
dependencies {
implementation("com.nixtrail:telemetry:0.10.6")
implementation("com.nixtrail:telemetry-compose:0.10.6")
}
class MyApplication : Application() {
override fun onCreate() {
super.onCreate()
Nixtrail.start(
this,
NixtrailConfiguration(appId = "<APP_ID>")
)
}
}
Set the class on the manifest application element. The SDK installs lifecycle and connectivity observers automatically; Activity forwarding is not required.
Debuggable Android Studio builds use development, non-debuggable installs outside Play use staging, and Google Play installs use production. Google Play does not expose internal or closed testing tracks to normal app code, so set EnvironmentMode.Fixed(STAGING) for a Play-delivered test track when needed.
NixtrailScreen("checkout") {
CheckoutContent()
}
AccountSummary(
Modifier.nixtrailReplayMasked()
)
The full Android integration and collection reference is published at telemetry.backupexperts.eu/sdk/android/.
Production security
Production installations can enroll with Apple App Attest, an exact bundle-ID check, or a project enrollment key embedded in the client app. Development and staging projects do not require these checks.
In Apple Developer, edit the identifier used by the release bundle ID and enable App Attest.
Open the app target, choose Signing & Capabilities, add App Attest, and let Xcode update the entitlements.
Set the Team ID and exact bundle ID in that environment’s collection policy.
The SDK requests a challenge, creates an App Attest key, submits Apple’s evidence, and receives an installation credential.
The server checks Apple’s certificate chain, challenge nonce, key identifier, production AAGUID, Team ID, and bundle ID before issuing credentials. A lost response is retried with the same pending enrollment so the key is not attested twice.
Create a project key from the environment settings and pass it to TelemetryConfiguration(enrollmentKey:). The SDK uses that key only for challenge and installation registration, then switches to the installation-scoped bearer credential for policy and events.
Set the exact Apple bundle ID and leave Team ID blank to accept production enrollment without App Attest. Bundle IDs are supplied by clients and are not proof of app authenticity.
Automatic telemetry
Every app gets a bounded baseline of runtime, device, performance, and SDK-health observations. Signals that need product context use standardized one-line hooks instead of unsafe global interception.
| Event | When it appears | Priority |
|---|---|---|
app.installed | First SDK launch after installation. iOS does not run the app at download time. | Normal |
app.first_opened | The installation is opened for the first time. | Normal |
app.opened | Every cold process launch. | Low |
app.foregrounded | The app returns from the background. | Low |
app.backgrounded | The app is no longer onscreen. | Low |
app.closed | iOS delivered a termination notification. This callback is best effort. | Low |
app.updated | The app version or build changed since the prior launch. | Normal |
session.started | Initial launch or a return after the session timeout. | Low |
session.timeout | The inactivity window elapsed while the app was backgrounded. | Low |
session.ended | A timeout or clean termination completed the session, including foreground/background duration and engagement counts. | Low |
app.cold_start / app.warm_start | A cold launch or foreground return reached the active state. | Low |
network.online / network.offline / network.changed | The initial network path or a later status, interface, expense, or constraint change. | Low |
locale.changed / timezone.changed | The locale or time-zone setting changed. | Low |
theme.changed / orientation.changed | The app appearance or physical orientation category changed. | Low |
power.low_mode.changed | Low Power Mode changed. | Low |
battery.changed / battery.low | The five-percent battery bucket or charging state changed, or unplugged battery crossed 20%. | Low / Normal |
memory.warning / thermal.warning | iOS asked the app to release memory or reported serious thermal pressure. | High / Normal |
performance.sample | MetricKit delivered a daily bounded aggregate for CPU, memory, disk writes, networking, startup, responsiveness, and exits. | Normal |
app.crashed | MetricKit later delivers a confirmed crash diagnostic. | Critical |
app.hang.detected | MetricKit reports a hang and its duration. | High |
app.cpu_exception.detected | MetricKit reports excessive CPU activity. | High |
app.disk_write_exception.detected / app.launch.slow | MetricKit reports excessive writes or a slow launch. | High |
sdk.started / sdk.stopped | Nixtrail initialized or reached a clean process boundary. | Low |
queue.dropped / event.failed | The bounded queue evicted events or ingestion rejected one event. | High |
app.termination.abnormal | The prior process did not reach a clean marker. It is explicitly unconfirmed. | High |
Installation ID, session ID, client event ID, occurrence and receipt times, client sequence, app version and build, OS version, device model, locale, preferred language, locale region, IANA time zone, SDK name and version, kind, priority, and validated properties.
Automatic telemetry answers how the runtime behaved without guessing business meaning. Screens and scrolling are summarized into a completed screen.view; Nixtrail does not duplicate them as visibility or per-offset streams.
| Level | Data |
|---|---|
| Runtime automatic | Lifecycle, sessions, startup, connectivity, meaningful device and resource changes, MetricKit aggregates and diagnostics, and SDK health. |
| Semantic hooks | Screen and scroll summaries, UI interactions, gestures, sanitized network completion, notifications, deep links, permissions, and background tasks. |
| Business events | Purchases, login, search, onboarding, experiments, media, forms, and other outcomes only the app understands. |
| Optional replay | Privacy-filtered screen frames and normalized touch positions, only when enabled in both the client and environment policy. |
| Never collected | Bodies, headers, complete URLs, query strings, raw view hierarchies, Wi-Fi names, IP addresses, and disk free/total capacity. |
Telemetry.uiInteraction(
.buttonClicked,
screen: "checkout",
accessibilityID: "subscribe"
)
Telemetry.gesture(.swipe, screen: "gallery", direction: "left")
Telemetry.networkRequest(
method: "GET",
host: "api.example.com",
route: "/v1/catalog",
status: 200,
duration: 0.184
)
Telemetry.notification(.opened, category: "weekly_summary")
Telemetry.deepLinkOpened(
scheme: "myapp",
host: "catalog",
route: "/item"
)
Telemetry.permission(.granted, permission: "camera")
Telemetry.backgroundTask(
.finished,
task: "catalog_refresh",
duration: 2.4,
succeeded: true
)
Network and deep-link routes are stripped of query strings and fragments. The SDK does not accept request bodies, response bodies, headers, typed text, visible control text, or touch coordinates in these helpers.
Custom telemetry
Custom events describe what a person accomplished inside the app. Prefer completed actions and outcomes over taps, implementation details, or high-volume UI noise.
Telemetry.track(
"checkout.completed",
properties: [
"plan": .string("annual"),
"trial": .bool(false),
"item_count": .int(3),
"total": .double(49.99),
],
priority: .normal
)
Telemetry.track(
"import.completed",
properties: [
"format": .string("csv"),
"row_count": .int(824),
"duration_ms": .int(1160),
"warnings": .array([
.string("missing_optional_column"),
.string("date_normalized"),
]),
"options": .object([
"deduplicated": .bool(true),
"mode": .string("merge"),
]),
],
priority: .normal
)
Use stable semantic screen names rather than Swift type names or identifiers containing user data. Nixtrail completes each screen span when navigation moves elsewhere and excludes time spent in the background.
struct CheckoutView: View {
var body: some View {
CheckoutForm()
.telemetryScreen(
"checkout",
properties: ["flow": .string("purchase")]
)
}
}
UIKit and custom navigation systems can call Telemetry.screenView("checkout") when the screen appears and Telemetry.endScreenView("checkout") when it disappears.
The resulting screen.view event includes screen_name, optional previous_screen and next_screen, foreground-only duration_ms, and an end reason.
Apply scroll tracking to the SwiftUI scroll container. Geometry and gesture changes stay in memory and are folded into the one completed screen.view event.
ScrollView {
ArticleContent(article: article)
}
.telemetryScrollTracking("article")
.telemetryScreen("article")
.task {
await article.load()
Telemetry.screenReady("article")
}
The summary can include max_scroll_depth_percent, reached_end, scroll_duration_ms, scroll_interactions, content and viewport heights, plus explicit load_duration_ms. The screen name binds delayed callbacks to the correct span. UIKit integrations can update the same summary from scroll-view delegate callbacks with Telemetry.updateScrollProgress(for:), Telemetry.scrollInteractionBegan(on:), and Telemetry.scrollInteractionEnded(on:).
Use stable domain-style names such as onboarding.completed, document.signed, or subscription.restored. Names must start with an ASCII letter or digit, may contain letters, digits, dots, underscores, colons, and hyphens, and are limited to 96 bytes.
search.completedplaylist.createdexport.failed
button_tappedview_did_appearuser_did_something
| Priority | Use it for |
|---|---|
| Low | Frequent, disposable context such as passive navigation. |
| Normal | Most meaningful user actions and product outcomes. |
| High | Failures or rare states that should survive queue pressure. |
| Critical | Severe diagnostics. Critical events bypass sampling, but still obey kill switches and blocked names. |
do {
try await catalog.refresh()
} catch {
Telemetry.capture(
error: error,
source: "catalog_refresh",
properties: [
"operation": .string("refresh"),
"retryable": .bool(true),
]
)
}
Handled errors are sent as exception.non_fatal with high priority. The SDK records the error type, source, and your safe properties. Concrete Foundation errors retain domain and code; custom error metadata getters are not invoked. Supply safe scalar codes explicitly for custom errors. It does not send a localized message or stack trace.
Sessions
A session can remain active while the app is backgrounded, but background time never contributes to the user’s time in app.
session.timeout and session.ended at the exact inactivity boundary, then starts another session.app.closed, session.timeout, or session.ended marks a session ended.Nixtrail sums intervals beginning at app.opened, session.started, or app.foregrounded and ending at app.backgrounded, app.closed, session.timeout, or session.ended. Locked-screen and background gaps contribute zero.
Session replay
Replay is opt-in on the client and in each environment. Nixtrail records a compressed sequence of privacy-filtered screenshots and normalized touch positions, then attaches it to the existing installation and session story.
Telemetry.start(TelemetryConfiguration(
appID: appID,
sessionReplay: SessionReplayConfiguration(
isEnabled: true
)
))
Then enable Replay collection in the selected environment policy. Either switch is a kill switch. Sampling is deterministic per installation and session.
.sessionReplayMasked() in SwiftUI or set view.nixtrailSessionReplayMasked = true in UIKit for sensitive SwiftUI or custom-rendered regions.maskAllText and/or maskAllImages to true only for an app that needs strict whole-frame pixelation.The default client uses a 540-pixel maximum edge, JPEG quality 0.28, at most one frame per second, and skips identical frames. Chunks are deflate-compressed, capped at 1 MB, queued with file protection, and stored outside PostgreSQL. Each environment controls sample rate, frame interval, retention, and a hard per-session byte limit.
Privacy
The SDK is anonymous by default, contains no advertising tracker, and rejects common personal, credential, and payment property names.
Telemetry.start(TelemetryConfiguration(
appID: telemetryAppID,
isEnabled: consent.analyticsAllowed
))
// Later, when the preference changes:
Telemetry.setEnabled(consent.analyticsAllowed)
Disabling collection stops new events and uploads while preserving the existing local queue. Use isEnabled only for an actual runtime privacy or consent choice, never to distinguish Xcode, TestFlight, or App Store builds. Your app remains responsible for its user-facing disclosure, consent flow, and deletion workflow.
The SDK removes and the server rejects keys including address, authorization, credit_card, email, full_name, ip, name, password, phone, secret, serial, token, and username.
Explicitly supplied latitude, longitude, and location properties are accepted, including nested coordinate objects. The SDK does not request location permission or collect GPS coordinates automatically. Apps using older SDK versions must update to retain these fields.
Installation credentials and pending enrollment use Keychain with device-only protection. Event files use protected Application Support storage. The package includes an Apple privacy manifest; every integrating app must still disclose its own custom telemetry appropriately.
Reliability
Tracking does not wait for the network. Events are persisted individually and uploaded in bounded batches when policy and connectivity allow.
let status = await Telemetry.status()
print(status.isConfigured)
print(status.isEnabled)
print(status.environment.rawValue)
print(status.environmentSource.rawValue)
print(status.queuedEventCount)
print(status.installationID ?? "Not enrolled")
print(status.lastUploadAt as Any)
print(status.lastError ?? "No error")
await Telemetry.trackAndWait(
"export.completed",
properties: ["format": .string("pdf")]
)
await Telemetry.flushAndWait()
status.isConfigured, status.isEnabled, status.environment, and status.lastError.DEBUG, $(ACTION), and configuration-name checks. Development builds should report to development.Telemetry.status() for queue size and the last transport error.Reference
Most apps should use the SDK. The HTTP surface is useful for operating the service and for future SDK implementations on other platforms.
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/installations/challenge | Create an enrollment challenge. |
| POST | /v1/installations | Register an installation and receive policy. |
| GET | /v1/policy | Read current policy with an installation credential. |
| POST | /v1/events | Submit an idempotent batch of 1 to 100 events. |
Authenticated administration routes under /v1/admin manage projects and policies, return summary metrics, list installations, derive sessions, and return chronological session events. Unsafe requests require the session’s CSRF token.
| Path | Purpose |
|---|---|
/health/live | Process liveness. |
/health/ready | PostgreSQL-backed readiness. |
/metrics | Prometheus-format request and ingestion counters. |
Public app UUIDs are discovery identifiers, not secrets. Installation bearer secrets are random, scoped to one resolved environment, and stored server-side only as SHA-256 hashes. Dashboard access uses username, password, TOTP, an HttpOnly session, CSRF protection, strict content security policy, and no-index headers.