Trend Pages

Display all website pages visited over a given period of time.

API Usage

This API produces a json array. Use this URL to perform GET or POST requests.


One or more of the following parameters are required:

filterByUrl Calculate the page trend for the specified url. The url should be in the encoded format. Use this link to convert the url to the required format. By default, all the pages are returned.
date Calculate page trends from specified date entered as yyyy-MM-dd. Default is the current date.
unixTime Calculate page trends from specified unix timestamp. Default is current unix timestamp.
period Specify the trend period.

  • d for days, eg: period=14d will show 14rows with daily trends, period=d defaults to 1 day
  • w for weeks, eg: period=12w will show 12 rows with weekly trends, period=w defaults to 1 week
  • m for months, eg: period=4m will show 4 rows with monthly trends, period=m defaults to 1 month

timezone Timezone used. Use this option if more than one timezone is being recorded. Default is site's defined timezone.
limit Maximum number of records to be displayed in the output. The default is [40]. Maximum is 10,000.
login Your opentracker login email. Default is [].
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 [].
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.


To calculate the monthly trends to the website for the user "" with password "demo123":
HTTP GET/ POST: trends_pages.jsp?

To calculate the daily trends for the url '' over a range of 3 days from now:
HTTP GET/ POST: trends_pages.jsp?trend=daily&period=3d


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

{ "resultsList": [ { } ] }


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