A/B test


This project is not covered by Drupal’s security advisory policy.

This is a low-level API for implementing A/B tests in code.

Its design is based on the excellent A/Bingo for Ruby on Rails, written by Patrick McKenzie.

PLEASE NOTE: This module doesn't provide a UI for creating tests - they must be created in code. If you're looking for module to create A/B tests in the UI check out Multivariate.

Unfortunately, the Multivariate module isn't good for creating tests in code or that involve a lot of code. For example, let's say you're writing a custom module and you want to test two variations on a custom form.

The A/B test module will allow you to do that with only two lines of code!

Super quick tutorial

Showing your two variants:

if (abtest('mytest')) {
  // the first version
}
else {
  // the second version
}

Tracking conversion:

abtest_track_conversion('mytest');

A/B test项目的Drush安装命令:复制到剪贴板

注:个别模块仍需开启相关子模块。
周安装量: 
28
维护状态: 
积极维护中
开发状态: 
积极开发中

开发版本下载:

版本下载地址发布日期发布说明翻译下载
7.x-1.x-devtar.gz (15.1 KB) | zip (20.8 KB)2015年4月8日发布说明简 | 繁 | 更多