Glossary

UTM parameter

Written by
Outseen
Updated

Short answer

A UTM parameter is an addition to a URL, such as utm_source=newsletter, that shows in Google Analytics which source, medium and campaign a visitor came from.

A UTM parameter is an addition to a URL that records where a visitor came from. You add the parameters after the address, following a question mark. Google Analytics 4 reads them and shows them in its traffic source reports. Google advises always using three parameters: utm_source, utm_medium and utm_campaign.

The main parameters

ParameterWhat it indicatesExample
utm_sourceThe sourcenewsletter
utm_mediumThe mediumemail
utm_campaignThe campaignspring-sale
utm_contentWhich link or varianttop-button
utm_termThe paid keywordcity-bike

Google also recommends utm_id and utm_source_platform.

Example

https://www.example.com/offer?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale

Anyone who clicks this link in the newsletter shows up in GA4 with source newsletter and medium email.

Common mistake

Inconsistent spelling. According to Google, the values are case sensitive: Newsletter and newsletter count as two sources. Agree on a spelling in advance. If a parameter is missing, the reports show (not set).

How to group sources in GA4, including traffic from AI assistants, is covered in Tracking traffic from ChatGPT and other AI assistants in Google Analytics 4.

Sources

Read next