Top Exit Links

Display a list of external links followed by visitors out of your domain.

API Usage

This API produces a json array.

Parameters

One or more of the following parameters are required:

date Calculate the top exit links from the specified date entered as yyyy-MM-dd. Default is the current date.
unixTime Calculate the top exit links from the specified unix timestamp. Default is the current unix timestamp.
period The time-range considered for calculating the top exit links with respect to the date. For example: 3d for 3 days offset.
filterByUrl Filter by url. If set then only show urls containing the value set. Wild cards can be used. Example: *mail* searches for all exit links containing the keyword 'mail'.
timezone Calculate the top referrers for the specified timezone. Default is the site's defined timezone.

Optional parameters:

login Your opentracker login email. Default is [demo@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.
segment This is the property field based on which you want to segment the data. By default there are no segments. You can find more information here.
filter You can choose to see no segments [none] (default), see all segments showAllSorts, or by specifying the name of the segment.
site The site to display data for. 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 [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. The syntax can be found here.

Examples

Display a top exit links for the website www.opentracker.net for the user "demo@opentracker.net" with password "demo123":
HTTP GET/ POST:/api/top_lists/top_exit_links.jsp?period=1d&login=demo@opentracker.net&password=demo123&site=www.opentracker.net
Display a top exit links list for the website www.opentracker.net from 2010-03-03 and three days back display in html:
HTTP GET/ POST:/api/top_lists/top_exit_links.jsp?date=2010-3-3&login=demo@opentracker.net&password=demo123&site=www.opentracker.net&period=3d&dataType=html
Display a top exit links list for the website www.opentracker.net from now to 5 days back:
HTTP GET/ POST:/api/top_lists/top_exit_links.jsp?period=5d

Response

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

              { "resultsList": [
{
"No.":"1",
"exit link":"http:\/\/ot3.opentracker.net\/",
"sessions":"195",
"graph":"||||||||||||||||||||",
"events":"230",
"exitTitle":"Opentracker.net - Website tracking, web statistics & website analytics"}
,
{
"No.":"2",
"exit link":"http:\/\/www.the-dma.org\/privacy\/creating.shtml",
"sessions":"8",
"graph":"|",
"events":"8",
"exitTitle":"the-dma.org"}
,
{
"No.":"3",
"exit link":"https:\/\/ot3.opentracker.net\/",
"sessions":"8",
"graph":"|",
"events":"8",
"exitTitle":"opentracker.net"}
,
{
"No.":"4",
"exit link":"https:\/\/www.leadboxer.com\/",
"sessions":"5",
"graph":"|",
"events":"5",
"exitTitle":"leadboxer.com"}
,
{
"No.":"5",
"exit link":"http:\/\/www.aboutcookies.org\/howtocomply.asp",
"sessions":"3",
"graph":"|",
"events":"4",
"exitTitle":"aboutcookies.org"}
,
{
"No.":"6",
"exit link":"mailto:support@opentracker.net?subject=Support%20Needed",
"sessions":"3",
"graph":"|",
"events":"3",
"exitTitle":"opentracker.net"}
,
{
"No.":"7",
"exit link":"http:\/\/www.mysite.com\/",
"sessions":"2",
"graph":"|",
"events":"2",
"exitTitle":"mysite.com"}
,
{
"No.":"8",
"exit link":"http:\/\/support.opentracker.net\/contact",
"sessions":"2",
"graph":"|",
"events":"2",
"exitTitle":"opentracker.net"}
,
{
"No.":"9",
"exit link":"https:\/\/vimeo.com\/54534337",
"sessions":"1",
"graph":"|",
"events":"1",
"exitTitle":"vimeo.com"}
,
{
"No.":"10",
"exit link":"https:\/\/fbdevwiki.com\/wiki\/FB.api",
"sessions":"1",
"graph":"|",
"events":"1",
"exitTitle":"fbdevwiki.com"}
,
{
"No.":"11",
"exit link":"http:\/\/mbsy.co\/8MMRC?url=https%3A%2F%2Fwww.getdrip.com%2Funiversity%2Fpowered-by-drip%2F",
"sessions":"1",
"graph":"|",
"events":"1",
"exitTitle":"mbsy.co"}
,
{
"No.":"12",
"exit link":"http:\/\/ot3.opentracker.net\/en\/downloads\/manuals\/user-guide.pdf",
"sessions":"1",
"graph":"|",
"events":"1",
"exitTitle":"opentracker.net"}
,
{
"No.":"13",
"exit link":"https:\/\/www.opentracker.net\/products\/web-analytics?ot_nav_item=topnav-products-button",
"sessions":"1",
"graph":"|",
"events":"1",
"exitTitle":"Web Analytics | Opentracker Analytics"}
,
{
"No.":"14",
"exit link":"http:\/\/www.fbrell.com\/auth\/account-info",
"sessions":"1",
"graph":"|",
"events":"1",
"exitTitle":"fbrell.com"}
,
{
"No.":"15",
"exit link":"https:\/\/developers.facebook.com\/apps\/",
"sessions":"1",
"graph":"|",
"events":"1",
"exitTitle":"facebook.com"}
,
{
"No.":"16",
"exit link":"https:\/\/api.opentracker.net\/api",
"sessions":"1",
"graph":"|",
"events":"1",
"exitTitle":"opentracker.net"}
,
{
"No.":"17",
"exit link":"http:\/\/api.opentracker.net\/api\/example\/javascript-api-custom-events.html",
"sessions":"1",
"graph":"|",
"events":"1",
"exitTitle":"opentracker.net"}
,
{
"No.":"18",
"exit link":"http:\/\/www.fbrell.com\/fb.api\/everyone-data",
"sessions":"1",
"graph":"|",
"events":"1",
"exitTitle":"fbrell.com"}
,
{
"No.":"19",
"exit link":"http:\/\/www.linkedin.com\/company\/opentracker?trk=fc_badge",
"sessions":"1",
"graph":"|",
"events":"1",
"exitTitle":"linkedin.com"}
,
{
"No.":"20",
"exit link":"http:\/\/www.google.com\/competition\/howgooglesearchworks.html#section1",
"sessions":"1",
"graph":"|",
"events":"1",
"exitTitle":"google.com"}
,
{
"No.":"",
"exit link":"",
"sessions":"238",
"graph":"",
"events":"274",
"exitTitle":""}
]
}


            

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