---
title: "Tracking status"
method: GET
path: "/sites/{site}/tracking-status"
tags: ["Tracking"]
---

# Tracking status

`GET /sites/{site}/tracking-status`

## Request

- Base URL: `https://api.onelence.com/v1`
- URL: `https://api.onelence.com/v1/sites/{site}/tracking-status`
- Auth: one of:
  - OAuth 2 (authorization code, authorization URL `https://api.onelence.com/oauth/authorize`, token URL `https://api.onelence.com/oauth/token`, scopes: `tracking:read`)
  - HTTP bearer

Whether a site is receiving tracking events (optionally one event name) and conversions in the last N minutes, with a hint when not. Use it after installing or changing tracking.

## Path parameters

- `site` string, required

## Query parameters

- `event_name` string
- `minutes` integer

## Response `200`

Success.

- object
  - `object` 'tracking_status', required
  - `site` object, required
    - `id` string, required
    - `domain` string, required
  - `status` 'receiving' | 'no_events', required
  - `window_minutes` number, required
  - `since` string, required
  - `events` number, required
  - `event_name` string, nullable, required
  - `matching_events` number, nullable, required
  - `conversions` number, required
  - `last_event` object, nullable, required
    - `name` string, nullable, required
    - `occurred_at` string, nullable, required
  - `hint` string, required

## Other responses

- `400`: Invalid input; `error.param` names the field.
- `401`: Missing, expired or revoked token. WWW-Authenticate points to the resource metadata.
- `402`: subscription_required or upgrade_required; the error carries billing_url.
- `403`: insufficient_scope or admin_required.
- `404`: Unknown endpoint, site, source or record.
- `429`: Rate limited. Retry after Retry-After seconds.
- `500`: OneLence could not complete the request.

---

[API](https://skmtc.dev/onelence/apis/onelence-api.md) · [All operations](https://skmtc.dev/onelence/apis/onelence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/onelence/apis/onelence-api/revisions/971c72fe9a42?raw)
