Get visitor data

GET https://datafa.st/api/v1/visitors/{visitorId}

Retrieve identity, activity, and prediction data for a specific visitorId. Requires Bearer Token authentication.

Response

  • Success (200 OK): Returns a detailed visitor data object.
  • Errors: See API Introduction. A 400 occurs if the visitor is a bot.

Response fields

See the example response for the structure. Key objects:

  • identity: Geo-location, device, browser, OS, and first-session parameters derived from the latest pageview.
  • activity: Visit/pageview counts, timing, last URL, completed custom goals, and a list of visited pages.
  • prediction: Conversion prediction details (rate, USD value, score, confidence). Null if visitor is already a customer or you haven't set up revenue attribution.

Use prediction to get more sales: Show a lead magnet or coupon to low-converting visitors, or create urgency or exclusivity to high-potential visitors.

Something missing? Suggest features ✍️