# Check and stop an A/B test

> Open a running A/B test under Analytics › A/B Tests, read the status, influence and significance of each indicator, compare the control and treatment groups, stop the test and, if you want, delete it.

The details page of an A/B test compares the **control group** (no Releva) with the **treatment group** (with Releva) on page views, product views, revenue, time on page and scroll depth. This guide reads those results, stops the test and shows how to delete it. For how each number is computed, read [How A/B tests work](https://releva.ai/documentation/learn/ab-tests/how-ab-tests-work/).

## Before you start

* A test is running. If **Running A/B tests** shows **No active A/B test**, start one first: see [Start an A/B test](https://releva.ai/documentation/guides/ab-tests/start-an-ab-test/).
* Give it time. The results leave out the first and the last day of the test, so nothing shows before the third day, and a running test never includes today. Significance needs traffic in both groups; a small shop may need weeks.
* Stopping is final. A stopped test cannot be restarted; you can only delete it or start a new one.

## Steps

1. Go to **Analytics › A/B Tests**. The test that runs now is under **Running A/B tests**.

   The card shows when the test started, its **Control group fraction**, its **Hypothesis** and **Running: Yes**. You can stop the test right here with **Stop** on the card; the same confirmation opens as in step 7.

   ![The A/B Tests page with the running test’s card under Running A/B tests](https://releva.ai/documentation/_astro/step-1.nnPjay5V_1I9zzh.webp)

2. Select the date under **Started at:** to open the test.

   ![The start date link on the running test’s card](https://releva.ai/documentation/_astro/step-2.DdWqRK9h_ZKO0xw.webp)

3. Select **Show configuration** to see the **Control Group Fraction** and **Hypothesis** the test runs with.

   The header reads **A/B Test period: \<start date> - now** while the test runs. The configuration is read-only. The slider counts in hundredths of a percent, so **2000** on the scale means a 20 % control group.

   ![The test’s header with the configuration open](https://releva.ai/documentation/_astro/step-3.BIZheUEE_ZrNqsh.webp)

4. Under **Results**, read each indicator’s **Status**, **Influence** and **Statistical significance**.

   **Status** is **Not yet significant** until the significance passes 90 %, then **Releva wins** or **Releva doesn’t win**. Below the indicators, **Group:** lists **Profiles By Group Total Count:**, **Product Views By Group Total Count:**, **Purchases By Group Total Count:** and **Engagement Intervals By Group Total Count:** for **Control** and **Treatment (with Releva)**. Engagement intervals are the tracked page views that time on page and scroll depth are averaged over.

   ![The Results card with five indicators and the group totals](https://releva.ai/documentation/_astro/step-4.CeXCgiBE_23jEkl.webp)

5. Scroll down to compare the **Control group** and the **Treatment group (With Releva)** for each indicator.

   Each indicator has its own card with a chart, the **Change** in percent, the **Statistical significance** and a table with the two groups. **No Data** means nothing was recorded for that indicator in the counted days. The last card, **Profiles By Day**, shows how many profiles each group had per day.

   ![The Product Views By Group card with its chart, change and group table](https://releva.ai/documentation/_astro/step-5.Pj6bljUn_ZBCD5W.webp)

6. To end the test, select **Stop**.

   **Stop** is at the bottom of the page, next to **Back**.

   ![The Stop button at the bottom of the details page](https://releva.ai/documentation/_astro/step-6.Bgqk2H4c_1nMoqf.webp)

7. Select **Confirm**.

   The dialog asks **Are you sure you want to stop the A/B test?** Select **Close** to keep the test running.

   ![The confirmation dialog for stopping the test](https://releva.ai/documentation/_astro/step-7.CxzGdavz_2aLmbH.webp)

8. The test has ended. **A/B Test period** now shows an end date, and **Delete** replaces **Stop**.

   The results stay on this page. If you want to keep them, you are done.

   ![The header showing the test period with an end date](https://releva.ai/documentation/_astro/step-8.CUy2a2ds_Z2aU7va.webp)

9. Optional: to remove the test and its results, select **Delete**.

   ![The red Delete button at the bottom of the details page](https://releva.ai/documentation/_astro/step-9.DPFCQASy_28TVOB.webp)

10. Read **Are you sure you want to delete the A/B test?** and select **Confirm**.

    Deleting cannot be undone.

    ![The confirmation dialog for deleting the test](https://releva.ai/documentation/_astro/step-10.D-Rmduk8_Z2elmQx.webp)

11. You are back on **A/B Tests**. **Running A/B tests** shows **No active A/B test** and **Start A/ B Test** is enabled again.

    ![The A/B Tests page with no running test and the Start A/ B Test button enabled](https://releva.ai/documentation/_astro/step-11.Bvisz1YX_FiWB5.webp)

## Check it worked

* After you stop the test, its header reads **A/B Test period: \<start date> - \<end date>** and the button row shows **Back** and a red **Delete**.
* On **A/B Tests**, **Running A/B tests** shows **No active A/B test** and **Start A/ B Test** is enabled again. A stopped test you kept is listed below with **Ended at:** today’s date; a deleted test is gone.
* Every visitor gets Releva again as soon as you confirm the stop.

## Troubleshooting

**Everything reads 0, N/A %, 0.00 % and No Data.** The test is younger than three days, or there was no traffic in the counted days. The first and the last day are never counted. Come back later.

**Influence says “Test needs more data to reach significance” for every indicator, even with data.** This is the text shown to all users except Releva staff, whatever the numbers. Use **Status** and **Statistical significance** instead; the percent change is in each indicator’s card under **Change**.

**I see only five indicators.** **Purchases By Group** and **Average Order Value By Group** are shown to Releva staff only. The five indicators everyone sees are **Product Views By Group**, **Revenue By Group**, **Page Views By Group**, **Time On Page By Group** and **Scroll Depth By Group**.

**Time On Page and Scroll Depth stay at No Data while page views have numbers.** These two come from the SDK’s page engagement events. A storefront whose SDK does not send them has no values here.

**The page shows “Cannot read properties of null (reading ‘periodStart’)”.** The link points at a test that no longer exists, for example one that was deleted. Go back to **A/B Tests** and open a test from the list.

**I stopped the test by mistake.** It cannot be restarted. Start a new test with the same settings; the old results stay on the ended test’s details page.

## Next steps

* [Start an A/B test](https://releva.ai/documentation/guides/ab-tests/start-an-ab-test/): Start a new A/B test with your own control group size and hypothesis.
* [How A/B tests work](https://releva.ai/documentation/learn/ab-tests/how-ab-tests-work/): Learn how visitors land in each group and how to read status, change and significance.
* [Check that an event reached Releva](https://releva.ai/documentation/guides/events/check-that-an-event-reached-releva/): Confirm that the events your test results count arrive with the right data.