Skip to content

A/B test URL generator

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

The page both variants open.

One name per line. Each becomes utm_content.

  • control

    https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=pricing_test&utm_content=control

  • annual_first

    https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=pricing_test&utm_content=annual_first

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.

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.

More free tools

All free tools

Tool questions. Straight answers.

What people ask about this tool before they use the number.

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

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

  • 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.

  • Yes. The links are built in your browser.

Not answered here? Write to hello@crispstats.com

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.