A/B Testing Tool software

Make better decisions with A/B testing that uses your data

Compare variations with insights built on your first-party analytics

Capterra Logo

⭑ 4.7

G2 logo

⭑ 4.2

⭑ 4.7

Trusted by 1 million organisations worldwide

Understand visitor behaviour with A/B testing

Test different pages and elements

Compare different versions of a page, headline, call to action, or layout. See how variations perform and choose the changes that work rather than making assumptions.

Measure meaningful goals

Evaluate experiments with Matomo Goals and track metrics like conversions, revenue, and ecommerce orders. Judge change by the impact and measure what’s important to you.

Compare variation performance over time

See how variations and success metrics change over time in A/B Testing reports with evolution graphs. See which versions yield the best results and make decisions using real evidence.

How Matomo's A/B Testing works

  • Create and configure your experiment 
    Implement the experiment using JavaScript, Matomo Tag Manager, server-side code, or redirect URLs. Set up your experiments in Matomo, add your original version and the variations you want to compare. Then choose where the test should run.
  • Define your objectives
    Choose what success should look like. You can choose an existing Matomo Goal or measure metrics like goal conversions, goal revenue, ecommerce orders, total revenue, page views, bounces, or visit length. Set the minimum improvement (Minimum Detectable Effect) you want the experiment to detect.
  • Launch and monitor
    Deploy your experiment and start collecting results from visitors. A/B Testing reports compare variations across the success metrics you choose. An evolution graph shows performance over time.
  • Results you can trust
    Matomo calculates statistical significance to show how confident you can be that performance changes aren’t random. Once enough users have participated in the experiment, it flags potential winning and losing variations so you can decide whether the evidence supports making the change.

Get more out of every experiment with Matomo A/B Testing

You can only really make decisions based on your A/B testing if you can trust the data and methodology. Matomo brings experimentation and analytics together, so you can go from testing to decision-making in the same platform.

  • Make decisions based on real user behaviour. Invest marketing budget with more confidence
    Compare real visitor behaviour across variations. Use the results to decide where you should focus your attention, development, or marketing budget. Matomo A/B Testing is designed to reduce guesswork and show you which version actually performs better.
  • Unsampled data for accurate decision-making
    Larger data samples shouldn’t make your experiments less reliable. Matomo generates analytics reports from the complete dataset it has collected rather than using sampling. 
  • Run experiments on your full analytics from the same tool
    Matomo combines web analytics and conversion optimisation. Analyse experiments in the same environment. Segment reports by experiment or variation, or apply existing segments to your A/B Testing reports to investigate differences between audiences, traffic sources and behaviours.
  • Access your raw data and audit the results yourself
    Matomo provides access to your underlying raw data for advanced analysis. Retrieve experiment reports and metrics with APIs. Matomo On-Premise lets you access raw data directly from your own database, so you can go beyond what’s shown in the dashboard if you want to dig deeper.

A/B testing where your data stays yours

In keeping with Matomo’s data sovereignty ethos, A/B test data is tracked in your Matomo instance. You can choose the deployment model that best fits your requirements. Matomo Cloud hosts your data on EU servers while Matomo On-Premise lets you choose your own servers and infrastructure. In either case, Matomo won’t share your data with 3rd parties or even use it itself. You own your data.

Matomo also provides privacy controls designed to help you meet requirements under frameworks such as GDPR, CCPA, and LGPD. Build your analytics setup around actual obligations, not blanket promises of compliance. Matomo gives you the flexibility to build your analytics setup around the requirements of sectors like healthcare, financial services, and the public sector.

Idea to A/B testing in three steps

Set up Matomo tracking

Set up Matomo tracking on your site. If you already use Matomo, make A/B testing available and get started in Experiments.

1
2

Create your first experiment. Choose the objective

Add the variations to compare and choose which success metrics will determine the outcome, such as goal conversions, revenue, ecommerce orders, and page views.

Launch and read the results

Embed the experiment in your site, app, server, or campaign. Compare how each variation performs over time to see whether the difference is statistically significant.

3

Choose how you host Matomo

With Matomo, you can manage analytics in the cloud or use your own controlled infrastructure. With either option, you own your analytics data.

Matomo Cloud

Included

Matomo On-Premise

Paid add-on

Explore beyond your test results with Matomo's other powerful features

A/B Testing will tell you which variation is performing better. Take these results and use them alongside Matomo’s behavioural and conversion features to see what changed, why, and what your next steps should be.

Heatmaps

Explore how your visitors click, move, and scroll across pages. Compare interactions across different layouts, content types, and CTAs. See what may be driving the difference.

Session Recordings

See how individual visitors navigate and interact with your site. Put your experiment results into context with real user behaviour. Discover which areas and ideas are worth testing in your next experiment.

Funnel Analysis

Follow visitors through your conversion funnel. Identify drop-off and understand which variations improve the wider customer journey.

Form Analytics

Optimise forms using Form Analytics and A/B Testing. See where your visitors hesitate, abandon, or complete a form. Work on stronger form variations using real user insights.

What teams win by using behaviour analytics that respect privacy

⭑⭑⭑⭑⭑

« We’ve had several questions for a long time that we can now settle. Should this little bar be here or be a little bit below? Or will this convert better here or there? And just the ease of doing that is amazing. »

Diego Rivera

Marketing Manager, Barn2 Plugins.

⭑⭑⭑⭑⭑

« By gathering useful data faster, we could make actionable changes to our marketing campaigns, resulting in higher revenue and better performance. »

Ramon Khan

Co-founder and Head of Marketing, Alloy

Tell us what you think about Matomo!

Learn more

Go deeper on the topic with our guides and resources.

Decorative banner for blog about US web analytics providers and data sovereignty.

Should European organisations reconsider their reliance on US web analytics providers?

matomo 6 new version 2026

Matomo 6: numbers you can trust, answers you get faster

Decorative banner illustrating a blog about comparing analytics tools.

How to compare website analytics tools using your own data

Frequently Asked Questions

You can try Matomo A/B Testing free with the 21-day Matomo Cloud trial. This includes access to all Matomo features. No credit card required.

On-Premise Core platform is free. However, the official A/B Testing feature is a premium plugin available for purchase separately through the Matomo Marketplace.

A/B testing compares variations to see which produces better results. Feature flags control which functionality or experience is available to particular users, groups or environments. You can use feature flags to support experiments, but they’re commonly used for staged releases, kill switches and access control.

Matomo A/B Testing focuses on creating variations, assigning visitors to them, and comparing performance. You can define success metrics such as conversions, revenue, e-commerce orders, page views, or bounces.

The time required for A/B tests should depend on factors such as traffic, conversion rate, expected improvement, and the size of the difference between variations. We recommend defining the minimum number of participants required to reach a statistically significant result.

We recommend running experiments across several complete business cycles. Don’t stop as soon as one variation takes the lead. User behaviour can vary between weekdays, weekends and different times of day. Configure your confidence threshold (95% by default) and remember that increasing it usually requires more participants and, therefore, more time.

To embed an A/B test into your project, you typically need a developer. However, you can create and configure an experiment in the Matomo interface using our setup guidance. For browser-based experiments, you will need some JavaScript knowledge.

You can deploy experiment code without hardcoding it directly into your site with Matomo Tag Manager. Ensure that the timing and technical configuration are correct. You’ll need development work for more complex server-side tests, application experiments or variations that change application logic.

Matomo tracks your experiment data in the same instance as your analytics. With Matomo Cloud, your data is stored in EU-based servers in Frankfurt, Germany, with backups in Dublin, Ireland. With Matomo On-Premise, you choose the country, hosting provider and infrastructure where your analytics data is stored. You can also access the underlying A/B Testing data stored in your Matomo database with On-Premise.

Test what works. Keep your data yours.

Run A/B tests alongside your Matomo analytics to measure the outcomes that matter and make better decisions with data you own.