Name the pages you are changing, and start the clock.
Comparison pages are chosen for you, matched on page type and on how many clicks the page already earns, four per changed page where enough exist. The response says which groups it could not fill, so you know before the verdict rather than after. Daily figures start being collected for these pages only.
POST
https://app.softsolz.uk/api/v1/services/seo/experiments/{experiment_id}/pagesRecent Requests
Log in to see full request historyTimeStatusUser Agent
Make a request to see history.
Path Params
experiment_idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Body Params
page_idsarray of integersThe pages you are changing.
Response
Response Body
treatmentintegerPages you are changing.controlsintegerComparison pages chosen.strata_short_of_controlsarray of stringsGroups where there were not enough comparable pages.Request
import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.seo.enrolExperimentPages('<experiment_id>', {});console.log(result);Credentials
Sent as a Bearer token. Stored only in your browser.
Response · 200
{ "data": { "treatment": 0, "controls": 0, "strata_short_of_controls": [] }}