Analytics guide

How should an online shop name its UTM parameters?.

Three parameters on every link, a naming scheme, and no mixed case.

The short answer

A UTM parameter is a tag on a link that tells analytics where the visit came from. Use utm_source, utm_medium and utm_campaign on every link you send, and keep the values lowercase, consistent and one per channel.12

Starting point
3parameters to always use: utm_source, utm_medium, utm_campaign1
2required by Klaviyo for its own links: utm_source and utm_medium3

Google's URL builder adds the parameters to a link for you. You choose the values, so write the rules down.

What each parameter means

  • utm_source: where the traffic comes from, such as a newsletter name or a platform.1
  • utm_medium: the channel, such as email, sms or cpc.1
  • utm_campaign: the campaign or promotion, such as the sale name.1
  • utm_content: which version of a creative was clicked, when two links in one email differ.1
Diagram of one tagged shop link with three cards: utm_source, utm_medium and utm_campaign, each with its meaning and an example value.
The three parameters on one link, with the example values used in the naming example below.

See where your website loses revenue.

Get a free Traffic Scan →

UTMs in Klaviyo messages

Klaviyo requires utm_source and utm_medium for messages with UTM tracking on. If you send through several channels, set utm_medium to the message type, so email, SMS, WhatsApp and push separate in reports.3

Klaviyo's message conversion tracking can differ from Google Analytics totals, because the two use different events and attribution windows. Expect a gap and explain it.4

A naming scheme that holds

Write the scheme down once, and use it everywhere. Use one source per platform, one medium per channel and one campaign name that matches the campaign exactly. Keep everything lowercase, because GA4 treats Spring_Sale and spring_sale as different values.2

Example

A summer sale newsletter uses utm_source=summer-mailer, utm_medium=email and utm_campaign=summer-sale. The same sale on Instagram uses utm_source=insta, utm_medium=paid_social and the same campaign name.2

Table of UTM values for a newsletter and an Instagram post: source and medium change, while the campaign name stays summer-sale.
The same sale tagged in two channels: the source and medium change, the campaign name does not.

Common mistakes

  • Mixed case: Meta and meta become two sources.2
  • One campaign under several names: the report splits one effort into several rows.2
  • UTMs on internal links: they overwrite the real source of the visit.

Discover your website’s 3 biggest gaps for free.

Get a free Traffic Scan →

Frequently asked questions

Which UTM parameters should every link use?
utm_source, utm_medium and utm_campaign. Google advises always using these three.
Does Klaviyo add UTMs to my links?
It adds them to messages when UTM tracking is on, and it requires utm_source and utm_medium.
Why do Klaviyo and GA4 show different numbers?
They use different events, attribution windows and models. Klaviyo's guidance says to expect a gap.
When should you use utm_content?
Only when two links in one email differ, so you can see which version of the creative was clicked.
Should you add UTMs to internal links?
No. A UTM on an internal link overwrites the real source of the visit. Tag only the links you send out, such as emails and ads.

Sources

  1. Google Analytics Help, URL builders: Collect campaign data with custom URLs: the utm parameters and the best practices for values.
  2. Google Analytics Help, URL builders: best practices section: lowercase, one source per platform, one name per campaign.
  3. Klaviyo Help Center, Understanding UTM tracking in Klaviyo: the required parameters and utm_medium set to message type.
  4. Klaviyo Help Center, Understanding message conversion tracking: why Klaviyo and Google Analytics totals differ.