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":"1124361",
"machine_idx":"854607",
"last event":"Aug 07 06:40 AM +0500",
"duration":"s.e.",
"country":"\/images\/general\/login\/flags\/cn.gif",
"status":"\/images\/general\/login\/puppets\/puppet_offline.png",
"visits(pv)":"11 (1)",
"current page (exit page)":"http:\/\/www.opentracker.net",
"currentTitle":"Opentracker - Web & App Analytics, Lead Capture & Big Data",
"countryName":"China",
"city":"Beijing",
"region":"Beijing",
"isp":"",
"org_company":"Unknown",
"isp/ org":"China Unicom Beijing",
"provider":"baidu.com",
"area code (tel)":"Unknown",
"ZIP/ postal code":"Unknown",
"referrers Logo":"",
"referrer":"Unknown",
"search term":"Unknown",
"user status":"offline",
"number of visits":"11",
"pageviews":"1",
"total pages viewed":"13",
"last visit duration":"single event( s.e.)",
"current visit duration":"00s",
"total duration":"03m 29s",
"first measurement":"Jul 07 04:52 AM +0500",
"platform/ OS":"Unknown",
"browser":"Mozilla 5.0",
"resolution":"1600 x 1600",
"IP address":"111.206.221.77"}
,
{
"visit_id":"1124360",
"machine_idx":"854607",
"last event":"Aug 05 03:47 AM +0500",
"duration":"s.e.",
"country":"\/images\/general\/login\/flags\/cn.gif",
"status":"\/images\/general\/login\/puppets\/puppet_offline.png",
"visits(pv)":"11 (1)",
"current page (exit page)":"http:\/\/www.opentracker.net\/products\/web-analytics\/feature\/real-time-reporting",
"currentTitle":"Real-time Reporting - Web Analytics | Opentracker Analytics",
"countryName":"China",
"city":"Beijing",
"region":"Beijing",
"isp":"",
"org_company":"Unknown",
"isp/ org":"China Unicom Beijing",
"provider":"baidu.com",
"area code (tel)":"Unknown",
"ZIP/ postal code":"Unknown",
"referrers Logo":"",
"referrer":"Unknown",
"search term":"Unknown",
"user status":"offline",
"number of visits":"11",
"pageviews":"1",
"total pages viewed":"13",
"last visit duration":"single event( s.e.)",
"current visit duration":"00s",
"total duration":"03m 29s",
"first measurement":"Jul 07 04:52 AM +0500",
"platform/ OS":"Unknown",
"browser":"Mozilla 5.0",
"resolution":"1600 x 1600",
"IP address":"111.206.221.83"}
]
}


				

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