Shopify UTM builder: track campaigns the right way

Shopify UTM builder: track campaigns the right way

A Shopify UTM builder turns a plain link into a tracked one, so you finally know which email, ad, or post actually drove a sale. Without UTMs, your analytics lumps half your traffic into “direct” or “referral” and you are guessing. With them, every click carries a label. The catch? One sloppy habit and your reports turn to mush.

This post covers what UTM parameters are, how to build them correctly for Shopify, the mistakes that split your data into useless fragments, and a free tool to do it in seconds. By the end your campaign tracking will actually be trustworthy.

Quick answer: a UTM link is your URL plus five tags (source, medium, campaign, term, content). Build them with a consistent naming scheme, never on internal links, and you get clean attribution in GA4 and Shopify analytics.

In this post

What UTM parameters are

UTM parameters are little tags you add to the end of a URL. They do not change where the link goes, they just tell your analytics where the click came from. A link like yourstore.com/products/shirt?utm_source=instagram&utm_medium=social&utm_campaign=summer still opens the shirt page, but now the visit is labeled “came from the summer Instagram campaign.”

That label is the whole point. It is how you tell apart traffic from your newsletter, your paid ads, and your Reddit post, instead of watching them all vanish into one murky bucket. No UTMs, no real attribution.

The five parameters, explained

  • utm_source (required): where the traffic comes from. newsletter, instagram, google.
  • utm_medium (required): the channel type. email, social, cpc, blog.
  • utm_campaign (required): the specific campaign. summer-sale, bfcm-2026.
  • utm_term (optional): the paid keyword, mostly for search ads.
  • utm_content (optional): which version, for A/B tests or two links in one email. hero-button vs footer-link.

The first three do the heavy lifting. Source, medium, campaign on every link, and you already have solid tracking. The other two are for when you want to get granular.

How to build a UTM link for Shopify

You can hand-write UTMs, but one typo and the link is mislabeled forever. Faster and safer to use a builder. The flow:

  1. Take your destination URL (a product, collection, or the homepage).
  2. Fill in source, medium, and campaign with your naming scheme.
  3. Add term or content only if you need that level of detail.
  4. Copy the finished link and use it in that one channel.

Our free UTM campaign link builder does this in seconds and keeps your formatting consistent, which matters more than you would think (next section). Want to double-check an existing link’s structure? Run it through the URL analyzer.

Side note: we actually use UTMs on every cross-site link in this blog network, so we can see which post sent a reader to which app. The links to Rubik Variant Images and Rubik Combined Listings in this very paragraph are tagged. That is UTM in the wild.

The mistakes that wreck your data

This is where most stores quietly ruin their own reports. Watch for:

  • Inconsistent casing: Instagram and instagram are two different sources to analytics. Pick lowercase and never deviate.
  • Spaces in values: use hyphens, not spaces. summer-sale, not summer sale.
  • UTMs on internal links: never tag links between pages of your own store. It overwrites the original source and corrupts attribution. This one is huge.
  • No naming scheme: if one person writes fb and another writes facebook, your channel report splits in two.

The internal-links one deserves a rant. Why do so many guides tell you to UTM everything? It is wrong. Tag external and campaign links only. The moment a shopper clicks a UTM link between your own pages, their real source (that Google search that brought them in) gets erased. Keep internal navigation clean.

Where to see the results

Once your links are live, the data shows up in two places. In GA4, look under Acquisition, then Traffic acquisition, and check the session source, medium, and campaign dimensions. In Shopify’s own analytics, the Sessions by referrer and marketing reports pick up UTM-tagged traffic too.

Give it a day or two to populate, then you can finally answer the question that matters: which campaign actually made money? Pair this with proper product tracking and a clean Google Shopping feed, and your whole marketing picture sharpens. For the on-page side, the SEO checklist and product page checklist close the loop.

Frequently asked questions

What is a UTM builder?

A UTM builder is a tool that adds tracking parameters (source, medium, campaign, and optionally term and content) to a URL in a consistent format. It saves you from hand-typing tags and making typos that mislabel your traffic. You paste a destination URL, fill in the fields, and copy the tagged link.

Do UTM links hurt SEO?

Not when used correctly on external and campaign links. The problem is UTM-tagging internal links, which can create duplicate URLs and waste crawl budget. Keep UTMs off your internal navigation, use them only for campaigns and cross-site links, and SEO is unaffected.

Which UTM parameters are required?

Source, medium, and campaign are the three you should always include. Term and content are optional, used for paid keywords and A/B test variants. The three required tags give you clean channel and campaign attribution on their own.

Why is my UTM data split into duplicates?

Almost always inconsistent values: Facebook vs facebook, or fb vs facebook. Analytics treats each spelling as a separate source. Fix it with a strict lowercase, hyphenated naming scheme and a builder that enforces it.

Where do I see UTM data in Shopify?

Shopify’s analytics shows UTM-tagged traffic in the Sessions by referrer and marketing reports. For deeper analysis, GA4 breaks it out under Acquisition, then Traffic acquisition, with source, medium, and campaign dimensions.

So the next time you launch a campaign, tag the links before you hit send. Future you, staring at a clean attribution report instead of a pile of “direct” traffic, will be grateful.

Co-Founder at Craftshift