Tracking

Goal and funnel

What a site optimizes for (revenue, conversions or visitors) and the funnel in effect for it: each step, what it counts and whether it is the site's own funnel, the workspace default or OneLence's.

get/sites/{site}/measurement

Request

  • Base URL: https://api.onelence.com/v1
  • URL: https://api.onelence.com/v1/sites/{site}/measurement
  • 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.

Response

Success.

object'measurement' required
analytics_goal'revenue' | 'conversions' | 'visitors' required
analytics_goal_setboolean required

Changes

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