Visitor Data

Visitor API returns a JSON in the following format to the success handler function when it is called successfully. You can write your code in the handler function to personalize your web pages with the returned data.

{
	"ipAddress":"118.211.184.103",
	"countryCode":"AU",
	"countryName":"Australia",
	"currencies":["AUD"],
	"languages":["eng"],
	"region":"nsw",
	"city":"sydney",
	"cityLatLong":"-33.868820,151.209295",
	"browser":"Chrome Mobile iOS",
	"browserVersion":"100",
	"deviceBrand":"Apple",
	"deviceModel":"iPad",
	"deviceFamily":"iPad",
	"os":"iOS",
	"osVersion":"15"
}

Here are the detail explanation of the return data:

JSON Path Description
ipAddress The IP address of the visitor.
countryCode Country from which the visitor is located in as an ISO 3166-1 alpha-2 country code.
countryName The full name of the country which the visitor is located in.
currencies An array of the official currencies of the country which the visitor is located in.
languages An array of the official languages of the country which the visitor is located in.
region Name of the region, state or province which the visitor is located in. The complete list of valid region values is found in the ISO-3166-2 standard.
city Name of the city which the visitor is located in.
cityLatLong Latitude and longitude of the city which the visitor is located in.
browser The browser name which the visitor uses.
browserVersion The browser version which the visitor uses.
deviceBrand The brand of the device which the visitor uses. Only applicable to mobile devices.
deviceModel The model of the device which the visitor uses. Only applicable to mobile devices.
deviceFamily The family of the device which the visitor uses. Only applicable to mobile devices.
os The operating system name of the device which the visitor uses.
osVersion The operating system version of the device which the visitor uses.
Still have a question? Contact us
24×7 help from our support staff