Title: VariantFlow &#8211; Lightweight A/B Testing Block
Author: Upluggit
Published: <strong>2026 年 5 月 23 日</strong>
Last modified: 2026 年 5 月 24 日

---

搜索插件

![](https://ps.w.org/variantflow/assets/banner-772x250.png?rev=3545040)

![](https://ps.w.org/variantflow/assets/icon.svg?rev=3545040)

# VariantFlow – Lightweight A/B Testing Block

 作者：[Upluggit](https://profiles.wordpress.org/upluggit/)

[下载](https://downloads.wordpress.org/plugin/variantflow.1.0.0.zip)

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

 [支持](https://wordpress.org/support/plugin/variantflow/)

## 描述

VariantFlow is a blazingly fast, zero-bloat A/B testing tool built natively for 
the WordPress Gutenberg editor. Instead of relying on heavy third-party SaaS platforms
or bloated plugins that ruin your site speed, VariantFlow runs entirely within your
WordPress dashboard.

Major Features:
 * **Native Gutenberg Experience:** Design your Variation A and 
Variation B directly inside the block editor. No external builders. * **100% Cache
Compatible:** The plugin uses a lightweight client-side script (< 1kb) to randomize
variations, guaranteeing it works perfectly with WP Rocket, LiteSpeed Cache, W3 
Total Cache, and any host-level page caching. * **Zero Performance Hit:** The tracking
REST API endpoint is asynchronously called, ensuring your page load speed is never
affected. * **Clean Analytics:** View a beautifully designed, minimal dashboard 
right in your WordPress admin to see Views, Clicks, and Click-Through Rates (CTR).***
Smart Winner Declaration:** Set a custom “Minimum Views” threshold (e.g., 50 or 
100 views) before the plugin automatically highlights the statistically winning 
variation, preventing false positives. * **Privacy Focused:** Stores data securely
in your own database. No tracking pixels, no third-party data sharing.

### Common Use Cases

Not sure what to test? Here are a few ways VariantFlow can instantly increase your
conversions:
 * **Call-to-Action (CTA) Buttons:** Test “Buy Now” vs. “Add to Cart”
or “Get Started” vs. “Learn More”. See which text generates more clicks. * **Pricing
Pages:** Test displaying a monthly pricing table vs. an annual pricing table to 
see which yields a higher click-through rate to your checkout. * **Landing Page 
Headlines:** Write two drastically different H1 headlines for your sales page to
see which hooks more readers into clicking your links. * **Lead Generation Forms:**
Test a short, simple form against a longer form with more details to find the sweet
spot for email signups.

## 屏幕截图

 * [[
 * A/B Test Container block in the Gutenberg Block editor.
 * [[
 * Container block with two variations.
 * [[
 * Sample A/B testing for CTA button text
 * [[
 * Minimal Analytics

## 区块

该插件提供了 1 个区块.

 *   A/B Test Container Create A/B tests natively in Gutenberg.

## 安装

 1. Upload the `variantflow` folder to the `/wp-content/plugins/` directory, or install
    the ZIP file via the WordPress Plugins menu.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Open any page or post and add the “A/B Test Container” block.
 4. Design your “Variation A” and “Variation B” by dropping text, images, or buttons
    into the respective sections.
 5. Publish the page! Go to the “A/B Tests” menu in your WordPress dashboard to monitor
    your live conversion rates.

## 常见问题

### Does this work with my caching plugin?

Yes! VariantFlow was built specifically to solve the caching problem. It delivers
both variations in the initial HTML and uses an ultra-lightweight client-side script
to instantly hide the losing variation before the user sees it. It works seamlessly
with any caching setup.

### Do I need React or coding knowledge?

No. You use standard Gutenberg blocks to build your variations natively.

### Where is the data stored?

All analytics data is stored securely in your own WordPress database in a custom,
lightweight table (`wp_ab_test_stats`). We do not use the bloated `wp_postmeta` 
table.

### How does the plugin decide which variation wins?

The plugin calculates the Click-Through Rate (CTR) for both Variation A and Variation
B. However, to ensure statistical accuracy, you can set a global “Minimum Views”
threshold in the A/B Tests dashboard. The plugin will only declare a winner in green
once a variation hits that minimum threshold, preventing a variation with 1 view
and 1 click from instantly winning.

### Will this slow down my website?

Absolutely not. The frontend code is less than 1kb of vanilla JavaScript, and the
backend tracking occurs asynchronously via the WordPress REST API. It is designed
to be completely invisible to your site’s performance metrics.

### Can I test more than two variations?

Currently, VariantFlow is designed strictly for A/B testing (two variations) to 
keep the plugin as lightweight and easy to use as possible.

## 评价

![](https://secure.gravatar.com/avatar/d31ad55f0bed8a19b5a4a761e00ee1f969414daffc1e60f342f341f1b9f9dfa7?
s=60&d=retro&r=g)

### 󠀁[Great Start for Native Gutenberg A/B Testing](https://wordpress.org/support/topic/great-start-for-native-gutenberg-a-b-testing/)󠁿

 [Virgildia](https://profiles.wordpress.org/virgildia/) 2026 年 5 月 23 日 1 回复

I think this is a great idea and a really solid start. I like that you’re keeping
a simple, native Gutenberg feel.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/variantflow/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Upluggit ](https://profiles.wordpress.org/upluggit/)

[帮助将「VariantFlow – Lightweight A/B Testing Block」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/variantflow)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * Initial public release.
 * Added native Gutenberg A/B Test Container block.
 * Added caching-resilient client-side variation randomization.
 * Added minimal Analytics Dashboard with dynamic threshold settings.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**1 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.2 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/variantflow/)
 * 标签
 * [a b testing](https://cn.wordpress.org/plugins/tags/a-b-testing/)[conversion](https://cn.wordpress.org/plugins/tags/conversion/)
   [Gutenberg block](https://cn.wordpress.org/plugins/tags/gutenberg-block/)[optimization](https://cn.wordpress.org/plugins/tags/optimization/)
   [split testing](https://cn.wordpress.org/plugins/tags/split-testing/)
 *  [高级视图](https://cn.wordpress.org/plugins/variantflow/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/variantflow/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/variantflow/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/variantflow/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/variantflow/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/variantflow/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/variantflow/reviews/)

## 贡献者

 *   [ Upluggit ](https://profiles.wordpress.org/upluggit/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/variantflow/)