Visits by Platform / Operating System

Display which platform (operating system) visitors have installed. This specific api call is turned off by default, please contact support@opentracker.net to turn this api call on.

API Usage

This API produces a json array. Perform GET or POST requests. Visits can also be retrieved based on platform, and/or a visit_id, and/ or a machine_idx.

Parameters

One or more of the following parameters are required:

filterByPlatForm: Find all visitors using the specified platform. Default is all operating systems.
filterByMachineId Display data for these machine ids. Machine id is a unique identifier of each visitor. Default is all machine ids.
filterByVisitId Display data for these visit ids. Visit id is a unique identifier of each visit. Default is all visit ids.
offset The starting point from where records will display. Default is [0] (most recent chronological event).
limit Maximum number of records to be displayed in the output. Default is [40]. Maximum is 10,000.
login Your opentracker login email. Default is [support@opentracker.net].
password Your password.
ticketId A ticketId can be used to provide credentials with an expiring token. A ticketId can be used instead of a login/ password combination. Further information can be found here.
site The site for which to display data. Default is [www.opentracker.net].
locale The locale parameter is an identifier for a particular combination of language and region (e.g. en_US) and determines the format of the data returned. A list of locales can be found here.
dataType The dataType parameter determines the format of the data returned. Values can be [json] | html | jsondatatable | jsonjqgrid
ignoreLocale Display columns without language translation. Boolean. [false]|true.
dateFormat The dateFormat parameter determines the format of dates returned. An example is dateFormat=yyyy-dd-MM. The syntax can be found here.

Examples

To search all visits to www.opentracker.net using Mac.
HTTP GET/ POST: view_platform.jsp?login=demo@opentracker.net&password=demo123&site=www.opentracker.net&platform=*mac*&offset=0&limit=2

Response

This page returns a json array with 'n' entries starting from the specified offset formatted as:

				






{ "resultsList": [
{
"visit_id":"1124587",
"machine_idx":"868382",
"last event":"Oct 20 23:17 PM +0500",
"duration":"10s",
"country":"\/images\/general\/login\/flags\/br.gif",
"status":"\/images\/general\/login\/puppets\/puppet_offline.png",
"visits(pv)":"1 (2)",
"current page (exit page)":"file:\/\/localhost\/D:\/Software\/Microsoft\/_Progs\/Internet%20Explorer\/(())%20info-geral\/Third-Party%20Cookies%20vs%20First-Party%20Cookies%20%20Opentracker%20Analytics.mht",
"currentTitle":"Third-Party Cookies vs First-Party Cookies | Opentracker Analytics",
"countryName":"Brazil",
"city":"São Paulo",
"region":"Sao Paulo",
"isp":"",
"org_company":"Unknown",
"isp/ org":"Claro Net",
"provider":"Unknown",
"area code (tel)":"0",
"ZIP/ postal code":"01000",
"referrers Logo":"",
"referrer":"Unknown",
"search term":"Unknown",
"user status":"offline",
"number of visits":"1",
"pageviews":"2",
"total pages viewed":"4",
"last visit duration":"10s",
"current visit duration":"00s",
"total duration":"10s",
"first measurement":"Oct 20 23:17 PM +0500",
"platform/ OS":"Windows 7",
"browser":"Firefox 68.0",
"resolution":"1360 x 768",
"IP address":"186.220.36.145"}
,
{
"visit_id":"1124586",
"machine_idx":"868381",
"last event":"Oct 14 07:42 AM +0500",
"duration":"s.e.",
"country":"\/images\/general\/login\/flags\/in.gif",
"status":"\/images\/general\/login\/puppets\/puppet_offline.png",
"visits(pv)":"1 (1)",
"current page (exit page)":"file:\/\/localhost\/G:\/Projects\/Adr_Projects\/adr_Analytics%20Opensource\/Mobile%20App%20Analytics%20%20Opentracker%20Analytics.mht",
"currentTitle":"Mobile App Analytics | Opentracker Analytics",
"countryName":"India",
"city":"Ahmedabad",
"region":"Gujarat",
"isp":"",
"org_company":"Unknown",
"isp/ org":"Airtel",
"provider":"Unknown",
"area code (tel)":"0",
"ZIP/ postal code":"382350",
"referrers Logo":"",
"referrer":"Unknown",
"search term":"Unknown",
"user status":"offline",
"number of visits":"1",
"pageviews":"1",
"total pages viewed":"2",
"last visit duration":"single event( s.e.)",
"current visit duration":"00s",
"total duration":"00s",
"first measurement":"Oct 14 07:42 AM +0500",
"platform/ OS":"Windows NT 10.0",
"browser":"IE 7.0",
"resolution":"1280 x 720",
"IP address":"27.61.172.76"}
]
}


				

Errors

If errors are encountered, the first encountered error will be returned of form "Error: exception: message

Error: java.lang.RuntimeException: Login/ site combination is not valid

We would love to hear your feedback. Please use the facebook comment box below