# A/B Testing with Matomo

To configure your A/B test go to <mark style="color:yellow;">Settings/Analytics</mark> in your Cozmos Space

Once selected you will be presented with various options.&#x20;

<figure><img src="/files/7Cf1sOVeKftRbPLpd15K" alt="A/B Testing"><figcaption></figcaption></figure>

From this screen you can add the following information:

* <mark style="color:yellow;">Test Name</mark>
* <mark style="color:yellow;">Variation 1 selection (dropdown list of published Spheres)</mark>
* <mark style="color:yellow;">Variation 2 name and selection (Variation 2 can be either another published Sphere or any other domain)</mark>

It's important to remember that data input in the A/B test configuration must exactly match what you have used in Matomo in order for the test to work correctly.

Variation 1 will always be a Sphere but you can set Variation 2 as a standard website if you want to compare completely different experiences, you are not limited to only running a split test using two Spheres.

For more information on setting up A/B tests in Matomo, you can view their documentation here: <https://matomo.org/guide/reports/a-b-testing/>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.cozmos.com/guides/analytics/a-b-testing-with-matomo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
