Storefront A/B Testing - AB Split Testing
by Modvanta https://modvantaapps.tech/odoo-apps/website-ab-testing/$ 4.99

A/B test your Odoo shop and read the results in Odoo
Split your eCommerce visitors between variants of the Add to Cart button - different wording, different styling - and measure page views, add to cart, checkout or completed orders, with conversion rate, revenue and revenue per visitor for each variant.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Changing a button label or style on a hunch tells you nothing. A split test shows half of the visitors one version and half the other, and counts which one sells more.
This module adds A/B testing experiments to the Website app. An experiment runs on a page or a group of pages, splits visitors between its variants by weight, and keeps each visitor on the same variant while they browse. A variant can change the Add to Cart label and add CSS classes to it.
Each experiment has a goal - page view, add to cart, begin checkout, CTA click or order completed. Conversions are counted once per visitor; for completed orders the order amount is added to the variant's revenue. Administrators and website editors are never counted.
Who it is for
eCommerce managers Test the call to action before changing it for everybody. | Marketing teams Conversion rate and revenue per visitor without an outside testing tool. | Small shops Simple experiments that live next to the orders they measure. |
Key features
All screenshots were taken on Odoo 19 with this module installed on a clean demo database with the default website theme (company Northwind Trading Co). The visitor numbers come from sample traffic run against the bench in a browser, and the orders from the demo portal customer.
Feature 1
Variant B on the product page
Visitors in variant B see the Add to Cart button relabelled Buy now - ships today and enlarged with the btn-lg class.

Feature 2
Variant A, the control
Visitors in variant A see the standard button. Each visitor keeps the same variant on every page.

Feature 3
All experiments at a glance
Website -> A/B Testing lists every experiment with its target URL, goal, status, visitors, conversions and conversion rate.

Feature 4
Results per variant
The Add to Cart experiment after sample traffic: 24% for the control against 47% for Buy now, with B shown as the leading variant - and a reminder that a lead on few visitors can be chance.

Feature 5
Revenue and revenue per visitor
With the Order Completed goal, every order placed adds its untaxed amount to the variant: revenue and revenue per visitor side by side.

Feature 6
Set up an experiment
Name, target page URL (a trailing * covers every page below it), share of traffic in the test, goal, website and optional start and end dates. Start, Pause, Finish and Reset counters buttons control it.

How it works, step by step
| 1 | Install the module It depends on eCommerce. |
| 2 | Create an experiment Website -> A/B Testing: target URL, goal, traffic share, and two or more variants with weights. |
| 3 | Start it Visitors are split between the variants as they arrive. |
| 4 | Read the results Visitors, conversions, conversion rate, revenue and revenue per visitor per variant. |
Settings
Each experiment and variant has its own settings.
| Target Page URL | The page the test runs on; /shop/* covers every product page. |
| Traffic in Test (%) | The share of visitors that take part; the others see the page unchanged and are not counted. |
| Goal Type | Page View, Add to Cart, Begin Checkout, CTA Button Clicked or Order Completed. |
| Start / End Date | Optional time window for the experiment. |
| Variant Weight | Relative share of the traffic; 1 and 1 split evenly. |
| CTA Label Override / CSS Classes | New Add to Cart text and extra classes on that button for the variant. |
Frequently asked questions
Do my own visits skew the numbers?
No. Administrators and website editors are not assigned a variant and are not counted.
Does a visitor switch variants when browsing?
No. The variant is remembered in the visitor's session.
Is a conversion counted twice if the visitor buys twice?
No. Each visitor counts once per experiment.
Where does the revenue figure come from?
From the untaxed amount of the order the visitor completed, read on the server - not from the browser.
What can a variant change?
The label of the Add to Cart button and CSS classes on it.
Compatibility
Odoo 19 Community and Enterprise | Depends on eCommerce | Tested 33 automated tests |
Let your visitors pick the winner
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, setup help by email |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 442 |
| Technical Name |
mdv_website_ab_testing |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/website-ab-testing/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module