Completions per goal name, and the share of visitors who reached each
GET /v1/analytics/goals
Goals are named with data-nordva-goal="checkout-start" on any element, or nordva('goal', 'checkout-start'). Per goal: completions from every visit, visitors with an id who reached it, and conversion_rate = those visitors ÷ visitors_with_id. The visitor fields are null when they cannot be counted (cookieless visits carry no id). Every goal carries the source of the visit that completed it, so filter_<dimension>=value works here too. Past 90 days visitors, visitors_with_id and so conversion_rate are sums of daily visitors (visitors_basis).
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 ”Goals
Error envelope. See error.code for the discriminator.
object
object
object
Error envelope. See error.code for the discriminator.