Click or drag to resize
KenticoABTestLoggerController Class
Controller responsible for A/B test conversion logging via javascript. Provides method for logging conversions and method which returns script for logging via javascript AJAX on client side.
Inheritance Hierarchy
SystemObject
  ControllerBase
    Controller
      Kentico.OnlineMarketing.Web.MvcKenticoABTestLoggerController

Namespace: Kentico.OnlineMarketing.Web.Mvc
Assembly: Kentico.OnlineMarketing.Web.Mvc (in Kentico.OnlineMarketing.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public class KenticoABTestLoggerController : Controller

The KenticoABTestLoggerController type exposes the following members.

Constructors
  NameDescription
Public methodKenticoABTestLoggerController
Creates an instance of KenticoABTestLoggerController
Top
Methods
  NameDescription
Public methodLogPageVisit
Logs page visit conversion.
Public methodScript
Returns javascript file which calls logging action via AJAX immediately after it is loaded.
Top
Remarks
Enable A/B testing via application builder IFeatureBuilder.UseABTesting(). Furthermore, include script in your layout @Html.Kentico().ABTestLoggerScript().
See Also