# Set up a test

### Step 1: Add your page versions

Paste the URLs of the versions you want to test.

* Free: 2 versions
* Pro: up to 8 versions

### Step 2: Generate tracking links

You can do one or both.

#### Link tracking

* Paste the outbound links you want to track (one per line).
* Click **Generate Tracking Links**.
* swtchd returns a unique tracking link for each version.
* Use the generated tracking links in each version’s button URLs.

#### Form submit tracking (thank-you page)

* Add a title + description for a thank-you page.
* Click **Generate Tracking Links**.
* swtchd generates tracking links per version.

Use these links as your form’s “redirect after submit”.

### Step 3: Review & launch

Launch the test once links are generated.

Traffic is split evenly across your versions.

Note: Your tracking link will all remain accessible from the analytics section.


---

# 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://swtchd-io.gitbook.io/swtchd.io-docs/testing-and-tracking/set-up-a-test.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.
