Analytics

Events

Tracked events on a site, newest first, with their name and page path. Filter by an exact event name. Visitor ids and event properties are not returned.

get/sites/{site}/events

Request

  • Base URL: https://api.onelence.com/v1
  • URL: https://api.onelence.com/v1/sites/{site}/events
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://api.onelence.com/oauth/authorize, token URL https://api.onelence.com/oauth/token, scopes: analytics: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

startstring

Window start: a date (YYYY-MM-DD) or ISO 8601 date-time. Defaults to 30 days before end.

endstring

Window end, inclusive for a date. Defaults to now.

event_namestring
limitinteger

Items per page (default 25, max 100).

cursorstring

next_cursor from the previous page.

Response

Success.

object'list' required
has_moreboolean required
next_cursorstring nullable required
totalnumber nullable required

Changes

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