A/B test URL generator

Version A, version B.
Both tracked properly.

Enter your base URL and campaign tags once, name your variants, and get one tagged link per variant with utm_content set so GA4 can tell them apart.

Free · No signup · Runs in your browser
Try it

One base URL,
one link per variant.

A/B test link builderRuns in your browser. Nothing is sent.
One link per variant2 variants
  1. Asubject_a
    https://acme.com/summer-sale?utm_content=subject_a
  2. Bsubject_b
    https://acme.com/summer-sale?utm_content=subject_b
utm_source, utm_medium, utm_campaign are empty.
Compare variants in linkutm
How to use it

Set it once.
Get every variant.

  1. 01

    Enter the base URL and tags

    Source, medium and campaign are shared by every variant.

  2. 02

    Name your variants

    Short, lowercase labels like headline_a or video_short.

  3. 03

    Copy each link

    Put each one on its own ad, email block or post.

The method

How variant tracking
works in GA4.

One tag changes

Every variant shares utm_source, utm_medium and utm_campaign. Only utm_content changes, so the campaign stays whole in reports while each variant gets its own row.

Example

Acme tests two hero images in a newsletter:

  • acme.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale&utm_content=hero_a
  • acme.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale&utm_content=hero_b

Reading the results

In GA4, open Traffic acquisition, filter to the campaign and add Session manual ad content as a secondary dimension. Compare conversions per variant, not just sessions.

FAQ

Fair questions.
Straight answers.

Still unsure? Talk to a human.

Should I use utm_content or utm_campaign for variants?

utm_content. Keeping one campaign name lets you see the campaign total and the per-variant split side by side.

Does this replace an A/B testing tool?

No. It handles tracking. Splitting traffic and calculating significance still need your ad platform, email tool or a testing tool.

How many variants can I create?

As many as you can drive meaningful traffic to. More variants need more traffic to reach a clear result.

How long should a test run?

Long enough to cover a full weekly cycle and collect enough conversions per variant to trust the gap.

Related tools

Keep going.
Three tools that pair well.

Beyond the free tool

Variants as short links,
with clicks counted.

Make a branded short link per variant in linkutm and compare clicks before GA4 even catches up.

Free plan · No credit card · Cancel anytime