Glossary Term

Campaign URL Builder

glossary campaign url builder featured

A campaign URL builder is a tool that appends UTM parameters to a destination URL so analytics platforms can attribute the resulting traffic to a specific source, medium, and campaign. The name usually refers to Google’s Campaign URL Builder, a free tool hosted on Google’s developer site that turns form inputs into a tagged link. Marketers use it to produce campaign URLs that Google Analytics 4 can read without manual string editing.

Why the Campaign URL Builder Matters

Untagged links land in GA4 as direct traffic or referral traffic, which hides which campaign earned the visit. A campaign URL builder solves that by writing the parameters in the exact format GA4 parses.

Manual tagging fails on small details. A missing &, a capital letter, or a space breaks attribution or splits one campaign across several rows in reports. The builder handles the punctuation, so the only thing left to get right is the values themselves.

It also standardizes output. Every link the tool generates uses the same parameter order and the same separators, which makes campaign URLs easy to scan and easy to diff when something looks wrong in GA4.

Campaign URL Builder Fields

The Google Campaign URL Builder has seven fields. Only three produce a link that GA4 can attribute.

Field UTM parameter Required What to enter
Website URL none Yes The full landing page, starting with https://
Campaign ID utm_id No A short code shared across one campaign’s links
Campaign source utm_source Yes The platform sending traffic: newsletter, facebook
Campaign medium utm_medium Yes The channel type: email, social, cpc
Campaign name utm_campaign Yes The promotion: spring_sale_2026
Campaign term utm_term No Paid keywords only
Campaign content utm_content No Distinguishes two links: header_cta vs footer_cta

Campaign ID is the newest field and the one most marketers skip. It exists so GA4 can group activity from email, paid search, and social under a single campaign, and so imported cost data can match the right links. Leaving it blank is fine for most campaigns.

Which Version of the Google Campaign URL Builder to Use

Four builders exist on Google’s developer site, and they produce different links. Use the GA4 web version for any normal website link.

  • GA4 (web). The current builder at ga-dev-tools.google. Includes the Campaign ID field.
  • iOS. Builds App Store campaign links, not website links.
  • Play. Builds Google Play Store campaign links.
  • Universal Analytics (legacy). The old builder, still reachable from bookmarks. Universal Analytics stopped processing data in July 2023. The tags it writes still work, but it hides the Campaign ID field.

Check the address bar. If the path does not contain ga4/, the page is the legacy version.

How to Build a Campaign URL

  1. Paste the destination URL into the Website URL field, including https://.
  2. Enter the campaign source, the platform a visitor is coming from.
  3. Enter the campaign medium, using a value GA4 recognizes as a channel: email, social, cpc, organic, referral, or affiliate.
  4. Enter the campaign name.
  5. Add campaign term or campaign content only if the campaign needs them.
  6. Copy the generated URL from the output box.

The result looks like this:

https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026

Use underscores instead of spaces in every value. A space is encoded as %20, which still resolves but makes the link harder to read and easier to mistype.

What the Google Campaign URL Builder Cannot Do

The tool builds links. It does not manage them, and that gap causes most of the problems people run into.

  • No history. Closing the tab discards every link built in that session. Nothing is saved.
  • No validation. Typing Facebook in one link and facebook in the next produces two separate sources in GA4. The builder does not warn about the mismatch.
  • No duplicate detection. It has no connection to a Google Analytics property, so it cannot see campaign names already in use.
  • No working shortener for most users. The “convert URL to short link” option depends on a connected Bitly account and does nothing without one.
  • No bulk mode. Each link requires filling the form again.

For the specific errors this tool produces and how to fix them, see the Google Analytics Campaign URL Builder help guide.

Frequently Asked Questions

What is a campaign URL builder?

A campaign URL builder is a form that takes a destination URL plus campaign details and outputs a single tagged link. The tags, called UTM parameters, tell Google Analytics which source, channel, and campaign sent each visitor. The tool exists so marketers do not have to write query strings by hand.

Is the Google Campaign URL Builder free?

Yes. Google’s Campaign URL Builder is free and requires no account, no login, and no Google Analytics property. It runs entirely in the browser on Google’s developer tools site. The generated link works with any analytics platform that reads UTM parameters, not just GA4.

Where is the Campaign URL Builder in Google Analytics?

It is not in Google Analytics. There is no link-building screen inside the GA4 interface. The builder is a separate tool hosted at ga-dev-tools.google, on a different domain with no connection to a property. GA4 only reads the parameters after someone clicks a tagged link.

Is a campaign URL builder the same as a UTM URL builder?

Yes, the terms describe the same function. “Campaign URL builder” is Google’s naming, and “UTM URL builder” is the more common industry phrasing. Both refer to a tool that appends utm_source, utm_medium, utm_campaign, and the optional parameters to a URL.

Which fields are required in the Campaign URL Builder?

Three: campaign source, campaign medium, and campaign name. Without all three, GA4 cannot file the traffic into a channel and often reports it as unassigned. Campaign ID, term, and content are optional and can be left blank.

To build tagged campaign links with saved history, naming rules, and click data, use the free campaign URL builder at linkutm.