GET
/
website
/
{hostname}
/
devices
curl --request GET \
  --url http://localhost:8080/website/{hostname}/devices
[
  {
    "device": "<string>",
    "visitors": 123,
    "visitors_percentage": 123,
    "bounce_percentage": 123,
    "duration": 123
  }
]

Authorizations

_me_sess
string
cookie
required

Session token for authentication.

Path Parameters

hostname
string
required

Hostname for the website.

Required string length: 1 - 253

Query Parameters

summary
boolean
default:false

Return a summary of the stats.

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.

prop_name
object

Name of the property.

prop_value
object

Value of the property.

limit
integer

Limit the number of results.

Required range: 1 <= x <= 5000
offset
integer

Offset the results paired with the limit parameter.

Required range: 0 <= x <= 5000

Cookies

_me_sess
string
required

Session token for authentication.

Example:

"_me_sess=token; Path=/; HttpOnly; SameSite=Lax; Secure"

Response

200
application/json
OK
device
string
required

Device name.

visitors
integer
required

Number of unique visitors from device.

visitors_percentage
number
required

Percentage of unique visitors from device relative to all visitors.

bounce_percentage
number

Bounce rate percentage from device.

duration
integer

Total time spent on page from device in milliseconds.