analytics
visitor

Retrieve a visitor

Changed on
get/analytics/{connection_id}/visitor/{id}

Request

  • Base URL: https://api.unified.to
  • URL: https://api.unified.to/analytics/{connection_id}/visitor/{id}
  • Auth: API key in header authorization

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Visitor

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Response

Successful

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

property_idstring

points to AnalyticsProperty

emailstring
namestring
first_namestring
last_namestring
agenumber
gender'MALE' | 'FEMALE' | 'INTERSEX' | 'TRANS' | 'NON_BINARY'
countrystring
country_codestring
citystring
languagestring
timezonestring
first_seen_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

last_seen_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

total_sessionsnumber
total_page_viewsnumber
total_eventsnumber
metadataPropertyAnalyticsVisitorMetadata
rawobject

Changes

    • info

      added the enum value first_name to the property items/ of the query request parameter fields

    • info

      added the enum value last_name to the property items/ of the query request parameter fields

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status