Visitor data contains the following information:
| Variable |
Type |
Description |
| ip |
IIPAddress |
It provides information about the IP address of a visitor. |
| geo |
IGeoLocation |
It provides information about the geolocation of a visitor. |
| locale |
ILocale |
It refers to the locale used by a visitor's device. |
| session |
IcurrentSession |
It provides information about the current session when the visitor visited a website. |
| firstSession |
IFirstSession |
It provides information about the first session when the visitor landed on a website. |
| browser |
IWebBrowser |
It provides the browser information of a visitor. |
| os |
IOperatingSystem |
It refers to the operating system of a visitor's device. |
| device |
IDevice |
It refers to the device used by the visitor while visiting the website. |
Device Screen
| Variable |
Type |
Description |
| resolution |
string |
It provides information about the screen resolution of a visitor's device. |
| width |
number |
It provides information about the screen width of a user's device in pixels. |
| height |
number |
It provides information about the screen height of a user's device in pixels. |
| Variable |
Type |
Description |
| name |
string |
It refers to the family name of the mobile device used by the visitor. |
| version |
number |
It refers to the version or edition of the visitor's mobile device. |
| screen |
IDeviceScreen |
It refers to the screen information on a visitor's device. |
| viewport |
IDeviceScreen |
It provides information about the view port of a visitor's device. |
| isTablet |
Boolean |
It determines whether the value represented by a visitor's device is a table or not. |
| isMobile |
Boolean |
It determines whether the value represented by a visitor's device is a mobile or not. |
IP Address
| Variable |
Type |
Description |
Note |
| address |
string |
It refers to the IP address of a visitor's Internet connection. |
We can obtain the Fallback IP address from a local machine. For example, 1, 127.0.0.1, 10.x.x.x |
Locale/Language
| Variable |
Type |
Description |
| languageCode |
string |
It refers to the two-letter ISO-639-1 code for the browser's default/preferred language. |
| countryCode |
string |
It refers to the two-letter ISO-3166 country code for which the browser's default language is localized. |
Operating System
| Variable |
Type |
Description |
| name |
string |
It refers to the family name of the operating system used by the visitor. |
| version |
string |
It refers to the version/edition of the visitor's operating system. |
| platform |
string |
It determines whether the visitor has a 32-bit or 64-bit operating system. |
Web Browser
| Variable |
Type |
Description |
| name |
string |
It refers to the display name of the browser used by the visitor. |
| version |
string |
It refers to the full version number of the browser. |
| majorVersion |
string |
It refers to the major version number of the browser. |
Session
| Variable |
Type |
Description |
| visits |
string |
It determines the number of times a visitor visited the site. |
| start |
string |
It determines the date and time the visitor lands on a website. |
| last_visit |
string |
It determines the last date and time the visitor visited the website. |
| url |
string |
It refers to the URL of the first page the visitor landed on when arriving at the website. |
| path |
string |
It provides the URL of the website that referred the visitor. |
| referrer |
string |
It provides the domain of the website that referred the visitor. |
| referrer_infor |
string |
It provides the information referred by the visitor. |
| search |
string |
It provides the query of the website where the visitor had visited. |
Current Session
| Variable |
Type |
Description |
| visits |
number |
It determines the number of times a visitor visited the site. |
| start |
string |
It determines the date and time the visitor lands on a website. |
| last_visit |
string |
It determines the last date and time the visitor visited the website. |
| url |
string |
It refers to the URL of the first page the visitor landed when arriving at the website. |
| path |
string |
It provides the URL of the website that referred the visitor. |
| referrer |
string |
It provides the domain of the website that referred the visitor. |
| referrer_infor |
any |
It provides the information referred by the visitor. |
| search |
string |
It provides the query of the website that the visitor had visited. |
| prev_visit |
string |
It provides information regarding the date and time of the last visit of a visitor on a website. |
| time_since_last_visit |
number |
It refers to the number of milliseconds since the last visit to the current session. |