What UTM parameters do
UTM parameters are short tracking tags added to the end of a link. Each tag is a name and a value, like ?utm_source=newsletter&utm_medium=email. When someone clicks the link, Google Analytics and other analytics tools such as Matomo and Plausible read the tags and file the visit under that source, medium and campaign. Without them, a click that arrives without referrer information, for example from a desktop email app or a PDF, shows up as "direct" traffic, and you cannot tell which campaign worked.
The UTM parameters
| Parameter | What it describes |
|---|---|
| utm_sourceRequired | Where the traffic comes from: google, newsletter, linkedin. |
| utm_mediumRecommended | The type of channel: cpc, email, social, paid_social. |
| utm_campaignRecommended | The campaign name: spring_sale, product_launch. |
| utm_termOptional | The paid keyword, mostly for search ads. |
| utm_contentOptional | Which ad or link was clicked, to compare variants. |
| utm_idOptional | A campaign ID that matches campaign and cost data you import into GA4. |
Naming rules that keep reports clean
- Use lowercase everywhere. GA4 is case sensitive, so "Email" and "email" become two rows; the case converter fixes a list in one go.
- Pick one separator. Underscores or hyphens instead of spaces, and the same one for every campaign.
- Use standard mediums. GA4 sorts traffic into channels by source and medium. cpc, email, social, paid_social, display, affiliate and referral are recognized; made-up values can end up as "Unassigned".
- Write it down. Keep a shared list of the sources and campaign names your team uses. The "Add to list" button collects the links you build here so you can copy them in one go.
Tag many links at once
Switch to Bulk links to tag a whole list. Paste one link per line to give them all the same source, medium and campaign from the fields. Or paste CSV rows, for example from a spreadsheet, with the columns url, source, medium, campaign, term and content in that order. A header row is optional, and with one the columns can come in any order. An empty cell uses the field of the same name, so you can set the campaign once and vary only the content. Put a link that contains a comma in quotes. The table shows each tagged link and any row with a problem. Copy all links in one go, or download a CSV file with the original link, each UTM value and the tagged link. Cells that start with =, +, - or @ get a leading apostrophe in the file, so a spreadsheet does not run them as a formula.
How to use the UTM builder
- 1Paste the page you want to send people to.
- 2Pick a quick-fill preset or enter the source, medium and campaign yourself. Add content or term to tell ads or links apart.
- 3Copy the link, test it, or turn it into a QR code for print. Add several variants to the list and copy them together.
Google Analytics is a trademark of Google LLC. Freebiefy is not affiliated with or endorsed by Google.
Guide on this topic
Frequently asked questions
Which UTM parameters are required?
Google says to always use utm_source, utm_medium and utm_campaign, and a missing parameter shows up as "(not set)" in your reports. The builder needs at least a source. Without a medium, GA4 cannot put the traffic into the right channel. utm_term and utm_content are optional.
Are UTM parameters case sensitive?
Yes. Google Analytics treats parameter values as case sensitive, so "Facebook" and "facebook" count as two different sources, which splits your reports. That is why the builder writes everything in lowercase by default.
What should I use as utm_medium?
Use the values GA4 knows from its default channel grouping, such as cpc for paid search, paid_social or social, email, display, affiliate and referral. Other values can land in the "Unassigned" channel unless the source alone points to a channel, such as a known social network. The builder warns you when a medium is not recognized.
Should I add UTM tags to internal links?
No. UTM tags tell Analytics where a visit came from, so a tag on a link within your own site credits the click to your own campaign instead of the ad, email or search that brought the visitor. Use them only on links that point to your site from somewhere else.
Can I build UTM links in bulk?
Yes. Switch to Bulk links and paste up to 1,000 links, one per line, or CSV rows with url, source, medium, campaign, term and content. Empty cells use the fields on the page. You can copy all tagged links or download them as a CSV file.
Is my link sent anywhere?
No. The link is built in your browser. Nothing is stored or shortened on a server.