Page views per day
page_views_by_dayRetrieves daily page view counts to track traffic trends over time. Combine with daily error counts to compute error rates and distinguish real regressions from traffic changes.
Instructions
Daily page view counts (times the TrackJS agent loaded) newest first (GET /hits/daily). Combine with errors_by_day to compute an error rate and tell real regressions apart from traffic changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. Defaults to 1. Use paging.nextPage from a previous result to continue. | |
| size | No | Items per page, 1-1000. TrackJS defaults to 20. Set to the number of days wanted, e.g. 30. | |
| endDate | No | Only include data before this ISO 8601 date/date-time (UTC), e.g. 2026-10-08 or 2026-10-08T00:00:00Z. Precision is 1 second. | |
| startDate | No | Only include data after this ISO 8601 date/date-time (UTC), e.g. 2026-10-01 or 2026-10-01T14:00:00Z. Precision is 1 second. | |
| application | No | Limit results to one TrackJS application key (as configured in TrackJS). Omit for all applications. |