Your website's analytics can tell you that a visitor arrived. It usually cannot tell you which of your emails, posts or leaflets sent them. Parameters fix that: they are short labels added to the end of the destination address, which your analytics reads and reports.
A destination with parameters looks like this:
https://example.com/offer?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
The visitor sees a short link. The labels are added on the way, and your analytics files the visit under "newsletter / email / spring_sale".
A parameter template is a saved set of these labels, so you set them up once and pick them from a list.
The five UTM labels
These five names are the ones Google Analytics reads. All are optional here; Google's own advice is to always use the first three together.
| Label | Answers | Examples |
|---|---|---|
utm_source |
Where did the visitor come from? | newsletter, instagram, leaflet |
utm_medium |
What kind of channel was it? | email, social, print, qr |
utm_campaign |
Which promotion was it part of? | spring_sale, new_menu, open_day |
utm_term |
Which search keyword? (paid search adverts) | garden furniture |
utm_content |
Which version or which link in the same message? | top_button, footer_link |
Two habits save a lot of confusion later:
- Always write a value the same way. Capital letters count: "Email" and "email" are reported as two different things.
- Use lower case and no spaces. Use an underscore between words.
Create a template
Open Parameters in the menu and click New Template.
- Template name: your own name for it, such as "Newsletter".
- UTM Parameters: fill in the labels you want. Leave the others empty; an empty one is left out.
- Custom Parameters: any other label your website or analytics uses. Type a Parameter name and a Parameter value and click Add. Example: a name of
refwith a value ofpartner_shop, for a site that tracks partners that way.
A sensible start: one template per place you share links.
| Template | utm_source | utm_medium |
|---|---|---|
| Newsletter | newsletter | |
| social | ||
| Printed leaflet | leaflet |
Leave utm_campaign out of these and add it on the link when you need it, or make a template per promotion.
Use a template on a link
- Shorten a link (or edit one) and open the Parameters tab.
- Under Use parameter template, choose the template.
Three things to know:
- A template replaces parameters typed by hand. If you choose a template, anything you typed in the name and value boxes on that link is ignored.
- The template is copied into the link when you save. Changing or deleting the template later does not change links you have already made. To update a link, edit it and choose the template again.
- Parameters are added at the moment of the click. They never show in the short link itself.
Without a template
On the Parameters tab of a link you can also type a Parameter name and Parameter value directly and click Add. That is the quick way for a one-off link.
Good to know
- If the destination address already has a
?part of its own, the parameters are added after it. - Anything a visitor adds after the short link's own address is passed on to the destination too.
- On a link that uses Deep Linking, parameters are not added when the visitor is sent to the app.
- Parameters only help if the destination is a site whose analytics you can see. Adding them to a link to someone else's site tells them where the visitor came from, not you.
Change or delete a template
Open the template's ⋮ menu: Edit or Delete. Neither changes links you have already made.