Click or drag to resize
ICurrentABTestVariantProvider Interface
Provides information about current A/B test variant if the page that is requested is an A/B tested page. Variant information is available in the context of live site only.

Namespace: Kentico.OnlineMarketing.Web.Mvc
Assembly: Kentico.OnlineMarketing.Web.Mvc (in Kentico.OnlineMarketing.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public interface ICurrentABTestVariantProvider

The ICurrentABTestVariantProvider type exposes the following members.

Methods
  NameDescription
Public methodGet
Gets the current A/B test variant for the page that is requested.
Top
Remarks
The IPageDataContextInitializer must be used to initialize the page prior to getting the current A/B test variant.
See Also