cURL
curl --request GET \ --url https://api-next.ofauth.com/v2/access/analytics/visitor-countries/chart \ --header 'apiKey: <api-key>' \ --header 'x-connection-id: <api-key>'
{ "isAvailable": true, "chart": { "visitors": [ { "date": "<string>", "count": 123 } ], "duration": [ { "date": "<string>", "count": 123 } ] }, "total": { "current": "<string>", "delta": 123 }, "hasStats": true }
Get time-series visitor country data
Permission Required: analytics:read
analytics:read
Your OFAuth API key for authenticating requests.
Requires a connection via the x-connection-id header.
Start of date range (ISO 8601)
End of date range (ISO 8601)
Visitor metric to chart
guests
total
users
Successful response
Show child attributes
Was this page helpful?