# A/B Testing

## General Info

Like us, many clients also follow the approach of "Data Driven Development". A/B tests are essential for this. \
In order for our platform to be able to generate reliable KPIs, it is important that widgets used in an A/B test are not simply hidden (**display:none**), but are not integrated in the DOM at all.&#x20;

This is not always so easy to do, but it is essential to get a reliable data basis. Just contact us and we will find a solution together!

## Sync your and our A/B test

In order to sync the A/B test variant (or test group) allocation from your shop and our solution you can just add it to the 8.SDK Web configuration.

```javascript
// 8.SDK Web configuration for Shop's A/B test test group
<script type="text/javascript">
  window._eightselect_shop_plugin = window._eightselect_shop_plugin || {};
  window._eightselect_shop_plugin.testgroup = 'A'; // set to whatever value you use to identify your test group or variant
</script>

// 8.SDK Web
<script type="text/javascript">
    ...
</script>

```


---

# 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://docs.8select.io/integration/a-b-testing.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.
