ABTestManager Methods |
The ABTestManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddVariant |
Adds a new A/B test variant into page based on an existing source variant.
|
![]() | CreateABTest |
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.
|
![]() | GetABTestWithoutWinner |
Gets A/B test without a winner for a given page.
Returns null if no A/B test is associated with the page or associated A/B test has a winner.
|
![]() | GetRunningABTest |
Gets A/B test for page which is still running.
Returns null if no running A/B is available for the page.
|
![]() | GetVariants |
Returns all A/B test variants existing for given page.
|
![]() | PromoteVariant |
Promotes a variant identified by variantGuid as the winner variant.
Winning variant is stored in the database within the A/B test.
|
![]() | RemoveVariant |
Removes an A/B test variant identified by variantGuid from page.
|
![]() | RenameVariant |
Renames an A/B test variant in page identified by variant GUID with given name.
|
![]() | UpdateVariant |
Updates an A/B test variant in page identified by variant GUID with given Page builder widgets configuration.
|