Skip to content

Analytics

UTM parameters: tag your links so Google Analytics knows where visits came from.

UTM parameters are tags added to a link so Google Analytics can tell which campaign sent a visit. Google says to always use utm_source, utm_medium and utm_campaign, strongly recommends utm_id and utm_source_platform, and notes that values are case sensitive, so pick lower case and keep to one naming convention.

By The Drivix team · Published · 7 min read

Free toolUTM builderTag your campaign links so Google Analytics shows exactly which ad, email or post sent each visitor. Build one link or many, with a QR code for print.
Open the UTM builder

What UTM parameters do

When someone clicks a link with UTM tags, Google Analytics reads the tags and files the visit under that source, medium and campaign. Without them, a visit from your newsletter or a QR code on a flyer may arrive as direct traffic, and you cannot tell what worked.

Google presents auto-tagging as the preferred option for ad platforms you have linked to Analytics, such as Google Ads, and manual UTM tags for traffic where you will not set up that link: email, social posts, QR codes, partner links and other ad platforms. See traffic-source dimensions, manual tagging and auto-tagging.

The parameters GA4 uses

From Google's help page on collecting campaign data with custom URLs:

  • utm_source (required): the referrer, for example google, newsletter4 or billboard.
  • utm_medium (required): the marketing medium, for example cpc, banner or email.
  • utm_campaign (required): the product, slogan or promo, for example spring_sale.
  • utm_id (strongly recommended): the campaign ID, used to identify a specific campaign or promotion.
  • utm_source_platform (strongly recommended): the platform that directed the traffic.
  • utm_term (optional): the paid keyword.
  • utm_content (optional): to tell creatives apart.
  • utm_creative_format and utm_marketing_tactic (optional): Google notes these are not currently reported in Google Analytics properties.

Google warns that missing parameters show as (not set) in reports.

Naming: lower case, one convention

Google states that parameter values are case sensitive: utm_source=google and utm_source=Google are different sources. It recommends a strict naming convention and lower case as standard practice.

  • Use lower case for every value.
  • Use underscores instead of spaces.
  • Write the convention down and share it with everyone who makes links.
  • Keep source for where (facebook, newsletter) and medium for what kind (paid_social, email).

Our UTM builder applies lower case and underscores for you, shows the GA4 channel the link will land in, and builds many links at once.

Medium decides the channel

GA4 sorts visits into default channels with rules Google publishes in its default channel group article. For manually tagged links the rules use the source, medium and campaign name. Two examples from that page: a source or medium of email puts the visit in Email; a social site as the source with a medium matching cp, ppc, retargeting or paid puts it in Paid Social. When no rule matches, the visit is Unassigned, so use the mediums the rules expect.

Auto-tagged and manual tags together

If a Google Ads link carries both the auto-tagging ID and UTM tags, Google says the auto-tagged values take precedence for source and medium, while your utm_content and utm_term still feed their own manual dimensions. If the auto-tagging ID cannot be used and any UTM tag is present, Analytics takes all source values from the UTM tags alone, so include every relevant one.

A tidy set of examples

  • Monthly newsletter: utm_source=newsletter, utm_medium=email, utm_campaign=november_offer.
  • Link from a partner website: utm_source=partnername, utm_medium=referral, utm_campaign=dubai_marina_open_day.
  • Instagram bio link: utm_source=instagram, utm_medium=social, utm_campaign=bio_link.

Each lands in a default GA4 channel: Email, Referral and Organic Social. Print and QR codes have no default channel, so a medium such as print shows as Unassigned. If offline campaigns matter to you, create a custom channel group with a rule for your print medium, or judge them by campaign name rather than by channel.

Common mistakes

  • Mixing Facebook, facebook and fb as sources, which splits one source into three.
  • Leaving out utm_medium, which leaves the channel unassigned.
  • Leaving out utm_id and utm_source_platform, which Google strongly recommends.
  • Tagging Google Ads links by hand when auto-tagging is already on, which adds work without adding data.

Want us to do this for you?

See what is included and what it costs:

PPC management in the UAE

Questions, answered.

Anything else, ask us directly.

Which UTM parameters are required?

Google says to always use utm_source, utm_medium and utm_campaign, and strongly recommends utm_id and utm_source_platform.

Are UTM parameters case sensitive?

Yes. Google states that utm_source=google is different from utm_source=Google, and recommends lower case as standard practice.

Should I add UTM tags to Google Ads links?

Usually not. Google presents auto-tagging as the preferred option when Google Ads is linked to Analytics; manual tags are for traffic without that link.

Tell us about your business.

A person reads every message and replies within one working day.

We use your details to reply to this enquiry, and send marketing emails only if you tick the box. Protected by Cloudflare Turnstile.