Skip to content
Until end of January: 90 days free
Metrics & growth

A/B Testing: Definition, Process & Examples for Local Shops

A/B testing swaps gut feeling for evidence: you try two versions at the same time and see which one works better. It is not just for online stores – it works in a café, a barbershop or a bakery too. Here is how to do it and what to watch out for.

mystamp editorial teamUpdated: 6 min readAuf Deutsch lesen

Quick answer

A/B testing (also called split testing) is an experiment in which you randomly show two versions of something – such as two push message texts or two rewards – to two comparable groups of customers and measure which version better achieves a goal you defined in advance, such as more visits or redemptions. The key rules: change only one thing, run both versions over the same period, and include enough people for a reliable result.

Key takeaways

  • Principle: two versions, random assignment, same period, one success metric – the version with the better result wins.
  • One change only: if you change text, image and offer at once, you will never know which one made the difference.
  • Small shops, small numbers: with a few hundred customers you can only reliably detect big differences, not one or two percentage points.
  • Works offline too: signs, rewards or push texts can be tested week by week or across customer groups.
  • Decide the metric first: set your success measure and duration before you start, not after you see the numbers.

A/B testing is a simple experiment: you randomly split your customers into two groups, show group A one version and group B another, and measure which one better achieves your goal. You set that goal in advance – for example more reward redemptions or more visits after a push message.

A/B tests are best known from online marketing, where large platforms constantly run many tests in parallel. But the principle works just as well in a café in Berlin or a barbershop in Vienna, as long as you follow a few rules.

What is A/B testing?

In an A/B test, also called a split test, you compare an existing version (A, the control group) with a changed version (B, the test group). Everything else stays the same: same period, comparable customers, same way of measuring. If the results differ clearly, the difference is very likely down to that one change.

Typical questions an A/B test answers:

  • Does “Only 2 stamps to go until your free coffee” bring more visits than “We miss you”?
  • Is a free croissant redeemed more often than €2 off?
  • Do more passers-by stop at a sidewalk sign with a question or with a price?

Scientifically, an A/B test is a randomised controlled experiment – the same method used to test medicines. In the Harvard Business Review, Ron Kohavi and Stefan Thomke describe how much better companies decide when they experiment: even experienced professionals are surprisingly often wrong about which idea will perform better.

How an A/B test works in a shop

A clean test always follows the same six steps:

  1. Set a goal: one measurable metric, such as the redemption rate of a reward or visits within 7 days of a message. A SMART goal helps.
  2. Write a hypothesis: “A message showing concrete progress brings more visits than a general reminder.”
  3. Change one variable: only the text, only the reward or only the image – never everything at once.
  4. Split randomly: for example by even and odd card numbers, by first letter of the name, or in alternating weeks.
  5. Fix the duration: full weeks, so that Mondays and Saturdays appear equally in both groups.
  6. Evaluate and decide: compare only once the test period is over, then keep the better version.

Types of tests

Method How it works Fit for small shops
Classic A/B test Two groups at the same time, randomly assigned Very good, e.g. for push messages or emails
Time-based test Week 1 version A, week 2 version B, alternating Good for signs, window displays, promotions – but sensitive to weather and holidays
Branch comparison Branch 1 tests A, branch 2 tests B Only useful if both locations perform similarly
Multivariate test Several elements at once in all combinations Hardly suitable, needs very large numbers
Before-and-after Old version until a set date, then new Not a real test, only a rough indication

For time-based tests, alternate A and B several times (A-B-A-B) so that one rainy week or a bank holiday does not distort the whole result.

Shop example: a push message in a café

A café in Munich has 300 customers with a digital stamp card who have not visited for more than three weeks. The owner randomly splits them into two groups of 150 and sends two texts on the same Tuesday morning:

  • A: “We miss you! Come and see us again.”
  • B: “You’re only 3 stamps away from your free cappuccino ☕”

The metric: who gets a stamp again within 7 days.

Recipients Visits within 7 days Rate
Version A 150 18 12%
Version B 150 30 20%

Version B is clearly ahead. Run the numbers, though, and confidence is only around 94% – just below the usual 95% threshold. The sensible decision: adopt B (nothing speaks against it) and confirm it in the next round with a fresh group of inactive customers. That is the reality for small shops: you see trends, rarely certainties.

How many customers do you need? Significance made simple

The most common mistake is testing with groups that are too small. If 3 out of 20 recipients respond instead of 2, that is not proof – it is chance. A rough guide:

Expected rate Difference you want to detect Recipients per version (approx.)
10% 10% → 20% around 200
10% 10% → 15% around 700
20% 20% → 30% around 300

These are rounded guide values for 95% confidence and 80% statistical power; any online sample size calculator gives exact figures. The message is clear: test big differences, not nuances. Whether one extra exclamation mark helps, you will never find out with 300 regulars. Whether a concrete offer beats a general reminder, you quite possibly will.

What can you test in a shop?

  • Push messages: text, time of day, weekday. Ready-made wording is in our push notification templates.
  • Rewards: product versus discount, as discussed in discount vs free reward.
  • Number of stamps: 8 versus 10 boxes – measured by redemption rate.
  • Sidewalk signs and windows: message A versus B in alternating weeks, measured by the conversion rate from passers-by to buyers, if you can count passers-by.
  • Offers at the till: two phrasings for upselling, measured by average spend.

With mystamp you can send push notifications straight to the lock screen of your card holders and follow return rate and extra revenue in the dashboard. That way you can see, without a POS system, whether a message actually brings people back through the door.

Pros and cons of A/B testing

Advantages:

  • Decisions are based on real behaviour, not on opinions within the team.
  • Small, cheap changes can be tried with little risk.
  • Every test teaches you something about your target audience.

Disadvantages and limits:

  • Small customer numbers make results uncertain.
  • Season, weather and holidays distort time-based tests.
  • A test measures only the short-term metric, not necessarily long-term loyalty.

Common mistakes

  1. Stopping too early because one version leads on day two.
  2. Changing several things at once.
  3. Deciding which metric counts only after the test.
  4. Not forming groups randomly, e.g. “regulars get B”.
  5. Not writing down the result – and repeating the same test a year later.

Data protection when testing

If you contact customer groups by email or messenger, you need a legal basis under Art. 6 GDPR (DSGVO), usually consent. The test itself changes nothing: anyone who may receive marketing may receive version A or B. This note is not legal advice.

Why it matters for small shops

For small shops, A/B testing is less a statistics tool than a mindset: try, measure, keep what works. Even if a result is not strictly significant, a structured comparison beats a decision made on instinct. Start with tests where a lot is at stake and big differences are possible – rewards, win-back messages, launch offers – and record every result in a simple spreadsheet.

Frequently asked questions

What is A/B testing in simple terms?

In an A/B test you compare two versions of something, for example two promotional messages. Half of your customers see version A, the other half version B. Afterwards you measure which version led to more purchases, visits or clicks. That way you decide based on how real customers behave rather than on personal taste.

Is A/B testing the same as split testing?

In everyday use, yes. In both cases an audience is split and each group gets a different version. Some marketers reserve split testing for comparing two completely different pages or campaigns and use A/B testing for single elements. For a small shop, the distinction does not matter.

How long should an A/B test run?

At least until each version has collected enough responses, and always in full weeks so that busy and quiet weekdays appear equally in both versions. In a shop that usually means two to four weeks. Do not stop a test early just because one version is ahead after two days – early differences are often pure chance.

How many people do I need for an A/B test?

It depends on how large a difference you want to detect. As a rough rule of thumb, you need several dozen to around a hundred responses per version, such as redemptions or purchases, not just recipients. Small differences of one or two percentage points are almost impossible to prove with the customer numbers of a single shop.

Can I run A/B tests without an online shop?

Yes. You can test two sidewalk sign messages in alternating weeks, compare two rewards in two branches, or send two push messages to two halves of your loyalty card holders. What matters is that the groups are comparable and you can measure the outcome, for example through redemptions at the counter.

What does statistically significant mean in A/B testing?

A result is statistically significant when it is very unlikely that the difference between A and B arose by chance alone. The usual threshold is 95 percent confidence. Free online significance calculators tell you within seconds once you enter the number of participants and successes for each version.

Sources & further reading

  1. A/B testing – Wikipedia
  2. The Surprising Power of Online Experiments – Kohavi & Thomke, Harvard Business Review (2017)
  3. Art. 6 GDPR – Lawfulness of processing – General Data Protection Regulation

About this guide

Written by the mystamp editorial team in Mannheim, Germany. We build digital stamp cards for local shops, and our guides bring together what actually works day to day in small businesses. We back numbers and legal statements with sources and update the article when things change.

Published: 1 December 2026 · Updated: 1 December 2026 · Spotted a mistake or have a question? Write to us

Related industry guides

Free-forever plan available

Test your messages right on the lock screen

With mystamp you send push notifications to your card holders in Apple and Google Wallet and track your return rate in the dashboard.

  • Free-forever plan
  • Ready in 10 minutes
  • Back to Free any time – cards stay
  • No app needed

Try the card

Live preview: build your card in 30 seconds.

Café Sonnenschein

now

Fancy a cappuccino? Double stamps today.

Tap the card to collect a stamp

Stamps until the reward
Colour
Logo

Your logo stays on your device and is not uploaded.

Just a preview – you create your real card yourself in 10 minutes.

Even more design options in the dashboard: There you can also customise icons, font colours and background patterns – this preview only shows the basics.

Create this card for free & win regularsCreate this card for free
Launching January 2027

We go live in January 2027

Sign-up isn’t open yet – but you can be first in line. Leave your email and we’ll let you know as soon as we launch.

Your giftAll plans free for 90 days for everyone who signs up now.