Note: This API call only works with the new Opentracker Events Engine, please contact us for upgrading to this new technology.

Events in a session

Retrieve and display events that occurred in a session.

API Usage

This API produces a json array. Perform GET or POST requests.

Parameters

One or more of the following parameters are required:


sid: Display data for this session id. session id is a unique identifier of each session.
limit Maximum number of records displayed in 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.
ignoreLocale Display columns without language translation. Boolean. [false]|true.
dataType The dataType parameter determines the format of the data returned. Values can be [json] | html | jsondatatable | jsonjqgrid
dateFormat The dateFormat parameter determines the format of dates returned. An example is dateFormat=yyyy-dd-MM. Syntax can be found here.

Examples

Show all events for session 1321397999803.180515048
HTTP GET/ POST:c_view_events.jsp?sid=1321397999803.180515048&site=www.opentracker.net&login=demo@opentracker.net&password=demo123

Response

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

{"rows": 41, "field": ["lastEvent", "duration", "page_type", "pageTitle", "raw_url", "url", "domain", "search"], "label": ["last event", "duration", "page type", "page title / url", "raw url", "url", "domain", "search term"], "className": ["lastEvent", "duration", "page_type", "pageTitle", "raw_url", "url", "domain", "search"], "width": ["lastEvent", "duration", "page_type", "pageTitle", "raw_url", "url", "domain", "search"], "caption": "No caption", "pager": "apager", "hidden": [], "expandable": false, "popUpColumns":[[],[]], "graph":[], "searchFields": [], "mergeUrl": [[]], "merge":[], "rowsPerPageOptions": [ 20,40 ], "resultsList": [[ "Nov 17 12:32 AM", "s.e.", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:31 AM", "1m 6s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:30 AM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:29 AM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:28 AM", "1m 6s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:27 AM", "1m 6s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:26 AM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:25 AM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:24 AM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:23 AM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:22 AM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:21 AM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:20 AM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:19 AM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:18 AM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:17 AM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:16 AM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:15 AM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:14 AM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:12 AM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:11 AM", "1m 7s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:10 AM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:09 AM", "1m 6s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:08 AM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:07 AM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:06 AM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:05 AM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:04 AM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:03 AM", "1m 6s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:02 AM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:01 AM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 17 12:00 AM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 16 11:59 PM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 16 11:58 PM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 16 11:57 PM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 16 11:56 PM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 16 11:55 PM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 16 11:54 PM", "1m 0s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 16 11:53 PM", "1m 3s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "Nov 16 11:51 PM", "1m 6s", "request", "Get in here. | Opentracker.net", "http:\/\/www.opentracker.net\/loginpage", "http:\/\/www.opentracker.net\/loginpage", "www.opentracker.net", ""] , [ "", "319 days 18h 51m 54s", "referrer", "opentracker", "http:\/\/ot2.opentracker.net\/login\/logout.jsp", "http:\/\/ot2.opentracker.net\/login\/logout.jsp", "ot2.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