Skip to main content

abTestCheckPage

Validates a page URL before abTestCreate or abTestUpdate and returns the site for its domain, the devices, and site information; it does not save a test. INITIAL never creates a site, while TRANSITION and EDITOR_DONE create a missing site for the domain and regenerate the tracking script. Check errors first, then use the returned siteId as the test's siteId. Requires A/B testing edit access.

abTestCheckPage(
url: String!
checkType: AbTestCheckPageType!
): AbTestCheckPageResult!

Arguments​

abTestCheckPage.url ● String! non-null scalar​

Target page URL; whitespace is trimmed and a missing HTTP scheme is added.

abTestCheckPage.checkType ● AbTestCheckPageType! non-null enum​

Validation stage: INITIAL avoids site creation; TRANSITION and EDITOR_DONE allow it.

Type​

AbTestCheckPageResult object​

Page validation returned by abTestCheckPage, including site selection.