How to build UTM parameters for an ecommerce campaign
UTM parameters are short tracking tags you add to the end of a URL. They tell your analytics tool where a visit came from, which channel carried it, and which campaign or creative earned the click.
?utm_source=newsletter&utm_medium=email&utm_campaign=winter_sale
-
Source
— the specific place the click came from,
like
newsletter,google, orfacebook. -
Medium
— the channel type, like
email,cpc,social,affiliate, orreferral. - Campaign — the label that groups your links together, so every version of a promotion rolls up cleanly in your reports.
Why consistent UTM naming matters
Analytics tools treat tiny differences as separate
campaigns.
email
,
email_newsletter
, and
Email
turn into three different rows when they all mean
the same thing, and your reporting fragments. This
UTM builder normalizes every value to lowercase,
swaps spaces for underscores, and removes unsafe
punctuation, so your campaign data stays tidy from
the first link to the last.
The
term
and
content
fields are there when you need more detail. Use term
for paid keywords or audience names, and content for
creative versions like
hero_banner
,
footer_cta
, or
blue_button
.
From UTM links to revenue, not just clicks
A UTM generator helps you create campaign URLs that Google Analytics (GA4) and other platforms can classify correctly. Metorik takes the next step for WooCommerce and Shopify stores: it connects those campaign values to real orders, customers, products, refunds, and revenue.
That means your UTM links do more than count clicks. You can compare campaigns by orders and revenue, find which source brings back repeat customers, and spot the campaigns that drive visits without profitable sales.