Click or drag to resize
IABTestManager Interface
Defines set of methods for managing test variants.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 13.0.131
Syntax
C#
public interface IABTestManager

The IABTestManager type exposes the following members.

Methods
  NameDescription
Public methodAddVariant
Adds a new A/B test variant into page based on an existing source variant.
Public methodCreateABTest
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.
Public methodGetABTestWithoutWinner
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.
Public methodGetRunningABTest
Gets A/B test for page which is still running. Returns null if no running A/B is available for the page.
Public methodGetVariants
Returns all A/B test variants existing for given page.
Public methodPromoteVariant
Promotes a variant identified by variantGuid as the winner variant. Winning variant is stored in the database within the A/B test.
Public methodRemoveVariant
Removes an A/B test variant identified by variantGuid from page.
Public methodRenameVariant
Renames an A/B test variant in page identified by variant GUID with given name.
Public methodUpdateVariant
Updates an A/B test variant in page identified by variant GUID with given Page builder widgets configuration.
Top
See Also