Title: WebPrime A/B Testing
Author: Pavel Karpov
Published: <strong>May 22, 2025</strong>
Last modified: May 22, 2025

---

Search plugins

![](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

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

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

 * [Details](https://pcd.wordpress.org/plugins/webprime-ab-testing/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/webprime-ab-testing/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/webprime-ab-testing/#installation)
 * [Development](https://pcd.wordpress.org/plugins/webprime-ab-testing/#developers)

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

## Description

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)

## Screenshots

 * [[
 * 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

## Installation

 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.

## FAQ

### 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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WebPrime A/B Testing” is open source software. The following people have contributed
to this plugin.

Contributors

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

“WebPrime A/B Testing” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/webprime-ab-testing/contributors)
for their contributions.

[Translate “WebPrime A/B Testing” into your language.](https://translate.wordpress.org/projects/wp-plugins/webprime-ab-testing)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/webprime-ab-testing/),
check out the [SVN repository](https://plugins.svn.wordpress.org/webprime-ab-testing/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/webprime-ab-testing/)
by [RSS](https://plugins.trac.wordpress.org/log/webprime-ab-testing/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release. No updates required.

## Meta

 *  Version **1.0.0**
 *  Last updated **11 months ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.6 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/webprime-ab-testing/) and [Russian](https://ru.wordpress.org/plugins/webprime-ab-testing/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/webprime-ab-testing)
 * Tags
 * [a/b testing](https://pcd.wordpress.org/plugins/tags/ab-testing/)[analytics](https://pcd.wordpress.org/plugins/tags/analytics/)
   [content](https://pcd.wordpress.org/plugins/tags/content/)[shortcode](https://pcd.wordpress.org/plugins/tags/shortcode/)
   [split test](https://pcd.wordpress.org/plugins/tags/split-test/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/webprime-ab-testing/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/webprime-ab-testing/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

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

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.webprime.pro/donate/ab-testing)