Skip to content

UTM Parameter

A UTM parameter is a tag appended to a URL’s query string — utm_source, utm_medium, utm_campaign, utm_id, utm_term, utm_content — that labels where a click came from. UTM parameters are an industry-standard convention; AnyTrack reads them off the landing-page URL, stores them as first-party data on the session, and uses them to attribute the eventual conversion to the right campaign across every channel.

The standard UTM parameters and what each one means

Section titled “The standard UTM parameters and what each one means”
ParameterRequiredWhat it labelsExample
utm_sourceYesThe traffic source — the specific site, platform, or referrer the click came fromgoogle, facebook, newsletter
utm_mediumYesThe marketing channel type. Keep to standard values; unique values break channel groupingcpc, email, organic, social
utm_campaignYesThe specific campaign namesummer_sale_2026
utm_idRecommendedThe unique campaign ID that GA4 and AnyTrack use to match a session to campaign-level data123456789
utm_contentNoDifferentiates ad variations, ad sets, or links pointing to the same URLbanner_ad, sidebar_cta
utm_termNoLabels the keyword or ad namerunning_shoes, ad_v1

UTM values are case-sensitive — utm_source=Facebook and utm_source=facebook count as two different sources, so use lowercase consistently. The three required parameters are the minimum any analytics platform needs; add utm_id for ad campaigns so AnyTrack can align spend and revenue at the campaign level.

How UTM parameters fit into a tracking template

Section titled “How UTM parameters fit into a tracking template”

You rarely type UTM parameters by hand. On each ad platform you set a tracking template once — a single URL string that lists every UTM parameter paired with the platform’s dynamic token (its placeholder). A tracking template is defined per ad platform, not per campaign: one template serves all of that platform’s campaigns, and the platform substitutes each token with real values at runtime, the moment the ad is clicked.

For example, AnyTrack’s recommended Google Ads tracking template — pasted once at the account level — is:

{lpurl}?utm_source=google&utm_medium={ifsearch:cpc}{ifcontent:display}&utm_id={campaignid}&utm_content={adgroupid}&utm_term={keyword}

utm_source is a fixed value (google), while {campaignid}, {adgroupid}, and {keyword} are Google ValueTrack tokens that Google fills in on every click. So the UTM parameters are the labels, the tokens are what let one template cover every campaign, and the tracking template is the field that assembles and writes them onto the landing-page URL.

UTM parameters carry the one signal that ad platforms and on-site events don’t: how a visitor reached your site. AnyTrack uses that signal for three things:

  • Attribution reports. AnyTrack builds its attribution and Campaign Report from UTM values. This is the job that genuinely depends on UTMs — no UTMs, no source/campaign breakdown.
  • Channel categorization. UTMs tell AnyTrack which channel a visit belongs to — paid, referral, affiliate, AI, email, social, organic. Without them, traffic can’t be grouped into channels in your reports.
  • Audience building. Because the UTMs are on the URL at the moment a session starts, AnyTrack can build audiences from them. Example: visitors who arrived with utm_source=google&utm_campaign=discovery but didn’t buy can be pushed to Meta as a retargeting audience.
  • Sending conversions to ad platforms. No ad platform requires UTM parameters to accept a conversion. A Conversion API (CAPI) ties a conversion to a user through the platform’s own Click ID, not UTMs — e.g. a visitor lands with fbclid=… and, on conversion, AnyTrack sends Meta’s CAPI the conversion data plus the matching fbc value derived from it.
  • Tracking sessions and conversions. AnyTrack tracks every session and every conversion whether or not UTMs are present. UTMs are what make those conversions reportable by source and campaign — without them the data is still collected, just not attributable in a report.

How AnyTrack collects and resolves UTM parameters

Section titled “How AnyTrack collects and resolves UTM parameters”

UTM parameters matter most at one moment: when a visitor first lands from a campaign. The Tracking Tag collects the UTM values on that landing and stores them on the session — after which they drop out of the address bar as the visitor navigates deeper into the site. The values are already saved, so attribution never depends on the UTMs staying in the URL.

  • Returns via another campaign — the new UTM parameters are collected and stored against that session, becoming the latest source.
  • Returns directly or via email — the visitor may arrive with different URL parameters, or none at all; there are simply no new UTMs to collect on that visit.

AnyTrack does not rely on a single visit. It resolves attribution server-side and with browser signals and other identifiers, which lets it stitch a journey across devices and domains and perform identity resolution — so a UTM collected on the first touch can still be credited to a conversion that happens later, even on another device. Configure Ignored Sources so intermediaries (PayPal, Mailchimp) don’t overwrite your stored UTM values mid-journey and steal the credit.

Frequently asked questions

FAQ was last reviewed on 2026-06-27

Which UTM parameters does AnyTrack need?
At minimum utm_source, utm_medium, utm_campaign, and utm_id. The utm_id parameter carries the campaign identifier AnyTrack uses to match conversions to specific campaigns in the Campaign Report. Without UTM parameters, conversions appear but can't be attributed to a campaign.
Do I still need UTM parameters if Google auto-tagging is on?
Yes. Auto-tagging (gclid) handles Google-to-Google attribution only. AnyTrack reads UTM parameters to attribute across every platform — Facebook, TikTok, affiliate networks. Use both. Never add gclid as a UTM parameter; Google appends it automatically.

Related ad platforms