Magento 2 Experts — Hyvä Theme, Tailwind CSS & SEO from a Single Source ›

Magento 2 A/B Testing for CMS Blocks without Third-Party Tracking

Magento 2 Extension Hyvä Ready Magento 2.4.x

SKU: CMSBLOCKABTEST1

  • serve variants of a CMS block at random
  • count goals such as click, cart and order in your own database
  • assignment in the browser, full page cache stays active
  • adopt the winning variant with one click
Auf Lager
€149.00

Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.

No download, but personal setup

No download, but personal setup. This product is not a downloadable software package for self-installation. With your order, you commission Mironsoft to individually set up this module in your shop. We will get in touch with you within 2 business days — we'll sort out the details and payment together then.

This offer is aimed at business owners and companies running a Magento 2 shop.

6 features

Magento 2 A/B testing for CMS blocks: compare variants instead of guessing

With Magento 2 A/B testing from Mironsoft you pit two or more variants of a CMS block against each other, for example a hero banner, a promotional text or a notice in the cart. The module splits visitors randomly between the variants, counts views and goals in your own database and shows in the admin which version performs better. It needs no third-party tracking and runs with Alpine.js in the Hyvä theme. Magento 2 A/B testing is configured in a few minutes and can be started and stopped per store view.

Variants per block

A CMS block gets variant B, C or more, each one a separate piece of content with its own name.

Random assignment

Visitors are assigned by your split and see the same variant on later visits.

Measure goals

Goals can be a click on an element, add to cart, an order or a page view.

No third-party tracking

Views and goals go into your database, no data is sent to third parties.

Cache friendly

Assignment happens in the browser, so the full page cache stays effective.

Results in the admin

Views, conversions, rate and a significance hint per variant in one overview.

Why A/B tests

Why merchants test content in a Magento 2 shop instead of assuming

Whether the red or the blue button works better, whether a delivery promise in the header brings more orders or whether a short text convinces is rarely something you can tell by gut feeling. Many merchants therefore search for Magento 2 A/B testing, a way to test CMS content, or a solution without external services. External testing tools load extra scripts, charge ongoing fees and raise data protection questions.

With Magento 2 A/B testing everything stays in your own shop. You create variants, start the test, read the numbers after a few days and adopt the better version. Decisions then rest on real visitors rather than on opinions in the team.

01Variants

Set up Magento 2 A/B testing: create variants per CMS block

For Magento 2 A/B testing you choose an existing CMS block in the admin as the original and add one or more variants. Each variant is a normal CMS block that you design in the usual editor or in the Page Builder. Delivery runs through the existing widget or layout call of the original, so you do not have to change any templates. A running test can be paused without losing data.

  • Original plus any number of variants
  • Design in the usual editor or Page Builder
  • Pause and resume without losing data
Marketing › A/B Tests › New test
Original
Home page hero banner (example)
Variant B
Hero banner with delivery promise (example)
Split
50 % / 50 %
Storefront · Assignment
Sample flow
First visitVariant B assigned
Return visitVariant B (cookie)
02Assignment

Random assignment without cache problems

In Magento 2 A/B testing, a small Alpine script on the first visit picks a variant and remembers it in a cookie, so the visitor sees the same one on the next page. Because the server delivers the same page to everyone, the full page cache stays active. You set the share per variant and can leave part of the traffic out of the test entirely. Bots are not counted.

  • Split freely adjustable, for example 70 to 30
  • Visitors consistently see the same variant
  • Bots and admin users do not enter the numbers
03Goals

Define conversion goals and measure them yourself

For each test you set one or more goals: a click on a CSS selector, a product added to the cart, a completed order or a visit to a certain URL. The module counts impressions and conversions per variant and stores them in aggregated form. No IP addresses and no profiles are created. Whether the assignment cookie requires consent is for the merchant to check legally.

  • Click, cart, order or page view as a goal
  • Aggregated counting without personal profiles
  • Legal review stays with the merchant
Marketing › A/B Tests › Goals
Goal 1
Click on button (example)
Goal 2
Order completed
Counted: impressions and conversions
Marketing › A/B Tests › Result
Original · 1,000 views (example)Rate 3.1 %
Variant B · 1,000 views (example)Rate 3.9 %
Adopt winnerButton
04Results

Read the results and adopt the winning variant

The Magento 2 A/B testing overview shows views, conversions, conversion rate and the difference to the original for every variant. A hint tells you whether the amount of data is enough for a reliable statement. With one click you adopt the winner as the new original and end the test. The numbers stay available as an archive.

  • Views, rate and difference per variant
  • Hint about how meaningful the data is
  • Make the winner the original with one click
Use cases

Where Magento 2 A/B testing helps in daily shop work

Typical cases where Magento 2 A/B testing helps merchants.

Home page hero banner

Two image messages or headlines run against each other. The variant with more clicks to the category stays.

Notice in the cart

A shipping cost notice in two wordings shows which version leads more customers to checkout.

Category introduction

Short text against long text: which leads to more product clicks?

Promotion block

Discount in percent against discount in euro. The test shows which presentation works better.

Comparison

Magento 2 A/B testing: with and without the module

What Magento 2 A/B testing changes compared with gut decisions and external testing services.

TopicWithout moduleWith Mironsoft CMS Block A/B Test
DecisionOpinion in the teamNumbers from real visitors
Data storageExternal service or no measurementOwn database, no third-party tracking
PerformanceExtra third-party scriptsSmall Alpine script, full page cache stays active
EffortChange templates and codeVariants as CMS blocks in the admin
AdoptionRebuild by handWinner as the original with one click
Setup

How we set up Magento 2 A/B testing for you

The process after you place the order.

1

Alignment

You name the blocks you want to test and the goals that matter for your shop.

2

Installation

We install the module, set up Magento 2 A/B testing for your store views and connect delivery to the existing block calls. After that Magento 2 A/B testing runs without changes to your templates.

3

First test

Together we create a first test with variants, split and goals.

4

Check

We verify assignment, cookie, goal counting and cache behaviour in the storefront.

5

Handover

Your team gets an introduction to results, pausing and adopting the winner.

Differentiation

Differentiation from scheduler, customer group blocks and reports

The CMS block scheduler switches content at fixed dates, and the CMS block customer group module shows blocks depending on the group. Both decide by time or group. Magento 2 A/B testing decides at random in order to compare two versions, and it measures the result. The advanced reports from Mironsoft analyse revenue, not variants.

All modules can be combined. Delivery uses Alpine.js from the Hyvä theme and loads no extra library.

05How buying works

No download, but personal setup

CMS Block A/B Test is not listed here as a ready-made download file to install yourself. The purchase is a commission: we contact you after the purchase, install the module in your shop and agree on goals, split and first tests together with you.

Important to know

Your purchase does not include a download link. We will get in touch with you within 2 business days — we'll sort out the details and payment together then. This offer is aimed at business owners and companies running a Magento 2 shop.

FAQ

Frequently asked questions

Everything important about variants, measurement, data protection and how the purchase works.

How can I run an A/B test for a CMS block in Magento 2?
With Magento 2 A/B testing you choose a CMS block as the original, create variants, set the split and start the test. Delivery runs through the existing block call.
How is a visitor assigned to a variant?
At random according to your split. A cookie makes sure the visitor sees the same variant on further pages.
Does it bypass the full page cache?
No. Assignment happens in the browser with Alpine.js, the server delivers the same page to everyone.
Which goals can I measure?
A click on an element via CSS selector, a product added to the cart, a completed order or a visit to a certain URL.
Is data sent to third parties?
No. Views and goals are stored in aggregated form in your own database. The data protection assessment, for example for the cookie, lies with the merchant.
When is a result meaningful?
The overview shows a hint whether enough views and conversions exist. As a rule: better run longer than decide too early.
Can I test more than two variants?
Yes, any number of variants next to the original is possible. Each additional variant means it takes longer until the numbers are meaningful.
Does Magento 2 A/B testing work with Hyvä?
Yes, delivery uses Alpine.js and needs no jQuery and no extra library.
How does it differ from the scheduler and customer group blocks?
Those modules decide by time or customer group. Magento 2 A/B testing assigns at random and measures which version works better.
Can I download and install the module myself?
No. This offer is not a download product. After the purchase we install and configure the module personally in your shop.
Write Your Own Review
You're reviewing: Magento 2 A/B Testing – Mironsoft CMS Block A/B Test
loader
Loading...

You submitted your review for moderation.

This form is protected by reCAPTCHA - the Google Privacy Policy and Terms of Service apply.

Magento 2 A/B Testing – Mironsoft CMS Block A/B Test

Magento 2 A/B Testing – Mironsoft CMS Block A/B Test

€149.00