WordPress plugin intelligence profile

Variolab – A/B Testing

A/B test WordPress pages or AI-generated HTML landings. Internal tracking, 50/50 cookie split, GDPR-friendly, no third-party dependency.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version0.20.1
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 6.0 · PHP 8.1
Directory statusactive
Last directory update15 Jun 20264mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Variolab – A/B Testing version 0.20.1 as active, updated 4mo ago and tested up to WordPress 7.0.

Overview

About this plugin

Run A/B tests on WordPress pages or on HTML landings you’ve imported — including the ones your AI tool just generated. zip with CSS/JS/images) into wp-admin → A/B Tests → Import HTML; Variolab renders the page byte-perfect with zero WordPress wrapper, then runs a real 50/50 cookie-split test against any existing page on your site. new exports all work out of the box.

The classic two-page path works too: point the plugin at two existing pages — one as the control (Variant A), one as the variant (Variant B). Visitors are split 50/50 via a persistent cookie; once assigned, they always see the same variant.

Tracking is fully internal: impressions and conversions land in a custom database table, and the wp-admin dashboard shows conversion rates, lift, and a basic statistical significance indicator (two-proportion z-test).

Security-audited internally before every release (situated checklist + OWASP grid). md ).

Features

  • HTML / ZIP import for landing pages built outside WordPress — drop a.html or a.zip with assets; pages render byte-perfect with zero theme wrapper. Ideal for AI-generated landings (Claude, v0, Lovable, Cursor, bolt.new), hand-coded HTML, or mockup-tool extracts.
  • Watch directory — keep editing the HTML in your IDE / Cursor / SFTP / cloud sync; WP-Cron picks up changes every 5 minutes (hash-based, additive only).
  • Page-level A/B tests (entire page as variant — no Gutenberg surgery needed)
  • Persistent cookie split (httponly, samesite=Lax)
  • Internal tracking — no third-party dependency, no data leaving your site
  • Conversion goals: URL visited or CSS selector clicked
  • Auto bypass for logged-in editors and bots
  • Two-proportion z-test for statistical significance
  • abtest_event_logged action hook ready for v2 GA4/webhook integrations

Caching

A/B testing breaks under page caching: the first variant served gets cached for everyone, all subsequent visitors get that same response, the 50/50 split dies. The plugin handles most cases automatically.

What the plugin does automatically

  • Sends Cache-Control: no-store headers on every page response under A/B test. Respected by Cloudflare, Varnish, Kinsta edge cache, nginx page cache, and most server-level caches.
  • Hooks WP Rocket’s rocket_cache_reject_uri filter when WP Rocket is detected — your test URLs are auto-added to the never-cache list.
  • Hooks LiteSpeed Cache’s litespeed_force_nocache_url filter when LiteSpeed is detected — same idea.
  • Surfaces an admin notice when a cache plugin or known host (like Kinsta) is detected, with what to verify.

Hosting on Kinsta

Kinsta uses a two-layer cache (nginx server-cache + Cloudflare Enterprise edge cache). g. ^/promo/$ ).

After publishing a new test, purge the Kinsta cache to flush any version cached before the experiment started.

Verify it works by inspecting headers on your test URL:

com/promo/

Look for X-Kinsta-Cache: BYPASS (or MISS ). If you see HIT, you’re getting the cached version and the split is broken — purge the cache.

Hosting on other CDNs / hosts

  • Cloudflare APO: Cache-Control headers from origin override the cache. Should work out of the box. Verify with curl -I looking for cf-cache-status: BYPASS or DYNAMIC.
  • WP Engine: Add the test URLs to the “Cache Exclusions” list in your User Portal.
  • Pagely / Pantheon / Pressable: Cache-Control headers respected. Add manual URL exclusion in the host’s panel for safety.

Plugins not auto-supported

For W3 Total Cache, WP Super Cache, WP Fastest Cache, and Cache Enabler — the plugin shows a notice but does not automatically exclude URLs (no clean public API). Manually add your test URLs to that plugin’s cache exclusion list.

REST API

Pull stats programmatically from external tools (n8n, Make, Pipedream, dashboards).

  • Endpoint: GET /wp-json/abtest/v1/stats
  • Auth: WP Application Passwords (Basic Auth). The user must have manage_options.
  • Generate one in your WP profile → Application Passwords.

Optional query params:

  • url=/promo/ — filter to a single test URL.
  • experiment_id=38 — fetch a single experiment by ID.
  • status=running|paused|ended|draft — filter by status.
  • from=YYYY-MM-DD&to=YYYY-MM-DD — restrict event date range for the stats computation.
  • breakdown=daily — include per-day time series (for charting).

Example:

status=running'

The response includes for each experiment: id, title, test_url, status, dates, control/variant IDs, goal, and a stats block with A/B impressions/conversions/rate, lift, p-value, significance, and 95% confidence interval bounds for both lift and absolute difference.

Privacy

The plugin stores no raw IP, no User-Agent, no email, no name, and no cross-site tracking identifier. The events table contains: experiment_id, variant, test_url, event_type, created_at, and a visitor_hash = first 16 hex chars (64 bits) of sha256(IP + UA + wp_salt('auth')) — non-reversible, single-site, salt-rotated, dedup-safe. Cookies are httponly, samesite=Lax, secure on HTTPS, value = a single letter (a/b/c/d), 30-day TTL.

A native WordPress privacy guide snippet is registered automatically — find it under Settings → Privacy → Policy Guide → Variolab – A/B Testing to paste into your privacy policy.

For consent-banner sites: enable “Require consent” in the plugin settings and wire your banner to the abtest_visitor_has_consent filter (return true to track, false/null to block). Snippets for Complianz, CookieYes, and Cookiebot are in the README on GitHub.

Right to erasure: because no reversible identifier is stored, individual deletion isn’t possible. Use TRUNCATE wp_abtest_events to erase all A/B testing data.

External services

This plugin connects to one external service, only when the site administrator opts in through the plugin’s Settings → Google Analytics 4 panel by entering a Measurement ID and API Secret. With the GA4 integration disabled (default), no data leaves your site.

Google Analytics 4 (Measurement Protocol)

What it is and what it’s used for: when the GA4 integration is enabled, the plugin forwards A/B-test impression and conversion events to Google Analytics 4 via the Measurement Protocol, so the test results can be analyzed alongside your existing GA4 reports.

com/mp/collect with a JSON payload containing:

  • client_id — the plugin’s internal visitor hash (truncated salted SHA-256 of IP + User-Agent; never the raw IP or UA)
  • events[].name — abtest_impression or abtest_conversion
  • events[].params.experiment_id — the WordPress post ID of the experiment
  • events[].params.variant — the variant served ( a, b, c, or d )
  • events[].params.test_url — the URL path under test (e.g. /promo/ )

No raw IP address, User-Agent string, email, name, WordPress user ID, or page content is sent.

Service provided by Google. Please review their terms and policies before enabling the integration:

  • Google Analytics terms of service: https://marketingplatform.google.com/about/analytics/terms/us/
  • Google privacy policy: https://policies.google.com/privacy
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • ab testing
  • html import
  • landing page
  • split testing
  • a
  • b
  • conversion
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 6.0 · PHP 8.1
Update activity15 Jun 20264mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.