Event Enrichment
Every event is automatically enriched before being sent to the backend.
Enriched Fields
- eid: Random UUID for the event
- dtm: Event timestamp (epoch ms)
- tz: Timezone (e.g., 'America/New_York')
- p: Platform, always "node"
- e: Event category
- uid:
userId
from your payload (if provided) - aid: Internal app/client mapping
- tv: Tracker version
- ev: The full event payload you provide
Example Outgoing Payload
{
"aid": "cs_demo_client_001",
"eid": "5e6abf55-3f0c-4d1a-a2c3-b1d4fe0c9f32",
"uid": "user-8731",
"dtm": 1735556400000,
"tz": "America/New_York",
"p": "node",
"e": "purchase",
"tv": "for-audienz",
"ev": {
"userId": "user-8731",
"customerId": "cust-2201",
"customerName": "Acme, Inc.",
"amount": 129.99,
"currency": "USD"
}
}
The
ev
field contains the entire event payload you pass tocruxTrack
.
Note: The SDK accepts user-friendly keys and maps them to a compact format for transport.