Visitor Timeline

Get the chronological event timeline for a specific visitor.

Visitor Timeline

Returns a chronological feed of events for a specific visitor, including pageviews, goal completions, and purchases.

Endpoint

GET /api/v1/organizations/:orgId/sites/:siteId/visitors/:visitorId/timeline

Path Parameters

ParameterTypeRequiredDescription
visitorIdstringYesThe visitor ID

Response fields

Returns the visitor profile and a timeline array. The response includes pagination fields total, page, and limit.

Each timeline entry:

FieldTypeDescription
idstringEvent ID
session_idstringSession ID
event_typestringEvent type (pageview, goal, purchase, form)
timestampstringISO 8601 event timestamp
page_urlstringPage URL (for pageviews)
page_titlestringPage title (for pageviews)
event_namestringEvent/goal name (for goal events)
revenuenumberRevenue amount (for purchase events)
currencystringRevenue currency code
referrer_sourcestringReferrer source for this event
propertiesobjectCustom event properties