Docs
Analytics

Holdout experiment results

GET/analytics/content/{type}/{id}/experimentNeedsanalytics.view

Goal conversion of visitors who saw the item vs. the holdout group that didn't: a two-sided two-proportion z-test, significant at p < 0.05. Rates are 0–1 fractions.

Authorization

secretKey
headerAuthorizationBearer <sk_…>

A secret API key from Settings → API keys. It acts with its creator's role.

Path Parameters

type*string

Content type.

Value in"tour""tooltip""banner""checklist""survey""announcement"
id*integer

The item's id.

Range1 <= value

Query Parameters

days?integer

Time window in days.

Default30
Value in73090

Response Body

OK

application/json
  1. response
experiment*
Shell
curl -X GET 'https://app.cueston.com/api/analytics/content/tour/1/experiment'
Example Response
JSON
{
  "experiment": {
    "content": {
      "type": "tour",
      "id": 42,
      "name": "Onboarding tour"
    },
    "range": {
      "from": "2026-10-26T09:30:00Z",
      "to": "2026-10-26T09:30:00Z"
    },
    "goal": {},
    "goalDescription": "string",
    "holdoutPercent": 0,
    "groups": {
      "exposed": {
        "visitors": 0,
        "conversions": 0,
        "rate": 0
      },
      "control": {
        "visitors": 0,
        "conversions": 0,
        "rate": 0
      }
    },
    "difference": 0,
    "lift": 0,
    "z": 0,
    "pValue": 0,
    "significant": true,
    "confidenceInterval": {
      "level": 0,
      "low": 0,
      "high": 0
    },
    "requiredPerGroup": 0,
    "sampleSizeNote": "string"
  }
}