UTM Parameters: Source, Medium and Campaign Examples
Learn utm_source, utm_medium and utm_campaign with social, email and ad examples. Build consistent tracking links and avoid common tagging mistakes.
Build a campaign link sheet for several landing pages
Fill in the shared source, medium, campaign and optional tags, then open Build multiple campaign links at once. Paste one destination per line, up to 100 URLs and 200,000 characters. Empty lines are skipped.
Try https://example.com/a?sku=1#details and https://example.com/b with newsletter, email and summer. Both receive the campaign tags; the first keeps sku=1 and #details. Invalid URL syntax is reported per line rather than mixed into the copyable links.
Copy valid links or download the results CSV. Editing shared tags or the list clears the old results; build again before exporting. The tool does not visit destinations, import CSV or support per-row tag overrides.
When to add a campaign ID with utm_id
Use the optional Campaign ID field when you need an identifier separate from the campaign name. For example, campaign_27 adds utm_id=campaign_27 to the result. Leaving the field empty and building again removes an existing utm_id from the destination URL.
Google Analytics can use a campaign ID when joining campaign data. This builder only creates a link; it does not connect Analytics, import cost data or collect visits. Configure your analytics and use consistent identifiers in the data you intend to join.
What is a UTM builder?
A UTM builder takes a destination URL and adds campaign labels to create a trackable link. You enter where the link will be shared and what campaign it belongs to; the builder puts those values into the URL. It does not install analytics or count visits on its own.
The main labels are utm_source for the traffic source, utm_medium for the channel and utm_campaign for the campaign name. A compatible analytics tool on the destination site must record visits before those labels can appear in reports. For example, a shared social link might use source=instagram and medium=social. Keep names consistent across your team so reports do not split one source into several spellings.
Keep the existing URL intact
A campaign link may already have query parameters or a fragment after #. The builder keeps unrelated parameters and the fragment. It replaces source, medium and campaign with your inputs, and removes old ID, term or content tags when those optional fields are empty.
Open the completed URL and verify the destination. UTM values are visible to anyone with the link, so leave out personal data or private notes.
Use labels, then verify the report
Adding UTM fields does not install analytics or guarantee attribution. Check the destination’s analytics setup and verify a test visit before relying on campaign reporting.
Building a link in the UTM Builder
Open the UTM Builder and type the full address into “Destination URL”; it must start with http:// or https://. Then fill in “utm_source”, “utm_medium” and “utm_campaign”. All three are required. “utm_term (optional)” and “utm_content (optional)” can stay empty, and empty fields are left out of the link. Spaces at the start or end of a value are removed.
Press “Build UTM link”. The finished address and tag breakdown appear under “Your campaign tracking link”. Use “Copy link” to copy it or “Open link to test” to visit the address in a new tab. If you edit any field afterwards, the old result is hidden and you need to build the link again. If something is missing, the page says “Enter source, medium and campaign.” or “Enter a valid http or https destination URL.”
Opening the link visits the real destination, and if that site runs analytics, your test visit may be recorded too. Keep that in mind when you read the first numbers.
Reading a finished link
Say the destination is https://example.com/page and you enter instagram, social and autumn_sale. This is an invented example. The result is https://example.com/page?utm_source=instagram&utm_medium=social&utm_campaign=autumn_sale. Everything after the question mark is the query string. The parameters appear as name=value pairs separated by &. Their order does not change the campaign labels.
With a destination of https://example.com/page?id=7#reviews, the result keeps id=7, adds the UTM pairs after it and leaves #reviews at the very end: https://example.com/page?id=7&utm_source=instagram&utm_medium=social&utm_campaign=autumn_sale#reviews.
Because the browser rebuilds the query string, some characters can be written differently from how you typed them. A space inside a value appears as +, accented or non-Latin letters appear as percent codes, and a bare address such as https://example.com gains a slash before the question mark. These changes are normal for a browser-built address, and they are one more reason to open the finished link and confirm it lands on the right page.
Mistakes and how to avoid them
These mistakes quietly split or distort your campaign reports.
- Spelling the same thing several ways. If one teammate writes Instagram, another instagram and a third insta, your reports can end up with three rows for one source. Agree on lowercase with underscores instead of spaces, and write the rule down.
- Forgetting the scheme. An address without http:// or https:// is rejected. Copy the full address from the browser’s address bar instead of retyping it.
- Reusing old campaign tags without checking them. This builder replaces source, medium and campaign, and removes an old term or content value when its field is empty. Review the tag breakdown before copying the link.
- Tagging links inside your own site. A UTM link meant for someone already browsing your pages can interfere with how some analytics tools record where that visit started. Use UTM values on links that bring people in from outside, and check your analytics tool’s documentation for its rules.
- Putting private information in a value. Everyone who has the link can read it, and it may be saved in logs, browser history and reports. Use short neutral labels, not names, email addresses or internal notes.
A naming scheme you can copy
A scheme only needs a few rules. One workable pattern: source is the channel in lowercase (instagram, newsletter), medium is how the link is delivered (social, email), and campaign is the promotion plus the year (autumn_sale_2026). These are suggestions for consistency, not names required by any analytics tool.
Keep the list in a document your whole team can see, and add a name there before you use it in a link. To tell apart two links in the same campaign, use “utm_content (optional)” for the position, such as header_button or post_link.
When a UTM link is the wrong tool
A UTM link only helps if the destination records it. If the destination has no analytics tool, or one that is not set up to read UTM values, nothing will appear in a report. The same goes for pages run by someone else, where you cannot check the setup.
Long addresses are awkward in print or anywhere people must type them. For a flyer, the QR Code Generator on this site can turn the finished link into a PNG or SVG code. Scan the preview with a phone before printing, and remember that anything encoded in a public QR code is visible to whoever scans it.
Related guides
Tools to use alongside
- Free QR Code Generator — Make a URL, text or Wi-Fi QR code and download PNG or SVG.
- ROAS Calculator — Find ROAS, revenue or ad spend from the two values you know.