Documents
Retrieve analytics
Retrieve docuemnt analytics for the authenticated workspace.
GET
/
documents
/
{id}
/
stats
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
id
string
requiredDocument ID
Query Parameters
workspace
string
requiredWorkspace 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[]
links
object[]
linksMax
integer
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[]