Skip to content

AnalyticsVisitor ​

Example Usage ​

typescript
import { AnalyticsVisitor } from "@meetkai/mka1/models/components";

let value: AnalyticsVisitor = {
  distinctId: "<id>",
  firstSeen: new Date("2026-09-17T07:00:00.123Z"),
  lastSeen: new Date("2026-09-17T07:00:00.123Z"),
  eventCount: 773014,
};

Fields ​

FieldTypeRequiredDescriptionExample
distinctIdstring✔️The visitor's distinct_id as sent with their events.
firstSeenDate✔️Timestamp of the visitor's earliest matching event in the time range, in UTC with milliseconds.2026-09-17T07:00:00.123Z
lastSeenDate✔️Timestamp of the visitor's latest matching event in the time range, in UTC with milliseconds.2026-09-17T07:00:00.123Z
eventCountnumber✔️Number of matching events from this visitor across the whole time range, not only this page.