Documentation — SDK, platform guides, OpenAPI
Documentation
Trackrift docs
SDK reference, install guides, and copy-ready snippets for Markdown or AI agents. OpenAPI covers the live collector endpoints; workspace REST is documented in the guides below.
Copy page → AI agent prompt
Universal script (example)
<script async src="https://t.trackrift.com/v1/u.js?id=YOUR_PUBLIC_ID"></script>
Sign in to the app to copy your workspace snippet with the real public_id.
References
SDK guides
View allSDK overviewArchitecture, bundle size, transport layer, and entry points for @trackrift/sdk.InstallationUniversal script, npm package, monorepo setup, and environment variables.tracker APIinit, track, identify, consent, link, flush, reset, and event_id deduplication.Events & payloadsEventPayload shape, enrichment, standard events, and validation rules.Attribution & click IDsUTM strategy, click ID persistence, cross-domain _aid, short links, magic links.FingerprintProbabilistic identity signals, warming, and privacy boundaries.
Platform guides
Custom CNAMEFirst-party subdomain setup, DNS records, SSL, and migration from t.trackrift.com.Conversion API (CAPI)Server-side forwarding, platform setup, dedupe, and match quality optimization.Attribution modelsTouchpoints, model math, reporting, and implementation implications.Events catalogCanonical event names, payload schema, autocapture events, and mapping to CAPI.TroubleshootingSystematic debugging for ingest, CNAME, CAPI, attribution, and consent issues.