# How to A/B test your website when analytics does not run the test

The CrispStats team · Published 2026-11-29 · Updated 2026-11-29

**TL;DR:** CrispStats does not run A/B tests. It does not split traffic, assign a version, or pick a winner, so the experiment has to live in a testing tool or in your own site. A sound test is one change, a random split that sticks, and one conversion event chosen beforehand. You read the counts in the significance calculator at a sample size you set first, and you tag link tests with the URL generator. A gap in a small sample is not a result.

People search for how to A/B test a website and land on tools that host the experiment. This product is not one of them. CrispStats does not run experiments: there is no variant assignment, no experiment report, and no button that declares a winner. What it can do is count an event you send, including an event that names the version. The test itself is yours.

This page is the test, in the smallest form that still means something: one change, a split, a conversion event, and a reading of [statistical significance](/glossary/statistical-significance). The short definition of the method is [A/B testing](/glossary/ab-testing). The arithmetic is the [A/B test significance calculator](/tools/ab-test-significance-calculator). Links that differ only by version are the [A/B test URL generator](/tools/ab-test-url-generator).

## How do you A/B test a website?

You A/B test a website by showing two versions of one change to two groups chosen at random, counting one conversion on each group, and comparing the rates only after you have the sample you planned. If the groups are not random, or you changed several things, a difference is not evidence the change caused it.

Four pieces, and you need all of them:

1. **One change.** A single difference between version A and version B.
2. **A split.** Each visitor is assigned at random, and sees the same version on later visits during the test.
3. **A conversion event.** One action, chosen before the test, that decides it.
4. **A significance reading.** The two rates compared at the end, not every day until one of them looks good.

Analytics sits on the third and fourth pieces only if you send it the counts. It does not perform the split. A testing tool is the usual place the split lives. If you assign the version in your own code, you still own that assignment, and you send the outcome into analytics as an ordinary event.

## What should the one change be?

The one change should be something a visitor could point at: the headline, the primary button's label, whether a field is required, which of two prices is shown. It should not be a redesign that also moves the form, the proof points and the navigation.

Write it down as 'A is this, B is this, and nothing else differs.' [A/B testing](/glossary/ab-testing) is explicit that a winning version does not tell you which of five edits did the work. If you cannot say the change in one clause, you are not ready to split traffic. Fix a broken page as a fix. A test is for a difference you are unsure about, not for a bug you have already seen in the error log.

## How do you split visitors?

You split visitors by assigning each new visitor to A or B at random, usually half and half, and storing that assignment so the next page and the next visit in the test show the same version. The assignment has to happen before they can convert, and it has to be independent of the thing you are measuring.

CrispStats does not do this. A testing tool does, or your application does. What matters for the later reading is that the two groups are the same kind of visitor, separated only by the change. Do not send paid traffic only to B, and do not let people pick the version. Do not change the split ratio halfway because one side looks ahead. For a test that is two links, an ad and an email for example, the split is which link you hand out, and the [URL generator](/tools/ab-test-url-generator) keeps the tags identical except for the version name.

- **On a page you control.** The testing tool, or your own assignment, renders A or B. Both groups are on the same URL unless the page itself is the change.
- **On a link you hand out.** One campaign, two contents. The generator writes those URLs. The page they open should be the same if you are testing the message rather than the page.
- **Across days.** The assignment has to stick for the length of the test. A visitor who sees A today and B tomorrow is in both groups, and the comparison leaks.

## What should the conversion event be?

The conversion event should be the action the change was meant to affect, chosen before any counts come in, and it should be one event. A signup, a purchase, a booked demo. Not a list you will pick from afterwards.

Send it as a [custom event](/glossary/custom-event) or a [goal](/glossary/goal), and include the version as a property or as the link's content tag, so the two groups can be counted apart. Picking the metric after you see the data is how a test finds a winner by chance: with enough events, one of them will look special. [How to calculate conversion rate](/blog/how-to-calculate-conversion-rate) is the rate, conversions divided by visitors in that group. Use visitors who were in the test, not every visitor on the site.

Do not put names, emails or other personal data on the event. The version name and the fact of the conversion are enough. If the thing you care about is several steps later, a [funnel](/blog/conversion-funnel-analysis) can show where each version dropped, but the test still needs one deciding event or you will not know when to stop.

## How do you tell a real difference from chance?

You tell a real difference from chance with a significance test at a sample size and a confidence level you set before the test, not by noticing that B's rate is higher. The [A/B test significance calculator](/tools/ab-test-significance-calculator) runs a two-proportion z-test and returns the p-value, the relative difference and an interval. [Statistical significance](/glossary/statistical-significance) is what that p-value is: the chance of a gap at least this large if the two versions were actually the same.

Example. A headline test, with made-up counts so the columns are concrete. This is not a result to expect, and it is not a winner.

Example only: a 10% relative difference on a 3% baseline. Not a test result and not a lift to plan for.

|  | Control | Variant |
| --- | --- | --- |
| Visitors | 8,000 | 8,000 |
| Signups | 240 | 264 |
| Signup rate | 3.0% | 3.3% |

240 ÷ 8,000 is 3.0%, and 264 ÷ 8,000 is 3.3%. The relative difference is 10%. The calculator's own sample-size table says that detecting a move from 3% to 3.3% (a 10% relative change), at 95% confidence and 80% power, needs 53,211 visitors per version. This example has 8,000 per version, so it is far short of that test. You would not call it, whatever the p-value looks like if you peek. Set the sample in the calculator first, run until you have it, and read once. The calculator page also shows a fully worked p-value on a different pair of counts. Use that worked example for the arithmetic, rather than treating the table above as a verdict.

> **Do not peek.** Checking daily and stopping at the first significant morning raises the false positive rate above the level you chose. The glossary and the calculator both say to set the sample first and read once.

## What does a result that is not significant mean?

A result that is not significant means you have not shown a difference at the bar you set. It does not mean the two versions are equal, and it does not mean the change was a waste, if the test was smaller than the effect you hoped to see.

Read it in that order. If you reached the planned sample and the interval includes 'no difference' plus only tiny lifts, you have evidence the change is small or absent, and you can leave the control in place. If you stopped early, you have learned little: the effect may be real and the test too short. [Statistical significance](/glossary/statistical-significance) also separates significant from important. A huge sample can make a trivial gap significant. Ship a change because the difference is large enough to matter, not only because the p-value cleared 0.05.

## Does CrispStats run the experiment?

No. CrispStats does not run A/B tests, does not split traffic, does not assign variants, and does not mark a winner. There is no experiment feature to turn on. If a page, a comparison or a settings screen seems to imply one, it should not: counting is the whole of what the product does here.

What you can count is the outcome of a test you run elsewhere. Send a custom event when a visitor converts, with the version as a property, and the events report lists visitors per property value. That property has to come from your testing tool or your own code. For link tests, tag each version with utm_content and filter goals and funnels by that tag. Put the two visitor counts and the two conversion counts into the [significance calculator](/tools/ab-test-significance-calculator). The product will not compute the p-value for you.

## How do you test two links rather than two pages?

You test two links by giving them the same source, medium and campaign, and a different content value for each version, then filtering analytics to that campaign and splitting by content. The [A/B test URL generator](/tools/ab-test-url-generator) writes those URLs: the variant name becomes utm_content, the other tags are shared, and values are lowercased so two spellings do not become two tests.

Use that for an ad, an email or a partner post, where you control the link and both versions should open the same page unless the page is the thing under test. Do not create two campaigns. Two campaign names split one test across two rows you then have to add up. On-site headline tests are not this case: the generator does not assign a version to a visitor who typed your address. Those visitors need the split described above, in a testing tool or in your site, and the product still only counts the event.

## Frequently asked questions

### Does CrispStats run A/B tests?

No. It does not split traffic, assign versions or pick a winner. You run the experiment in a testing tool or in your own site, send a conversion event that names the version, and use the significance calculator on the counts.

### How many changes should an A/B test include?

One. If the new version changes several things and it wins, you do not know which change did it. A bug fix is a fix, not a test of five ideas at once.

### What conversion should decide the test?

One action you choose before the test starts, such as a signup or a purchase. Choosing the metric after you see the results makes a chance gap look like a win. Do not put personal data on the event.

### When is an A/B test statistically significant?

When the p-value from the test you planned is below the threshold you set in advance, often 0.05 for 95% confidence, and you have reached the sample size you set. A higher rate on a small sample is not that. The significance calculator is where those counts go.

### How should link variants be tagged?

One campaign, shared source and medium, and a different utm_content for each version. The A/B test URL generator builds those links. Two separate campaign names split the test into rows you have to recombine.
