Web Analytics

Get Geo Countries

Get geographic distribution by country.

get/analytics/audience/geo

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/analytics/audience/geo
  • Auth: HTTP bearer

Query parameters

limitinteger

Number of countries to return

write_keystring nullable

Comma-separated public keys to filter by

include_botsboolean

Count bot and crawler traffic too. Off by default: page views from self-identified crawlers, headless browsers, HTTP libraries and datacenter/cloud networks are excluded. Set true for the raw, unfiltered counts these reports returned before the filter existed.

include_internalboolean

Count internal traffic too. Off by default: page views on the graph8 app (app.graph8.com) and local development hosts, and browsers identified as your own team members (member emails and your company email domains), are excluded.

daysinteger

Number of days to analyze

date_fromstring nullable

Anchored window start (YYYY-MM-DD). Must be sent with date_to.

date_tostring nullable

Anchored window end (YYYY-MM-DD). Must be sent with date_from.

start_datestring nullable

Alias of date_from (YYYY-MM-DD), the name the other analytics reports use. Sent alone, the window runs from start_date to today (UTC).

end_datestring nullable

Alias of date_to (YYYY-MM-DD). Sent alone, the window is the days days ending on end_date.

Headers

Authorizationstring nullable
X-Org-Idstring nullable

Response

Successful Response

successboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.