Click or drag to resize
ABTestManagerCreateABTest Method
Creates a new A/B test for page with included traffic set to 100 and stores it to the database. If the page has any A/B test variants defined, they are cleared.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 13.0.131
Syntax
C#
public ABTestInfo CreateABTest(
	TreeNode page
)

Parameters

page
Type: CMS.DocumentEngineTreeNode
Page to create A/B test for.

Return Value

Type: ABTestInfo
Returns a new A/B for page.

Implements

IABTestManagerCreateABTest(TreeNode)
Remarks
The A/B test's name is inferred using GetDefaultDisplayName(TreeNode).
See Also