Aggregate Time Series Data

Taylor Sloane Updated by Taylor Sloane

GET /v1/stats/graph

See high level article view, search, and contact form stats in a given timeframe as a time series (broken down per day).

This route accepts all stats filters as query parameters.

Example response:

"articleviews": [TimeSeriesObject],
"contacts": [TimeSeriesObject],
"searches": [TimeSeriesObject]

...where each TimeSeriesObject looks something like this:

"count": 10,
"sessions": 7, // how many user sessions contributed to `count`
"date": 1517356800000,
"date_string": "2018-01-31"

How did we do?

Article Feedback


This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply.