# Split test

> Sends a share of leads down A and the rest down B, to compare two routes.

The same person or company always takes the same arm.

| | |
|---|---|
| Type | `split` |
| Group | Logic |

## Exits

| Exit | Name |
|---|---|
| `a` | A |
| `b` | B |

## Settings

| Key | Label | Takes | Default | Notes |
|---|---|---|---|---|
| `shareA` | Share that takes A (percent) | A number. | `50` | The rest take B. |
| `key` | Kept in the same arm by | `email` Email address, `domain` Company domain | `email` | The same person, or the same company, always takes the same arm. |

## In a flow document

```json
{
  "id": "split1",
  "type": "split",
  "settings": {
    "shareA": 50,
    "key": "email"
  }
}
```
