Title: WebPrime A/B Testing
Author: Pavel Karpov
Published: <strong>2025 年 5 月 22 日</strong>
Last modified: 2025 年 5 月 22 日

---

搜索插件

![](https://ps.w.org/webprime-ab-testing/assets/banner-772x250.jpg?rev=3298968)

![](https://ps.w.org/webprime-ab-testing/assets/icon-256x256.jpg?rev=3298973)

# WebPrime A/B Testing

 作者：[Pavel Karpov](https://profiles.wordpress.org/mortrall/)

[下载](https://downloads.wordpress.org/plugin/webprime-ab-testing.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/webprime-ab-testing/#description)
 * [评价](https://cn.wordpress.org/plugins/webprime-ab-testing/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/webprime-ab-testing/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/webprime-ab-testing/#developers)

 [支持](https://wordpress.org/support/plugin/webprime-ab-testing/)

## 描述

A plugin for conducting A/B tests using shortcodes. Main features:

 * Creating an unlimited number of content variants;
 * Even distribution of traffic between variants;
 * Real-time counting of impressions and clicks;
 * Automatic completion of tests by time or limit of impressions;
 * Ability to create tests delayed in time by schedule;
 * Integration with caching system;
 * Detailed statistics in admin panel;
 * Support for any HTML elements and shortcodes inside variants.

### Installation via FTP

 1. Download the ZIP archive
 2. Unzip to `/wp-content/plugins/`
 3. Activate in admin panel

### Translations

 * English: default, always included
 * Russian: русский – всегда включён

_Note:_ All WebPrime plugins are localized/translateable by default.

### Additional Info

 * [Technical Support](https://webprime.pro/kontakt/)
 * [Donate](https://webprime.pro/donate/ab-testing)

## 屏幕截图

 * [[
 * Creating a test via shortcode
 * [[
 * Example of A/B-test with three link variants in the admin area
 * [[
 * Example of A/B test with three link variants on the frontend
 * [[
 * Example of A/B test analytics with three link variants
 * [[
 * Example of A/B-test with two variants of different blocks in the admin area
 * [[
 * Example of A/B-test with two variants of different blocks on the frontend
 * [[
 * Example of A/B test analytics with two variants of different blocks

## 安装

 1. Install the plugin through the WordPress repository;
 2. Add the shortcode to the landing page:
     [webprime_abtest id=”my_test” start=”2025-
    01-01 00:00″ duration=”7d” limit=”1000″] [var]Option A[/var] [var]Option B[/var][/
    webprime_abtest]
 3. Make sure that the test start date (mandatory parameter `start` — `YYYY-MM-DD HH:
    MM`), the condition of the specified test duration (parameter `duration` — `min,
    h, d, w, m`), the condition of the specified total click limit (parameter `limit`)
    are correct;
 4. Save the page or post and make sure on the frontend that the test variation has
    started to display correctly;
 5. In the A/B Tests section of the admin panel, make sure that the test has appeared
    in the active state and statistics have started to be recorded;
 6. After the set test duration or the set total click limit expires, the test will
    stop and the winning variation will automatically be shown on the frontend on a
    permanent basis. If there are several winners, the first in order will be shown.

## 常见问题

### How do I create a new test?

Use shortcode `[webprime_abtest]` on any page/post, specifying a unique ID and needed
parameters.

### Where can I see my test results?

All statistics are available in the A/B Tests section of the WordPress admin panel.

### What content can be included in the variations?

Basically — any content can be used. The main thing is to check after launching 
on the frontend for possible conflicts if the included content somehow participates
in third-party scripts of other plugins.

### How many tests on one page can I create?

The number of tests is not limited in any way. The main thing is that each test 
must have a unique ID. Otherwise, the frontend will show the test duplication error.

### If I delete the page or post where the test was, what happens to the test?

The plugin automatically checks tests in active status hourly for existence. If 
the page or post where the test was located disappears, the test will be automatically
switched to the completed status. The statistics will not be lost until you remove
the test string from the A/B Tests section in the admin panel.

### Clicks on which elements will be counted?

Clicks are counted on any elements within the variation. You can use links, buttons,
anything. The main thing is that in case you use scripts for interactivity, for 
example, to images or videos inside the variation, make sure that the clicks statistics
will be correct and there will be no conflicts.

### What happens when you change options in active test?

The plugin automatically puts the test into a completed status. Be sure to change
the test ID before saving changes to the page when changing variant content so that
a new test is created. Otherwise, the old test will also stop, but the new test 
will not be created and the frontend will show an error due to duplicate test name.

### What happens when you change duration or clicks limit in active test?

The test conditions will be updated. In this way you can, for example, extend the
current test if you think you have not yet collected enough data.

### What happens when you change duration or clicks limit in completed test?

You cannot make changes to the data of a completed test without compromising the
accuracy of the analytics. You can only delete a completed test and create a new
one with new conditions.

### What happens if you set a test duration shorter than the current date?

This duration will be ignored as if it had not been set at all.

### What happens if the test start date is set as the future date?

The test will be created with Scheduled status and will start showing variations
only when the date and time specified in the start parameter is reached.

### Is WebPrime A/B Testing compatible with cache plugins?

For AJAX requests (variant downloads and clicks), `nocache_headers` and unique rand
parameters are added to prevent these requests from being cached. Client code (JS)
bypasses browser cache. However, if the page with the [webprime_abtest] shortcode
is cached in its entirety, all users will see one variant, since the variant selection
happens on the server side.

## 评价

此插件暂无评价。

## 贡献者及开发者

「WebPrime A/B Testing」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Pavel Karpov ](https://profiles.wordpress.org/mortrall/)

「WebPrime A/B Testing」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/webprime-ab-testing/contributors)
为本插件所做的贡献。

[帮助将「WebPrime A/B Testing」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/webprime-ab-testing)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/webprime-ab-testing/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/webprime-ab-testing/)，或通过[RSS](https://plugins.trac.wordpress.org/log/webprime-ab-testing/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/webprime-ab-testing/)。

## 更新日志

#### 1.0.0

 * Initial release. No updates required.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**1 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.6 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/webprime-ab-testing/) 和 [Russian](https://ru.wordpress.org/plugins/webprime-ab-testing/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/webprime-ab-testing)
 * 标签
 * [a/b testing](https://cn.wordpress.org/plugins/tags/ab-testing/)[analytics](https://cn.wordpress.org/plugins/tags/analytics/)
   [content](https://cn.wordpress.org/plugins/tags/content/)[shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
   [split test](https://cn.wordpress.org/plugins/tags/split-test/)
 *  [高级视图](https://cn.wordpress.org/plugins/webprime-ab-testing/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/webprime-ab-testing/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/webprime-ab-testing/reviews/)

## 贡献者

 *   [ Pavel Karpov ](https://profiles.wordpress.org/mortrall/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/webprime-ab-testing/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.webprime.pro/donate/ab-testing)