Sources
List sources
The traffic sources on a site with visitors, conversions and, for sources on the decision board, their posture. Context sources (owned, utility) have no Decision. A visitor who arrived from several sources counts under each. Without start and end, counts cover the last 30 completed UTC days (see window).
get/sites/{site}/sources
Request
- Base URL: https://api.onelence.com/v1
- URL: https://api.onelence.com/v1/sites/{site}/sources
- Auth: one of:
- OAuth 2 (authorization code, authorization URL https://api.onelence.com/oauth/authorize, token URL https://api.onelence.com/oauth/token, scopes: decisions: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.
group'decision' | 'acquisition' | 'owned' | 'utility'
type'source' | 'affiliate'
limitinteger
Items per page (default 25, max 100).
cursorstring
next_cursor from the previous page.
Response
Success.
Changes
No recorded changes to this operation across all 1 revision of this API.