pageviews_count
Count page views for a specific project in a time window. Page views are the automatic hits captured by the browser script tag (separate from custom events). Use this for web-traffic questions like 'how many pageviews in the last 24 hours'. Default window is the last 7 days. Pass user to scope to one visitor.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>"
},
"name": "pageviews_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | Optional. Filter to one visitor/user. Accepts userEmail (case-insensitive) or visitorId (exact). For the full per-user snapshot prefer user_activity. | |
| since | No | Start of window as unix milliseconds. Defaults to 7 days ago. | |
| until | No | End of window as unix milliseconds. Defaults to now. | |
| project | Yes | Project name (case-insensitive, e.g. 'slopbench') or project id from list_projects. |