GET
/
website
/
{hostname}
/
summary
curl --request GET \
  --url http://localhost:8080/website/{hostname}/summary
{
  "current": {
    "visitors": 123,
    "pageviews": 123,
    "bounces": 123,
    "duration": 123
  },
  "previous": {
    "visitors": 123,
    "pageviews": 123,
    "bounces": 123,
    "duration": 123
  },
  "interval": [
    {
      "date": "<string>",
      "visitors": 123,
      "pageviews": 123,
      "bounces": 123,
      "duration": 123
    }
  ]
}

Authorizations

_me_sess
string
cookierequired

Session token for authentication.

Path Parameters

hostname
string
required

Hostname for the website.

Query Parameters

previous
boolean
default: false

Retrieve the data from the previous period as well. This is useful when comparing data from the previous period to the current period. Requires the start and end period parameters to be set.

interval
enum<string>

The interval to group the data by. This can be set to minute, hour, day, week or month. This will return an interval property if set.

Available options:
minute,
hour,
day,
week,
month
start
string

Period start date using date-time notation in RFC3339 format, for example, (2017-07-21T17:32:28Z).

end
string

Period end date using fdate-time notation in RFC3339 format, for example, (2017-07-21T17:32:28Z).

path
object

Path of the page.

referrer
object

Referrer URL of the page hit.

utm_source
object

UTM source of the page hit.

utm_medium
object

UTM medium of the page hit.

utm_campaign
object

UTM campaign of the page hit.

browser
object

Browser name.

os
object

Operating system name.

device
object

Device type.

country
object

Country name.

language
object

Language code.

Cookies

_me_sess
string
required

Session token for authentication.

Response

200 - application/json
current
object
required
previous
object
interval
object[]