Visits by Exit link

Display all visits containing a click on an exit link. 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. Use this URL to perform GET or POST requests. Visits can also be retrieved based on a visit_id, and/ or a machine_idx.

Parameters

One or more of the following parameters are required:

filterByExitUrl: Display data for the specified exit url. Default is all exit urls.
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.
from Find all visits from the specified unix timestamp. Default is all unix timestamps.
to Find all visits up to the specified unix timestamp. Default is all unix timestamps.
offset The starting point from which 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 for all recent visits containing exit link activity on the website www.opentracker.net.
HTTP GET/ POST: view_visits_exitlinks.jsp?login=demo@opentracker.net&password=demo123&site=www.opentracker.net&offset=0&limit=1

Response

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










{ "resultsList": [
{
"visit_id":"1124338",
"machine_idx":"860869",
"last event":"Jul 28 07:51 PM",
"duration":"06s",
"flag":"us",
"status":"puppet_offline",
"visits(pv)":"6 (1)",
"visits":"6",
"exitlink":"http:\/\/ot3.opentracker.net",
"current page (exit page)":"https:\/\/www.opentracker.net",
"currentTitle":"Opentracker - Web & App Analytics, Lead Capture & Big Data",
"country":"United States",
"city":"Tacoma",
"region":"Washington",
"isp":"Unknown",
"company/ org":"Unknown",
"isp/ org":"Comcast Cable",
"provider":"comcast.net",
"area code (tel)":"253",
"ZIP/ postal code":"98466",
"referrers Logo":"",
"referrer":"Unknown",
"search term":"Unknown",
"user status":"offline",
"pageviews":"1",
"total pages viewed":"11",
"last visit duration":"06s",
"current visit duration":"00s",
"total duration":"03m 35s",
"first measurement":"Jul 18 01:36 AM",
"platform/ OS":"Windows NT 10.0",
"browser":"Chrome 59.0.3071.115",
"resolution":"1920 x 1200",
"IP address":"73.11.143.144",
"country code (FIPS 10-4)":"us",
"exitlink_title":"Opentracker.net"}
]
}


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