UTM link builder

Make it clear in GA4 where your email, social media and partner links come from. Fill in the fields; the tagged link is ready below.

The numbers you enter stay in your browser; they are not sent or stored anywhere.

Result

The link is ready. Open it once before you share it and check that the page loads.

Formula

  • tagged link = page address ? utm_source=source & utm_medium=medium & utm_campaign=campaign
  • optional: & utm_term=keyword & utm_content=content

If the address already has a query, the parameters are added with & instead of ?; the part starting with # stays last. Spaces and non-English characters are encoded to suit an address.

Worked example

For a spring sale you link from your email newsletter to https://www.example.com/offer/. The source is newsletter, the medium email, the campaign spring-sale.

The result: https://www.example.com/offer/?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale. GA4 records the visit as newsletter / email and shows it in the campaign report under the name spring-sale.

How to read the result

  • GA4 reads these values as case-sensitive: Email and email become two separate rows. Always use lower case and hyphens instead of spaces, and keep the names in one table shared by the team.
  • Use UTM only on links that come to your site from outside. If you add it to links within your own site, the real source of the visit can be lost in the reports.
  • With auto-tagging switched on in Google Ads, clicks are measured already; UTM helps most on email, social media posts, QR codes and partner links.
  • The parameters are visible to everyone in the address bar; never put personal data or an email address in them.

Questions

The questions that come up most about this calculation. If yours is not here, write to us and we will answer within one working day.

What is a UTM parameter?

UTM parameters are short tags added to the end of a link that tell your analytics tool where the visit came from. The three used most are utm_source, utm_medium and utm_campaign. Google Analytics reads these values and records the visit against that source and campaign.

What is the difference between utm_source and utm_medium?

utm_source names where the visit came from: newsletter, instagram or the name of a partner, for instance. utm_medium says what kind of channel it is: email, social or cpc. Writing medium values consistently matters, because GA4 looks at this value when it sorts traffic into channel groups.

Do UTM parameters harm SEO?

On a site that is set up properly, they do not. When the page’s canonical tag points to the address without parameters, search engines usually fold the tagged version into the main address. Even so, do not use UTM links in your site’s own menus or in the sitemap.

Related guides

Tell us about
your project.

Fill in the form or write to us directly, and we will agree on a day to talk.

Your first meeting is with Deniz Sezer, founder of Detmore.

First meeting free · Reply within one working day · Written proposal in 2 to 3 days · NDA ready

What do you need? pick as many as you like

Name, email and phone are required.

Contact

We reply within one working day.