=== abtestkit === Contributors: abtestkit Tags: ab testing, split testing, ab test, 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.0 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html Validate your ideas, grow your website, and reach your goals with simple, native A/B testing for the WordPress block editor (Gutenberg). == Description == Every website owner has ideas. A new headline. A sharper button. A different image. But how do you know what *really* works? **abtestkit** gives you the power to validate your ideas and designs inside the **WordPress Core Editor (Gutenberg)** — without leaving your editor, paying for SaaS tools, or learning complex analytics. Run A/B tests directly in your content. See which version resonates. **The plugin analyses the data for you and declares a winner automatically.** No spreadsheets. No statistics degree. Just clear results you can act on. Apply the winner with one click. Grow your conversions, your audience, and your revenue. ### 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. * **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 == This plugin connects to a Google Apps Script web app for two optional features: 1. Anonymous telemetry (OPT-IN) 2. Email capture for product feedback (user-submitted) Both features use a Google Apps Script endpoint hosted on script.google.com. -- Service -- Google Apps Script Web App (HTTPS endpoint on the script.google.com domain) -- Why we use it -- * Telemetry: to understand high-level usage patterns so we can fix bugs and prioritise features. * Email capture: to let interested admins share an email so we can follow up for feedback or beta programs. -- When data is sent -- * Telemetry: ONLY if the site admin explicitly opts in via the in-dashboard prompt. No data is sent until opt-in. After opt-in, the plugin sends one-shot milestone events when they happen (e.g. first toggle enabled, first test launched/finished, winner applied) and a single "plugin installed" event. * Email capture: ONLY when the admin opens the modal and submits the form (never automatically). -- What data is sent -- * Telemetry (opt-in only): - Anonymous site identifier: md5(home_url()) - WordPress version, PHP version, environment type (production/staging/etc.) - Plugin name and version - Event name and timestamp for milestone events: - first_toggle_enabled - first_test_launched - first_test_finished - winner_applied * Email capture (if the admin submits the form): - Email address - Same environment context as above (anonymous site id, WP/PHP/env, plugin version) - (No post content or personal content is sent by the plugin) -- Where data is sent -- Requests are POSTed to a Google Apps Script URL (script.google.com). Example domain: script.google.com -- Legal / 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 and remains off unless an admin clicks "Share anonymous data." * You can opt out at any time by declining the prompt or by removing the opt-in: - Delete the option `abtestkit_telemetry_opted_in` (set to 0/false) or - Deactivate/remove the plugin. * Email capture is disabled unless an admin opens the dialog and submits the form. * To disable the email capture feature entirely at runtime, add this to wp-config.php (or a must-use plugin): define('ABTEST_EMAIL_CAPTURE_ENABLED', false); -- Transparency -- The exact endpoint is defined in the plugin code as ABTEST_TELEMETRY_ENDPOINT and is reused for the email-capture POST. The domain is script.google.com (Google Apps Script). == Changelog == = 1.0.0 = * First release of abtestkit — simple A/B testing inside the WordPress Core Editor. * Supported blocks: buttons, headings, paragraphs, images. * Automatic winner declaration with Bayesian evaluation. * Grouped test support. * Opt-in anonymous telemetry. == Upgrade Notice == = 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.