Where visits came from over a period, as map points
GET /v1/analytics/map
City-level points with visits and page views. Past 90 days each day keeps its 200 busiest places.
History: Free 30 days, Indie 365, Builder 730. The last 90 days are read from raw events; older days from daily totals kept after raw events expire. When any day came from those, the answer has from_rollups: true and rollups: { from, to, missing_days } (the UTC dates read from them, and how many are not summed yet). Past 90 days: visitors are each day’s visitors added up (visitors_basis: "sum_of_daily"), a breakdown keeps each day’s top values and adds the rest as an (other) row, and filters, hourly buckets, visitor lists and funnels answer ANALYTICS_RAW_EVENTS_ONLY.
Auth: Secret key only.
Countries left out: the project’s saved excluded_countries (PATCH /v1/analytics/settings) are left out of this read, unless exclude_country names others (a comma list of two-letter codes, e.g. NO,CH; empty counts every country). The answer names the list it applied in excluded_countries. Past 90 days the totals, time series, goals, map and the country breakdown lose those countries (visits and page views exactly; engaged time, visits with ids, bounce, new visitors and goals in proportion, marked rollups.excluded_estimated; visitors become null); a breakdown or signups grouping by anything else answers ANALYTICS_RAW_EVENTS_ONLY with param: "exclude_country" when those countries had visits on those days.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Countries to leave out instead of the saved list, e.g. NO,CH; empty for none.
Responses
Section titled “ Responses ”Map points
Error envelope. See error.code for the discriminator.
object
object
object
Error envelope. See error.code for the discriminator.