leadx-ms-tracking
Website tracking collector. Ingest is public; every read endpoint needs the X-Tracking-Service-Token header.
<script async src="https://track.example.com/tracker.js?token=YOUR_TOKEN"></script>
| GET | /tracker.js?token=… | The browser tag |
| POST | /collect | Single event ingest (204, always) |
| POST | /batch | Batched event ingest |
| GET | /pixel.gif?token=… | No-JavaScript beacon |
| POST | /api/identify | Link a visitor to a contact |
| GET | /api/events | Raw event feed |
| GET | /api/sessions | Session rollups |
| GET | /api/visitors | Visitor rollups |
| GET | /api/visitors/:visitorId | One visitor's full journey |
| GET | /api/stats/overview | Headline metrics + period comparison |
| GET | /api/stats/timeseries | Traffic over time |
| GET | /api/stats/pages | Per-page performance |
| GET | /api/stats/sources | Acquisition breakdown |
| GET | /api/stats/devices | Technology breakdown |
| GET | /api/stats/geo | Geography breakdown |
| GET | /api/stats/events | Event and error breakdown |
| GET | /api/stats/realtime | Live visitors |
| POST | /api/stats/funnel | Ordered conversion funnel |
| GET | /health?deep=1 | Health check |