SEO GENERATORS
UTM Builder — Free Campaign URL Generator
Add UTM parameters — source, medium, campaign, term, and content — to any URL for campaign tracking in Google Analytics. Runs in your browser, free.
Tus archivos nunca salen de tu dispositivo.
Updated
A UTM generator (also called a UTM tag builder or campaign URL builder) adds utm_source, utm_medium, utm_campaign and optional term and content tags to a link so analytics can report where each click came from. Google Analytics 4 sorts traffic into channels using source and medium, so the words you choose decide how a visit is counted. Fill in the fields and this tool appends the tags, URL-encoded, to your link.
What UTM parameters should I use for Facebook ads?
Use utm_source=facebook for the platform and a paid-style medium such as utm_medium=paid_social, then name the campaign. For example: https://example.com/sale?utm_source=facebook&utm_medium=paid_social&utm_campaign=summer_sale.
The medium matters more than it looks. For manually tagged links, Google's default GA4 channel group counts a social-site source as Paid Social only when the medium matches ^(.*cp.*|ppc|retargeting|paid.*)$, so values like paid_social, cpc and paid-social match, but plain social does not. Keep the same values for every Facebook campaign so reports stay consistent.
What are the five UTM parameters?
| Parameter | Required? | Answers |
|---|---|---|
| utm_source | Yes | Where — newsletter, google, facebook |
| utm_medium | Yes | How — email, cpc, paid_social, social |
| utm_campaign | Yes | Which promotion — summer_sale |
| utm_term | Optional | Paid keyword — running shoes |
| utm_content | Optional | Which link/variant — header_button |
What does a tagged URL look like?
Take this campaign link and see what each piece does:
https://example.com/sale ← the destination (base URL)
?utm_source=newsletter ← where the traffic comes from
&utm_medium=email ← the channel type
&utm_campaign=summer_sale ← the promotion name
&utm_content=header_button ← optional: which link, for A/B testing
&utm_term=running+shoes ← optional: paid-search keyword
How to use it
- Paste your landing page URL, including https://, into the base URL field.
- Set the source to facebook and the medium to paid_social for ads (or social for ordinary organic posts), then name the campaign in lowercase, for example summer_sale.
- Copy the generated link and paste it into the ad's website URL field in Ads Manager.
- Click the live ad once and check Reports > Acquisition in GA4 to confirm the visit is grouped as you expect.
Frequently asked questions
- How do I add UTM tags to a Facebook link?
- Enter your page URL in this generator, set the source to facebook, the medium to paid_social for ads (social for organic posts) and a campaign name, then copy the result into the ad's website URL field. Add tags only to links you control that point to your own site.
- Is a UTM tag the same as a Google tag?
- No. UTM tags are query parameters on a link that label where a click came from. The Google tag (gtag.js) is the script on your site that sends data to Google Analytics. A UTM generator or tag builder only produces the link; your analytics setup still has to be installed.
- Why is my Facebook ad traffic showing as Organic Social in GA4?
- Most likely the link was tagged with utm_medium=social (or no paid-style medium). Under Google's default GA4 channel group, a social source is Paid Social only when the medium matches ^(.*cp.*|ppc|retargeting|paid.*)$; otherwise it falls to Organic Social. Re-tag the ad with a medium such as paid_social or cpc and new clicks are grouped as paid.
- Why does capitalisation matter so much?
- Analytics treats UTM values as exact, case-sensitive strings, so 'Facebook', 'facebook', and 'FB' become three separate sources that split your data across three rows. Agree on a lowercase, consistent naming convention so campaign traffic rolls up cleanly.
- Should I tag internal links on my own site?
- No — a common mistake. Tagging internal links can overwrite the original source attribution and start a new session, corrupting reports. Use UTMs only on inbound links from outside your site: emails, ads, other domains.
- Do UTMs hurt SEO or create duplicate content?
- Generally no. Search engines recognise UTM parameters and typically treat the clean URL as canonical, especially with a proper canonical tag. They're a tracking convention, not a ranking factor.
- Is my link uploaded?
- No. The tagged URL is assembled from your inputs in the browser, so you can build links for unlaunched campaigns privately.