UTM parameters

Also known as: UTM tags

UTM parameters are tags added to the end of a link, such as utm_source and utm_campaign, that tell your analytics which source, medium, campaign and ad sent each visitor and order.

Formula

https://yourstore.com/product?utm_source=facebook&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}
Parameters: utm_source · utm_medium · utm_campaign · utm_content · utm_term

{{campaign.name}} and {{ad.name}} are Meta's dynamic URL parameters; other platforms have their own macros.

Worked example

A store tags every Meta ad with utm_source=facebook, utm_medium=paid_social and the campaign and ad names. In a week, Shopify records 300 orders with UTM data: 180 with utm_source=facebook, 70 with utm_source=tiktok and 50 with utm_source=google.

  1. Facebook share of tagged orders = 180 ÷ 300 = 60%.
  2. TikTok share = 70 ÷ 300 ≈ 23.3%.
  3. Google share = 50 ÷ 300 ≈ 16.7%.

These are last-click shares from your own store data, a useful check against each platform's self-reported numbers.

Why it matters for a Shopify store running ads

UTMs are the simplest attribution data you fully own. Shopify stores the landing page and referrer of each order, so consistently tagged links let you see which campaign and ad an order came from, independent of any platform's reporting.

Consistency is what makes them useful. Lowercase values, one agreed naming scheme and dynamic parameters instead of hand-typed names prevent the same campaign appearing under five spellings and keep reports clean.

Common mistakes

  • Mixing "Facebook", "facebook" and "fb" as sources, which splits the same traffic.
  • Adding UTMs to internal links on your own site, which overwrites the original source.
  • Hand-typing campaign names instead of using dynamic parameters.

FAQ

What are the five UTM parameters?

utm_source (where the traffic comes from), utm_medium (the type of channel), utm_campaign (the campaign), utm_content (the ad or creative) and utm_term (the keyword, mostly for search).

Do UTM parameters affect SEO?

Not if you only use them on external links such as ads and emails. Don't put them on internal links, and make sure your pages have canonical URLs so tagged versions are not treated as separate pages.

Related terms

Want this number for your own store without a spreadsheet? ProfitFly connects Shopify, Meta and TikTok and shows your real profit every day, free up to 50 orders a month.

Start free