Multivariate testing
Historical. Multivariate testing showed visitors one of several variants of a page and measured which worked best. It needed the separate ezmultivariatetest extension and an external analysis service. That extension is not part of Exponential 6 and is not installed on a new installation.
What is left in Exponential 6
The kernel still has the hook the extension used: before content/view renders a node, it asks a test handler whether to show another node instead.
[TestingSettings]# off by defaultMultivariateTesting=disabled# a class implementing ezpMultivariateTestHandlerInterfaceMultivariateTestingHandlerClass=ezpMultivariateTestHandler# the siteaccesses where tests runEnabledForSiteAccessList[]
These keys are in content.ini. The default handler, ezpMultivariateTestHandler, reads its test scenarios from the class ezpMultivariateTestScenario, which only the old extension provided. Do not switch MultivariateTesting on without a handler of your own.
What to use today
To build your own A/B test, implement ezpMultivariateTestHandlerInterface (isEnabled() and execute( $nodeID ), which returns the node to show) and name your class in MultivariateTestingHandlerClass. Alternatively, measure page variants with the web statistics of your choice.
Graham Brookins (06/11/2026 1:35 pm)
Graham Brookins (06/11/2026 1:35 pm)
Comments
There are no comments.