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. A stopped or finished experiment answers 409.
POST
https://app.softsolz.uk/api/v1/services/seo/experiments/{experiment_id}/pagesRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
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 integersrequiredThe 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
curl --request POST \ --url https://app.softsolz.uk/api/v1/services/seo/experiments/{experiment_id}/pages \ --header 'Authorization: Bearer sk_live_your_key' \ --header 'Content-Type: application/json' \ --data '{ "page_ids": [ 9124 ]}'Credentials
Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.
Response · 200
{ "data": { "treatment": 4, "controls": 16, "strata_short_of_controls": [ "product:9" ] }}