=== abtestkit === Contributors: abtestkit Tags: ab testing, split testing, ab test, a b testing, a/b testing, testing, gutenberg, wordpress editor, core editor, conversion, optimization, experiment Requires at least: 6.3 Tested up to: 6.6 Requires PHP: 7.4 Stable tag: 1.0.1 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html A/B Test individual blocks or full pages directly in the WP editor. Run split tests inside 'Edit Page' with no extra setup. == Description == = A/B testing directly in the Wordpress Editor = abtestkit adds native A/B testing to the WordPress block editor (Gutenberg). Create split tests inside the page editor with no clunky dashboard or code. Allowing you to test full pages or individual blocks (buttons, images, headings). abtestkit tracks performance, runs the stats, and automatically selects the winner. Apply it with one click to grow conversions. ![Demo of plugin in action](https://ps.w.org/abtestkit/assets/screenshot-1.gif) ### Why abtestkit? * **Reach your goals faster** - turn guesses into data-driven decisions. * **Earn more from your website** - optimise call-to-actions, headlines, and designs. * **Stay in flow** - test variants directly in the Gutenberg editor. * **Keep control** - your data stays in your WordPress database. (GDPR friendly) * **Build momentum** - group blocks together for consistent messaging. * **No analysis needed** - abtestkit tracks impressions & clicks, then automatically declares the winning variant with 95% confidence. abtestkit isn't just another plugin. It's a growth tool that helps you experiment, learn, and keep moving forward. ### Use cases - Validate which **headline** pulls more readers in. - Optimise your **call-to-action button** for higher clicks. - Discover the **image** that makes visitors trust you more. - Test different **paragraphs** or product descriptions to improve sales. - Group tests across multiple blocks for consistent messaging. - Let the plugin crunch the numbers and **tell you the winner automatically**. **Stop guessing. Start growing.** == Installation == 1. Upload the `abtestkit` folder to `/wp-content/plugins/`. 2. Activate the plugin through the Plugins menu in WordPress. 3. Open the block editor (Gutenberg/Core Editor) on any post or page. 4. Select a block (button, heading, paragraph, or image) and enable A/B testing in the sidebar. 5. Add your variants (A and B). 6. Publish and start validating your ideas. == Frequently Asked Questions == = What blocks are supported? = Currently: **buttons, headings, paragraphs, and images**. More blocks and third-party builders are planned. = Does it work with the Classic Editor? = No. abtestkit is built for the **WordPress Core Editor (Gutenberg)**. = How are winners decided? = You don't need to analyse the results yourself. abtestkit uses a **Bayesian evaluation model** with a 95% confidence threshold, then automatically declares the winning variant. You’ll see probability bars in the editor and can apply the winner with one click. = Where is data stored? = All impression and click events are stored in your WordPress database (`wp_ab_test_events` table). Nothing is sent externally unless you explicitly opt into anonymous telemetry. = Is this plugin free? = Yes, the base plugin is free. Premium add-ons may be released in the future. == Screenshots == 1. Enable A/B testing directly in the block sidebar. 2. Edit and preview your A/B variants inside the Gutenberg editor. 3. See experiment stats and confidence bars. 4. Apply the winning variant with one click. == External services == **Service:** Google Apps Script web app (HTTPS endpoint on script.google.com). **Why** 1. **Anonymous telemetry** (admin **opt in**) to understand high level usage. 2. **Email Capture** (admin submitted) for feedback/beta follow-ups. **When data is sent** Telemetry only after explicit opt-in (one-shot milestone events + install); email only when the admin submits the form. **What data is sent** * **Telemetry (opt-in):** hashed site ID md5(home_url()), WordPress version, PHP version, environment type, plugin name/version, event name + timestamp (e.g. first_toggle_enabled, first_test_launched/finished, winner_applied). * **Email capture (on submit):** email address + the same environment context. **Where data is sent** Data is POSTed to an Apps Script endpoint on script.google.com (defined in code as ABTEST_TELEMETRY_ENDPOINT and reused for email capture). **Policies** [Google Terms of Service:](https://policies.google.com/terms) [Google Privacy Policy:](https://policies.google.com/privacy) **Controls & Opt-out** Telemetry is **off by default**; Opt in/out using the Get Started screen shown on activation. You can revisit it at **your domain**/wp-admin/admin.php?page=abtestkit-get-started == Changelog == = 1.0.1 = * Fixed: Activation redirect now runs reliably so the onboarding wizard opens immediately after first activation. * Improved: Activation logic hardened for multisite and bulk activation contexts. * Minor: Internal code clean-up for future stability. = 1.0.0 = * Initial public release of abtestkit - simple A/B testing inside the WordPress Core Editor. * Supported blocks: buttons, headings, paragraphs, and images. * Automatic winner declaration with Bayesian evaluation. * Grouped test support. * Optional anonymous telemetry (opt-in). == Upgrade Notice == = 1.0.1 = Fixes onboarding not opening automatically after activation and improves reliability on multisite setups. Updating is strongly recommended to ensure a smooth first-time setup experience. = 1.0.0 = First public release - validate your ideas, grow your website, and reach your goals with A/B testing built directly into the WordPress block editor.