Analytics

Conversions

Conversions newest first with type, value, attribution method, affiliate and coupon, and the total for the window. Pass site to keep one site's conversions; without it, the whole workspace. Visitor identities are never included.

get/conversions

Request

  • Base URL: https://api.onelence.com/v1
  • URL: https://api.onelence.com/v1/conversions
  • 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

Query parameters

sitestring

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

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.

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 required
attribution'available' | 'unavailable' required

Changes

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