Analytics
Site analytics
Authorization
ApiKeyAuth X-Api-Key<token>
API key obtained from the CMS dashboard.
In: header
Path Parameters
siteId*string
Query Parameters
period?string
Default
"last30d"Value in
"last7d" | "last30d" | "last90d"Response Body
application/json
curl -X GET "https://example.com/v1/sites/string/analytics"{
"data": {
"pageViews": 0,
"visitors": 0,
"topPages": [
{}
]
},
"meta": {
"requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
"timestamp": "2019-08-24T14:15:22Z"
}
}