Tracking

Tracking status

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.

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

Path parameters

sitestring required

Site domain (e.g. example.com) or site id. Defaults to the workspace's newest active site.

Query parameters

event_namestring

Only count this event name, exactly as the SDK sends it.

minutesinteger

Look-back window in minutes (default 60).

Response

Success.

object'tracking_status' required
status'receiving' | 'no_events' required
window_minutesnumber required
sincestring required
eventsnumber required
event_namestring nullable required
matching_eventsnumber nullable required
conversionsnumber required
hintstring required

Changes

No recorded changes to this operation across all 1 revision of this API.