Skip to content
House of Marka
AppsServicesMarketplacesWorkInsightsCompanyStart a project
Data & Dashboards5 min readBy

UTM Parameters for Shopify: A Practical Guide to Tagging Links

How to use the five UTM parameters on a Shopify store: a naming convention, the mistakes that split your data, health checks and tagging for creators.

UTM parameters are short labels added to the end of a link so that your analytics can record where a visit came from. There are five: source, medium, campaign, term and content. Used consistently, they tell you which email, ad or creator sent each visitor; used carelessly, they split one channel into a dozen rows nobody can add up. This guide covers what each parameter is for, a naming convention you can adopt today, the common mistakes, how to check the health of your tagging, and how to tag links for creators and affiliates.

What are the five UTM parameters?

Each one answers a different question about the click.

  • utm_source: who sent the visitor. The platform, publication or person: newsletter, instagram, a creator's handle.
  • utm_medium: what kind of traffic it is. The broad type: email, paid-social, cpc, affiliate, sms.
  • utm_campaign: which initiative the link belongs to: october-launch, winter-sale.
  • utm_term: the keyword, mostly for paid search.
  • utm_content: which version of the link was clicked, when one campaign has several: hero-button, footer-link, video-a.

A tagged link looks like this:

your-store.com/products/blue-mug?utm_source=newsletter&utm_medium=email&utm_campaign=october-launch

Source, medium and campaign belong on every tagged link. Term and content are optional and only worth adding when you will read them.

What naming convention should you use?

One that is boring, written down, and followed by everyone who builds a link. The details matter less than the consistency.

  1. Lowercase only. Many tools treat Email and email as two different values.
  2. Hyphens between words, no spaces. Spaces turn into %20 or + and produce more duplicates.
  3. A fixed list of mediums. Decide the handful you use and do not add to it casually. Medium is what channel groupings are built from, so a new spelling creates a new channel.
  4. Source is the platform's plain name. facebook, not fb one week and meta the next.
  5. One campaign name across channels. If the winter sale runs on email, paid social and SMS, all three carry winter-sale, and the medium tells them apart.
  6. Keep a shared sheet. One row per link, with the full URL, who made it and when. New links are copied from the sheet, not typed from memory.

Which mistakes cause the most damage?

Three do most of it.

Inconsistent case and spelling. Instagram, instagram and ig become three sources. Each row looks small, and the channel as a whole looks weaker than it is.

Missing medium. A link with a source and no medium often lands in an 'other' or unassigned bucket, because the tool cannot tell whether facebook was a paid ad or a post on your page. Those are different budgets and need different rows.

Tagging internal links. UTMs are for links that bring people to your store from outside. Put them on a homepage banner or a menu item and a visitor who arrived from a paid ad can be re-labelled as coming from your own banner the moment they click it. The ad loses the credit and your reports show your site referring traffic to itself.

Two smaller ones: never put anything personal, such as an email address, in a parameter, because URLs get logged and shared; and test links that pass through a shortener or redirect, because some redirects drop the parameters.

How do you check UTM health?

Look at the raw list of source and medium values for the last month and read it for problems. You are looking for:

  • the same source in more than one spelling or case;
  • visits with a source and no medium, or a campaign and no source;
  • your own domain appearing as a source, which means an internal link is tagged;
  • paid campaigns whose visits arrive with no tags at all;
  • campaign names nobody on the team recognises.

Fix the links that are still live, and note the date you fixed them so that a later jump in a channel's numbers has an explanation. Then click every new link yourself before it goes out and confirm the visit shows up under the row you expected.

If you want this as a standing report and not a monthly chore, Marka Metrics includes a UTM health view and creator results, built from visits to your own store.

How should you tag links for creators and affiliates?

Give each partner a finished link, so nobody improvises. A workable pattern:

  • source: the creator's handle or the affiliate's name, one value per partner;
  • medium: creator or affiliate, the same for all of them;
  • campaign: the collaboration or the month;
  • content: the individual post or placement, if they will publish more than one.

That lets you read results by partner, and by all partners together as a channel.

Links are not the whole story with creators. A follower may see a video, skip the link and type your store name into a browser later, and that visit carries no tags. A discount code unique to each creator catches orders the link misses, so use both and read them together.

What can UTMs not tell you?

They describe tracked visits, not all visits. A visitor who declines analytics in your cookie banner is not recorded by a consent-respecting tool, whatever the link carried, so tagged traffic is a sample. Our guide to how cookie consent affects Shopify analytics explains how to read it. Orders are unaffected, which is one reason discount codes make a useful second signal.

UTMs also only name the click. How much credit that click deserves for an order that came three visits later is a separate question, covered in attribution models explained.

A short checklist

  1. Put source, medium and campaign on every external link you control.
  2. Use lowercase and hyphens, and a fixed list of mediums.
  3. Keep every link in one shared sheet.
  4. Never tag internal links.
  5. Review the source and medium list monthly for duplicates and gaps.
  6. Give each creator a finished link and their own discount code.
  7. Test each link before it is sent.

Clean tagging is a small habit that makes every traffic report more useful, and it sits alongside the other gaps described in our guide to Shopify analytics beyond the built-in reports. To see your tagging and your creators' results in one place, have a look at Marka Metrics.

Work with us

House of Marka is the applied-AI and commerce engineering studio of Marka Modern Retail Private Limited. We research, advise and then build — for merchants and enterprises in the US, UK and Europe.