URL parameters generator guide
A URL parameters generator adds a query string to a link you already have. The page address stays the same. The parameters tell Google Analytics 4 which campaign sent the visit. This guide is the naming rules. The form that builds the link is the URL builder online.
The five parameters, and which ones you actually need
GA4 reads five standard keys. Three of them are the campaign. Two are optional detail.
| Key | Required in practice | Example | Rule |
|---|---|---|---|
| utm_source | Yes | youtube | Where the click happened. One spelling forever. |
| utm_medium | Yes | description | The format: description, bio, email, cpc, qr, social. |
| utm_campaign | Yes | shorts_launch_2026_11 | The effort, shared by every link in that effort. |
| utm_content | No | pinned_comment | Which creative, when two links share a campaign. |
| utm_term | No | youtube shorts size | The paid keyword. Leave it empty on organic posts. |
One campaign, three unique URLs
Landing page: https://socialkit.tools/tools/youtube-shorts-size-calculator.html
- YouTube description: add
utm_source=youtube&utm_medium=description&utm_campaign=shorts_launch_2026_11&utm_content=description - The pinned comment on the same video: same source, medium and campaign,
utm_content=pinned_comment. That is what makes the second link unique. - The Instagram bio that week:
utm_source=instagram&utm_medium=bioand the same campaign. Source changes because the site changed. Campaign stays, so the launch still adds up.
A unique URL builder, in this sense, does not generate a random code. If you randomise the campaign name on every post, you cannot add the month up later. Uniqueness belongs in utm_content when the posts differ, and in utm_source when the platform differs.
Custom URL builder versus a preset
A preset that fills “instagram / social” is a custom URL builder with the first two boxes done for you. Overwrite them. “social” is a vague medium: a bio, a story and a paid ad will be stuck in one row. Prefer bio, story, description or cpc. Write a one-page list of allowed sources and mediums and refuse new spellings in the sheet. That list is the governance. The builder will not enforce it, because your account’s history is not visible to a public form.
Lower case, hyphens, and the spreadsheet
GA4 is case-sensitive. YouTube, youtube and YT are three sources. Pick lowercase. Use underscores or hyphens inside a value, never spaces. Spaces become %20 and create a second spelling.
Keep a sheet with columns: date, owner, landing URL, source, medium, campaign, content, final URL. Build the final URL in the GA UTM generator, paste it into the sheet, and reuse the row next time instead of retyping. The sheet is what stops a new teammate inventing ig when the account already uses instagram.
What a URL parameters generator is not
- It is not a permalink. The path of the page is a slug. Make that in the slug generator and leave it alone for years.
- It is not a short link. A long query string is ugly in a bio. Shorten the finished URL with the URL shortener if you need a short string. Put the parameters on the destination, not instead of a destination.
- It is not for menus inside your own site. An internal UTM overwrites the real source of the session. The visitor who came from Google becomes a visitor who came from your homepage.
- It is not Google’s Campaign URL Builder, and it does not have to be. The keys are the same. This site adds presets and a path to a QR code.
A campaign URL generator checklist
- Open the real landing page and copy it with no existing query string, or keep the parameters that are already there (a product variant, for example).
- Fill source, medium and campaign in lowercase.
- Add content only when two links would otherwise be identical.
- Leave term empty unless the click is from a paid keyword.
- Paste the result into the sheet, then into the post.
- The next day, look at GA4 acquisition by session campaign. If the campaign is missing, the link that was actually posted is not the link you built.
Method
SocialKit’s URL builder concatenates these keys in the browser and encodes the values. It does not call Google, it does not create a GA4 property, and it does not know which spellings you used last year. The guide’s examples use a public tool URL so you can see every key. Replace the landing page with your own before you publish. Parameter names and the GA4 session dimensions they feed are Google’s. The examples and the naming rules on this page are ours.
URL parameters FAQ
Which parameters does a GA4 URL builder need?
utm_source, utm_medium and utm_campaign. Content and term are optional.
Do UTM parameters hurt SEO?
No, on links that live on other sites, in email, or on a printed QR code. Yes, if you add them to internal links, because you erase the original source.
Should a unique URL include a random id?
Not for analytics. Use a stable campaign and a content value that names the creative. Random ids cannot be summed.
Where do I build the link?
On the URL builder online. This guide is the naming. That page is the form.