Goals

Goal conversion statistics

Visits that converted over all visits, per goal, with a 95% Wilson interval. A goal counts only the days after it began. Ranges are limited to 92 days and default to the last 30.

Required token scopes are listed in x-hootlens-scopes. A signed-in person needs the matching permission on the site instead (the viewer and editor roles are presets of the permissions).

get/v1/projects/{projectId}/goals/stats

Request

  • Base URL: https://hootlens-api-368877148687.us-east1.run.app
  • URL: https://hootlens-api-368877148687.us-east1.run.app/v1/projects/{projectId}/goals/stats
  • Auth: HTTP bearer

Path parameters

projectIdstring required

An identifier: 1 to 80 letters, digits, underscores or hyphens.

The project ID. Project IDs are public identifiers, not secrets.

Query parameters

frominteger

Start of the range, epoch milliseconds. Counts are daily, so the range covers every UTC day it touches.

tointeger

End of the range, epoch milliseconds. Defaults to now.

Response

The statistics.

frominteger required

Epoch milliseconds.

tointeger required

Epoch milliseconds.

sessionsinteger required

Changes

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