Skip to content
Toolcroft

UTM Builder - Campaign URL Builder & QR Code

SEO & Marketing

Build campaign URLs with standard UTMs and GA4 campaign IDs, replace existing tags, preserve query parameters, preview a local QR code, and download as PNG.

Your inputs are saved in this browser only. No data is ever sent to a server, and saved values won't be visible in other browsers or devices.

Campaign URL

Paste a URL containing UTM params to auto-fill the fields below.

Optional; its original case is preserved.

Source, medium, and campaign are recommended for meaningful reporting, but you can generate a URL without them.

Generated URL

Please enter a destination URL.

How to use this tool

  1. Enter the destination URL. Paste the full page URL you want to track.
  2. Fill in the campaign parameters. Source, medium, and campaign name are recommended for meaningful reports. Add an optional campaign ID if your analytics setup uses one.
  3. Enable lowercase. Toggle lowercase to normalise the five standard UTM values; campaign ID keeps its case.
  4. Copy or scan the tagged URL. Copy the URL or download the locally generated QR PNG to scan or print.

What are UTM parameters?

UTM parameters are query-string additions to a URL that your analytics platform uses to identify the source, channel, and campaign behind a visit. The five standard values are optional, but utm_source, utm_medium, and utm_campaign are recommended for meaningful reports. This builder still generates and copies a URL when those fields are blank; analytics may report missing values as “(not set).”

Standard UTM parameters and campaign ID

  • utm_source - Who sent the traffic? Examples: google, newsletter, facebook.
  • utm_medium - What channel? Examples: cpc, email, social, referral.
  • utm_campaign - Which campaign? Examples: spring-sale-2024, brand-awareness-q1.
  • utm_term - (Paid search) Which keyword triggered the ad?
  • utm_content - Which ad or link variant? Useful for A/B testing.
  • utm_id - An optional campaign identifier used by GA4 and external campaign systems. It is trimmed but keeps its original case, even when lowercase normalization is on.

When you paste an already tagged URL and leave the destination field, the builder fills in its existing UTM values. Generating a URL removes and replaces the standard five fields and utm_id, while leaving unrelated query parameters such as product or referral IDs intact. Clearing Campaign ID therefore removes an older utm_id instead of silently keeping it.

Best practices

  • Use consistent case. Analytics platforms can distinguish values such as "Email" and "email." The lowercase switch normalises the five standard values; Campaign ID keeps its original case because an external campaign system may use case-sensitive IDs.
  • Use hyphens, not spaces. Spaces are percent-encoded and make URLs harder to read.
  • Be consistent. Agree on a naming convention within your team (e.g., always use email never e-mail or Email).
  • Don't use UTMs on internal links. Internal UTMs override the original source in session-based analytics, hiding where visitors really came from.

GA4 vs. Universal Analytics differences

In Google Analytics 4, campaign parameters map to reporting dimensions. The utm_id value identifies a campaign or promotion and can connect analytics data to campaign data managed elsewhere. Use the ID from that system and keep its case consistent; this builder preserves the ID's case even when lowercase normalization is enabled. Reporting behavior can depend on the analytics configuration and available campaign data.

Auto-tagging vs. manual UTM

Google Ads uses auto-tagging - the gclid parameter appended automatically to destination URLs - to pass richer data to GA4 than UTM parameters can carry (bid strategy, match type, keyword quality score, etc.). Using both UTMs and auto-tagging on the same Google Ads link can cause double-counting in GA4. Best practice: use auto-tagging for Google Ads traffic, and reserve UTM parameters for all other channels (email, social, display, affiliate).

UTM naming convention

Inconsistent naming is the most common UTM problem in team environments. Recommend establishing a shared convention before your first campaign:

  • Use one consistent case for source, medium, campaign, term, and content. This builder can lowercase those five values, while it preserves the Campaign ID's case.
  • Use hyphens as separators: spring-sale-2025 not spring_sale_2025.
  • Structure utm_campaign as {channel}/{name}/{YYYY-QQ}, e.g. email/spring-sale/2025-Q2.
  • Maintain a central UTM registry spreadsheet shared across the marketing team to prevent duplicate or inconsistent campaign names.

Local QR preview

The QR preview encodes the generated campaign URL in your browser using the site's QR library. It does not send the URL to a QR service, and you can download the image as a PNG for a flyer, event display, or printed handout. The preview appears only for a valid generated URL. Very long URLs may exceed the QR format's capacity; shorten campaign values or the destination URL if the builder reports that it cannot encode one.

Frequently asked questions

What are UTM parameters?

UTM parameters are query-string tags appended to a URL that tell Google Analytics (and other analytics tools) where a click came from. The five standard parameters are utm_source, utm_medium, utm_campaign, utm_term, and utm_content. GA4 also supports utm_id as a campaign identifier.

Which UTM parameters are required?

None are required to make the URL work, and this builder can generate and copy a URL when they are blank. For meaningful reporting, utm_source, utm_medium, and utm_campaign are recommended; missing values may appear as (not set).

Should UTM values be lowercase?

Use a consistent case for source, medium, campaign, term, and content because analytics can treat differently cased values as separate values. The lowercase switch normalises those five fields. Campaign ID (utm_id) is trimmed but keeps its original case.

Does the QR code upload my campaign URL?

No. The QR preview is generated in your browser from the generated campaign URL. You can download the resulting PNG without sending the URL to a QR service.

Will UTM parameters hurt SEO?

UTM parameters have no direct SEO effect. However, if UTM URLs are indexed, they can create duplicate content. Use a canonical tag pointing to the clean URL, and consider adding the UTM patterns to your robots.txt disallow rules for crawlers.

Browse all seo & marketing