Skip to main content

abTestCreate

Creates a DRAFT test; start it with abTestPublish. Runs the abTestCheckPage page check, which can create a missing site for the URL's domain, and requires devices to match the audience. The first variant becomes the control, patchStrategy defaults to async, and screenshots of every variant are queued after saving. Use abTestsCreate for several tests. Requires A/B testing create access.

abTestCreate(
args: AbTestCreateInput!
): AbTest!

Arguments​

abTestCreate.args ● AbTestCreateInput! non-null input​

Settings for a new draft; name and a nonempty device set matching the effective audience are required.

Type​

AbTest object​

A/B test settings and lifecycle returned by test lists, detail queries, and create/update operations. Metrics are populated by list queries; use abTestResultCounts for goal/date-scoped results.