How to use the UTM Link Builder
- 1Paste the page URL you want to promote.
- 2Pick a preset (Facebook, Instagram, YouTube, email) or fill in source, medium and campaign.
- 3Copy the tagged link or download its QR code.
- 4Find earlier links in the saved history below the form.
What is a UTM builder?
A UTM builder adds tracking parameters to a link so analytics tools can tell where your visitors came from. This tool takes your page URL plus a source, medium and campaign name, adds them as utm_ parameters, forces lowercase so your reports stay tidy, makes a QR code of the final link and saves your recent links in your browser.
For example, a link you post on Instagram becomes:
https://example.com/sale/?utm_source=instagram&utm_medium=social&utm_campaign=eid_sale
When someone clicks it, Google Analytics, Matomo or a similar tool records the visit as coming from Instagram, social, for the Eid sale campaign.
What do the UTM parameters mean?
UTM stands for Urchin Tracking Module, named after Urchin, the analytics company Google bought in 2005 that became Google Analytics. The parameters are:
| Parameter | Question it answers | Example |
|---|---|---|
utm_source | Which site or sender? | facebook, newsletter, google |
utm_medium | What type of channel? | social, email, cpc, video |
utm_campaign | Which promotion? | eid_sale_2026 |
utm_id | Campaign ID | spring_01 |
utm_term | Which paid keyword? | running+shoes |
utm_content | Which ad or link version? | banner_a, footer_link |
Google's URL builder documentation lists these parameters. GA4 groups traffic into default channels partly by utm_medium, so consistent values like social, email and cpc put your visits in the right channel report.
Why does lowercase matter?
Analytics treats each different spelling as a different value. Facebook, facebook and FB show up as three sources, splitting your numbers. This builder lowercases everything by default and replaces spaces with underscores, because spaces become %20 or + in URLs and are easy to mistype.
Worked example
A clothing shop in Faisalabad promotes its winter sale on three channels. Using the presets and the campaign name winter_sale_2026:
| Channel | Final link |
|---|---|
…/winter/?utm_source=facebook&utm_medium=social&utm_campaign=winter_sale_2026 | |
…/winter/?utm_source=newsletter&utm_medium=email&utm_campaign=winter_sale_2026 | |
…/winter/?utm_source=whatsapp&utm_medium=messaging&utm_campaign=winter_sale_2026 |
For the shop window poster, they download the QR code PNG. Adding utm_content=poster tells them how many visits came from people scanning the poster rather than clicking online. If the page URL already has parameters, such as ?size=m, the builder keeps them and adds the UTMs after.
Tips
- Write down a naming plan and stick to it. Decide once that email is always
email, note-mailornewsletter. - Never tag internal links. A UTM on a link from your homepage to your shop can start a new session and wipe out the real source.
- Shorten for print. Long tagged links are hard to type. Use the QR code, or make bigger, branded QR codes with the QR Code Generator.
- Check social previews. Tagged links still use your page's Open Graph tags; set them with the Open Graph Generator.
- Decode messy links with the URL Encoder & Decoder, which lists every parameter in a table.
How do I read UTM data in Google Analytics?
In GA4, open Reports, then Acquisition, then Traffic acquisition. Change the primary dimension to Session source / medium or Session campaign to see your tagged links side by side. Data usually appears within a day. If a campaign is missing, check that the link was copied in full and that nothing between the click and your page, such as a redirect, dropped the query string.
Limitations
The builder does not track anything itself. It only creates links; your analytics tool does the measuring. UTMs are visible to visitors and can be copied or removed, and some apps strip tracking parameters. Saved history lives only in this browser and disappears if you clear site data. The QR code is generated on your device with an open-source library; test-scan it before printing.
Frequently asked questions
Which UTM parameters are required?
Google Analytics needs at least utm_source to attribute traffic, and in practice you should always set utm_source, utm_medium and utm_campaign.
Why force lowercase?
Analytics treats Facebook and facebook as different sources, which splits your reports. Lowercase keeps values consistent.
Should I use UTMs on internal links?
No. UTM tags on links within your own site can start a new session and overwrite the original source.
Are my links stored online?
No. History is kept in your browser’s local storage only. Clear it at any time.
Last updated: . Written and tested by Abdul Moid Khan, ATechCraft. Read how we build and test tools.