Stats API - period=realtime #1744
Replies: 2 comments
-
In addition, I think adding the |
Beta Was this translation helpful? Give feedback.
-
Plausible has a non-public API for this which it uses itself. A bit frustrating that it's not part of the supported APIs. The request is:
It's not ideal because you'll will need to pass your dashboard cookie header. Btw, the "detailed" parameter seems to have no effect. The result looks like this: [
{
"bounce_rate": null,
"name": "/map",
"pageviews": 10,
"time_on_page": 32,
"visitors": 7
}
] |
Beta Was this translation helpful? Give feedback.
-
I would like to get a breakdown of my top pages in real time. This is currently impossible, as the shortest time period is one day and the
realtime
endpoint only gives the number of realtime visitors.Would be nice if I could set the
period
parameter value torealtime
. Then the API could interpret that as the last 5 minutes, and it would feel pretty much like real time.(feedback via email)
Beta Was this translation helpful? Give feedback.
All reactions