Display a list of external links followed by visitors out of your domain.
This API produces a json array.
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.
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
2023-03-03 and three days back display in html:
HTTP GET/ POST:/api/top_lists/top_exit_links.jsp?date=2023-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
This last example returns a json array with 'n' entries starting from the specified period formatted as:
{ "resultsList": [ { "No.":"1", "exit link":"https:\/\/ot3.opentracker.net\/", "sessions":"27", "graph":"||||||||||||||||||||", "events":"27", "exitTitle":"opentracker.net"} , { "No.":"2", "exit link":"https:\/\/www.google.com\/search?q=headers+of+the+emails", "sessions":"8", "graph":"||||||", "events":"8", "exitTitle":"google.com"} , { "No.":"3", "exit link":"https:\/\/web.archive.org\/web\/20200203213418\/http:\/\/www.fbrell.com\/auth\/account-info", "sessions":"3", "graph":"||", "events":"3", "exitTitle":"archive.org"} , { "No.":"4", "exit link":"https:\/\/www.opentracker.net\/", "sessions":"2", "graph":"|", "events":"2", "exitTitle":"opentracker.net"} , { "No.":"5", "exit link":"https:\/\/wordpress.org\/plugins\/opentracker-analytics\/", "sessions":"2", "graph":"|", "events":"3", "exitTitle":"wordpress.org"} , { "No.":"6", "exit link":"https:\/\/ot3.opentracker.net\/en\/other\/login.jsp", "sessions":"2", "graph":"|", "events":"4", "exitTitle":"opentracker.net"} , { "No.":"7", "exit link":"https:\/\/developers.facebook.com\/apps\/", "sessions":"2", "graph":"|", "events":"2", "exitTitle":"facebook.com"} , { "No.":"8", "exit link":"https:\/\/www.opentracker.net\/feature\/ip-tracker?ip=35.177.240.62", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"Best IP tracker to identify IP addresses easily"} , { "No.":"9", "exit link":"https:\/\/www.opentracker.net\/products\/web-analytics", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"Join thousands! Start your free web analytics trial - Opentracker"} , { "No.":"10", "exit link":"https:\/\/github.com\/Opentracker\/android\/zipball\/master", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"github.com"} , { "No.":"11", "exit link":"https:\/\/fbdevwiki.com\/wiki\/FB.api", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"fbdevwiki.com"} , { "No.":"12", "exit link":"https:\/\/log.opentracker.net\/?si=test.opentracker.net&message=Please%20track%20me%20too!", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"opentracker.net"} , { "No.":"13", "exit link":"https:\/\/schedule.opentracker.net\/3-schedule-page", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"Schedule \u2013 3 schedule page \u2013 Accelerate growth"} , { "No.":"14", "exit link":"http:\/\/en.wikipedia.org\/wiki\/Session_(computer_science)", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"wikipedia.org"} , { "No.":"15", "exit link":"https:\/\/log.opentracker.net\/?si=test.opentracker.net&message=Please%20track%20me%20too!&sid=a%20session%20id%20given", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"opentracker.net"} , { "No.":"16", "exit link":"https:\/\/github.com\/Opentracker\/android\/", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"github.com"} , { "No.":"17", "exit link":"https:\/\/api.opentracker.net\/api", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"opentracker.net"} , { "No.":"18", "exit link":"http:\/\/developer.android.com\/reference\/android\/app\/Activity.html", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"android.com"} , { "No.":"19", "exit link":"https:\/\/github.com\/Opentracker\/android\/blob\/master\/src\/net\/opentracker\/example\/OTExampleActivity.java#L208", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"github.com"} , { "No.":"20", "exit link":"https:\/\/schedule.opentracker.net\/2-video-page", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"opentracker.net"} , { "No.":"21", "exit link":"https:\/\/log.opentracker.net\/?message=Please%20track%20me%20too!&sid=1234567890&si=test.opentracker.net", "sessions":"1", "graph":"|", "events":"1", "exitTitle":"opentracker.net"} , { "No.":"", "exit link":"", "sessions":"60", "graph":"", "events":"63", "exitTitle":""} ] }
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