Why you need them
Analytics often can't tell where a visitor came from. Clicks in newsletters, in the Instagram app, in text messages and in PDFs often end up as Direct, which means unknown. With UTM parameters on the link, your analytics knows exactly which email, post or ad brought the visit.
- 1. You add labels to the link before you share it.
- 2. Someone clicks the link in your newsletter.
- 3. Your analytics shows the visit under the right campaign.
What a finished link looks like
Here is a link to a sale that you send in a newsletter. The start is a normal address. After the question mark come the labels, separated by &.
https://yourshop.com/saleThe page the visitor lands on. Just like a normal link.utm_source=newsletterSource: where the link was. Here, your newsletter.utm_medium=emailMedium: what kind of link it was. Here, email.utm_campaign=black-fridayCampaign: what you are promoting. Here, Black Friday.
The visitor sees the same page as always. The labels do nothing on the page; only your analytics reads them.
The five parameters
The first three are always needed. Use the last two when you want to know more.
| Parameter | Answers | Example |
|---|---|---|
utm_source | Where was the link? | newsletter, facebook, google |
utm_medium | What kind of link was it? | email, social, cpc (paid ad) |
utm_campaign | What are you promoting? | black-friday, spring-sale-2027 |
utm_content | Which of several links? | top-button, image-2 |
utm_term | Which search word? Mostly for search ads. | running-shoes |
Ready-made examples for common channels
Use the same words every time. Then everything from one channel lands on the same row in your report.
| Where you share the link | utm_source | utm_medium |
|---|---|---|
| Newsletter | newsletter | email |
| Instagram post | instagram | social |
| Facebook ad | facebook | cpc |
| Google ad | google | cpc |
| Text message | sms | sms |
| Link from a partner | partner-name | referral |
Five rules for clean reports
- Always set source, medium and campaign. If one is missing, the report is only half there.
- Write in lowercase. Otherwise
Facebookandfacebookbecome two different rows. - Use hyphens instead of spaces, and skip accents and special letters:
spring-sale, notspring sale. - Stick to a few mediums:
email,social,cpcandreferral. Google Analytics puts other words under Unassigned. - Never add labels to links between your own pages. That overwrites the real source, and the visitor looks like they came from you.
Common mistakes and how they look when right
| Wrong | Right | Why |
|---|---|---|
utm_source=Facebook | utm_source=facebook | A capital letter becomes its own row. |
utm_campaign=spring sale | utm_campaign=spring-sale | Spaces turn into odd characters in the link. |
utm_soruce=facebook | utm_source=facebook | A misspelled parameter is not read at all. |
/sale#offer?utm_source=… | /sale?utm_source=…#offer | Analytics can't see anything after a #. |
utm_content=anna@example.com | utm_content=top-button | An email address is personal data and ends up in every report. |
The link check in the UTM builder finds all of these mistakes in a link you already have.
Make a link in a minute
- Open the UTM builder.
- Pick where the link will be shared, like a newsletter or a post. Source and medium are filled in for you.
- Type a campaign name, like
black-friday. - Type which page the link should open.
- Copy the link and use it where you share.
Where you see the results
In Okidoki, open Campaigns. Every campaign is listed with visitors, goals and sales, in plain words. Click a campaign to see which link or ad did best. The short explanation is in the glossary.