# A/B test URL generator

Updated 2026-11-28

Build one tagged URL per variant of a test. The variants share source, medium and campaign, and each gets its own utm_content.

The interactive tool runs in the browser at /tools/ab-test-url-generator.

An A/B test that sends both variants to the same page needs the links to be identical except for the thing you are testing. This generator writes one URL per variant. They share utm_source, utm_medium and utm_campaign. The variant name becomes utm_content.

## How do you read the links for each variant?

In analytics, filter to the campaign and split by content. The two rows are the two variants, and the rest of the tagging cannot drift because it was written once. Values are lowercased so Control and control are not two tests.

The page both links open should be the same unless the test is the page itself. For the statistics once the numbers are in, use the [A/B test significance calculator](/tools/ab-test-significance-calculator).

## Frequently asked questions

### Why utm_content and not two campaigns?

Two campaign names split the test across two rows you then have to add up. One campaign and two contents keeps the test together.

### Can I have more than two variants?

Yes. One name per line. Each line is a link.

### Do the links have to open the same page?

For a creative test, yes. If the pages differ, you are testing the pages as well as the message, and the result is harder to read.

### Is this generator free?

Yes. The links are built in your browser.
