GEO
Get website analytics breakdowns (private beta)
Changed onPrivate beta: workspaces without web analytics access get 403. Top pages, referrer sources, countries, devices, languages, AI visitor outcomes, and the reports only notra.js sends: outbound link clicks, Core Web Vitals and JavaScript errors.
get/v1/projects/{projectId}/geo/traffic/web/breakdowns
Request
- Base URLhttps://api.usenotra.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdstring required
Example:b1f2c3d4-0000-4000-8000-000000000000
Query parameters
daysinteger
Rolling window size in days. Ignored when from/to are set.
fromstring
Example:2026-01-31
tostring
Example:2026-01-31
hoststring
Hostname to filter on, such as www.example.com. Subdomains are included. Omit for every host.
pathstring
Only count this exact page path, such as /pricing.
sites'exclude'
exclude leaves out traffic to sites hosted on Notra Sites.
Response
Web analytics breakdowns fetched successfully
Changes
- info
endpoint added
- info