Skip to Content
Platform.Ontology

UTM campaign parameters

Tags in the link URL that tell the site which campaign, medium and source sent the person.

Used to track youTracking across apps and sitesBefore the visitWeb browsersBefore you visitWhen the page loads

In one line

Can see which ad, email, or post sent you, from tags in the link

Tags in the link URL that tell the site which campaign, medium and source sent the person.

Lets a site tie a visit to a specific ad, email or post. Five standard keys: utm_source, utm_medium, utm_campaign, utm_term, utm_content. Stored in first-party cookies by analytics tools for the session or longer.

What it can and can't do

What the user does: You tap a link that carries campaign tags, such as an ad or email link

It can

  • See the source, medium, and campaign named in the link
  • Tie your visit to one specific ad, email, or post
  • Keep that tag in its own cookie for the visit or longer
  • Count how many people came from each campaign

It cannot

  • See the tags if the link was copied without them
  • Learn who you are from the tags alone
  • Follow you to other sites with these tags
  • Learn what you did before you clicked

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported12008-12-11Plain URL parameters; any browser
EdgeSupported1Not listedPlain URL parameters; any browser
FirefoxSupported12004-11-09Plain URL parameters; any browser
SafariSupported12003-06-23Plain URL parameters; any browser
Safari on iPhoneSupported12007-06-29Plain URL parameters; any browser
Chrome on AndroidSupported1Not listedPlain URL parameters; any browser
Samsung InternetSupported12013-04-27Plain URL parameters; any browser

How a site asks for it

APIlocation.search / URLSearchParams; server access logs
How access is grantednone
What the user seesNone
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsGA4 campaign data is session scoped by default; first-touch copies often kept in cookies for 30 to 90 days
How to take it backClear site data, browser privacy settings
Inside an iframeNot listed

Data you get

What comes back: Up to 5 key/value text parameters
Shape: object
How often: per landing URL

FieldTypeUnitRangePrecision
utm_sourcestringtextanyn/a
utm_mediumstringtextanyn/a

Technical limits

  • Only as accurate as the link author made them
  • Not stripped by Chrome; Safari and Firefox strip some tracker IDs but leave UTM keys intact
  • Cannot identify the person alone

The story

What it is

Little tags added to a link that tell a site which ad, email or post sent you.

For you

You see them as a long tail on a web address, like utm_source=newsletter. Nothing pops up and the page looks the same. The site just learns which link brought you.

For makers

Marketing teams need to know which email, ad or post paid off. The tags are free, work on any site and need no consent banner on their own. They feed dashboards that decide where the next ad budget goes.

Where you see it

TypeExampleApps
adsA shoe brand tags each ad so its dashboard shows that the Instagram story brought more buyers than the Google search ad.Google Analytics
mediaA newsletter tags each link so the editor sees which headline readers clicked from the Tuesday email.Substack
gamesA browser game studio tags links on Discord, YouTube and Reddit to learn which place brings players who stay past day one.None named
socialA creator adds tags to the link in a bio so a brand can see exactly how many followers visited.None named
shoppingA Black Friday email carries a campaign tag, so the shop ties each order to that email.Shopify
securityA fraud team spots a campaign tag that suddenly brings thousands of fake sign-ups and cuts that source off.None named
analyticsA product team joins the tags with sign-up data to learn which channel brings paying customers.Mixpanel, Amplitude

Risks

  • Links reveal where you came from
  • Tags can be shared when you copy the link

What the platform says

  • Google: Campaign URL builder. Google Analytics shows how to add source, medium and campaign tags to links so you can see what drives visits.

Good uses and abuse

Legitimate uses

  • Campaign ROI
  • A/B channel analysis

Known abuse

  • Appending personal data (email, IDs) to links shared widely

Scores

ScoreValueMeaning
Sensitivity2 of 5How revealing the data is
Utility5 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits0Rough identifying entropy, when known

History

  • 2022-06, Firefox 102: Query Parameter Stripping added for known tracking parameters; UTM keys are not on the strip list

Sources

How well checked: Based on official documentation.

On this page