GET
/
documents
/
{id}
/
stats

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Document ID

Query Parameters

workspace
string
required

Workspace URL

startDate
string | null
endDate
string | null

Response

200 - application/json
views
object[]
uniqueVisitorCount
integer

Number of unique visitors

averageVisitTime
string

Average visit time in ms

chartdata
object[]

Maximum value for links

all
object[]
allMax
integer

Maximum value for all sources

browsersMax
integer

Maximum value for browsers

osMax
integer

Maximum value for operating systems

devicesMax
integer

Maximum value for devices

deviceTypeMax
integer

Maximum value for device types

browsers
object[]
engines
object[]
os
object[]
devices
object[]
deviceType
object[]
languages
object[]
languagesMax
integer

Maximum value for languages

countries
object[]
regions
object[]
cities
object[]
internetProviders
object[]