Skip to Content
fastmon Docs
Sales

Buyers next to visitors who did not buy

Report an issue

Buyers next to visitors whose purchase was never observed: vitals and cart calls.

Answers "was the site slower for the people who did not finish" - about the PEOPLE, so the vitals cover each cohort's whole journey, not only its funnel pages. Per-stage numbers ride along for the page-level view.

checkout_no_success is a cohort, not an abandonment count. It means no success pageview was OBSERVED, and a real buyer falls into it whenever the success is invisible: a payment redirect landing on a thank-you page without the tracker, a purchase finished after the 24h stitch rotation or on another device, Shopify's off-site checkout. Comparing what was measured for two observed groups is a fact; calling the second group lost is not.

Requires: analytics:read, held by every role.

Authorization

headerAuthorizationBearer <fm_… / fmo_…>

API token generated from the fastmon dashboard (Account → API Token) or at organization level (fmo_…, one that outlives its creator). Send as Authorization: Bearer fm_... or paste the full token (including its prefix) into the Authorize dialog.

Path Parameters

org_id*Org Id

An ID, a UUID in lowercase with hyphens.

Formatuuid

Request Body

application/json
  1. body

Request for the buyer / non-buyer comparison.

time_range*

Time range for the query

filters?

Optional filters

timezone?|

IANA time zone the local hours of filters.hour_of_day are read in, such as Europe/Berlin. The filter requires it. This route buckets nothing, so the zone changes nothing else

sparse_buckets?|

The sparse threshold of the page, the number POST /analytics/sparse-hours derives. With exclude the rows of the thin hours are left out. Without it the route only echoes the number in meta.sparse_buckets

identity?|

Identifier to group visitors by: 'stitch' or 'session'. Null → the application's default (stitch preferred). Without a stored identifier there are no cohorts to build.

Response Body

Successful Response

application/json
  1. response

The cohorts of one window, in the order most-advanced first.

A list rather than two named fields: customer-defined funnels evaluate later with N steps, and their "reached step k, never step k+1" cohorts reuse this shape.

The cohorts are sized from the checkout events, so their visitor counts reconcile with the funnel's steps. What the site did for each group is measured over PAGEVIEWS, so a visitor with no pageview in the window counts in their cohort and adds nothing to pageviews or the vitals.

meta*

Facts about the result

request*

The request as the server resolved it

cohorts*array<>
POST
/organizations/{org_id}/analytics/funnels/checkout/cohorts
Example Request
curl -X POST 'https://api.fastmon.eu/organizations/019d8b65-a109-76c7-9f4a-bda57a7ab21d/analytics/funnels/checkout/cohorts' \  -H 'Content-Type: application/json' \  -d '{  "time_range": {    "from": "2026-04-14T09:50:01Z",    "to": "2026-04-14T09:50:01Z"  }}'
Example Response
{  "meta": {    "execution_time_ms": 0,    "total": 0,    "limit": 0,    "offset": 0,    "has_more": true,    "next_cursor": "string",    "sampling": {      "rate": 0,      "is_sampled": true,      "estimated_metrics": [        "string"      ]    },    "is_identity_mixed": true,    "complete_until": "2026-04-14T09:50:01Z",    "sparse_buckets": {      "min_pageviews": 0,      "excluded_hour_count": 0    }  },  "request": {    "time_range": {      "from": "2026-04-14T09:50:01Z",      "to": "2026-04-14T09:50:01Z"    },    "comparison_time_range": {      "from": "2026-04-14T09:50:01Z",      "to": "2026-04-14T09:50:01Z"    },    "granularity": "minute",    "identity": "stitch",    "window_seconds": 0,    "filters": {},    "url_param_key": "string"  },  "cohorts": [    {      "name": "string",      "visitors": 0,      "pageviews": 0,      "vitals": {        "property1": {          "p50": 0,          "p75": 0,          "p90": 0,          "p95": 0,          "count": 0        },        "property2": {          "p50": 0,          "p75": 0,          "p90": 0,          "p95": 0,          "count": 0        }      },      "stages": [        {          "stage": "cart",          "visitors": 0,          "pageviews": 0,          "vitals": {            "property1": {              "p50": 0,              "p75": 0,              "p90": 0,              "p95": 0,              "count": 0            },            "property2": {              "p50": 0,              "p75": 0,              "p90": 0,              "p95": 0,              "count": 0            }          }        }      ],      "cart_calls": {        "calls": 0,        "avg_ms": 0,        "max_ms": 0,        "error_calls": 0      },      "cart": {        "interactions": 0,        "interaction_errors": 0      }    }  ]}