UTM tags explained: how to measure social traffic to your store
You will learn what each UTM parameter does and get five or six naming rules to fix once. A worked example and a two-minute checklist show you how to tag every social link the same way and read the results in one report.
By SemPost EditorialWritten with AI
Published 9 min read

In this article
You have probably seen links with ?utm_ in the middle and wondered whether they matter. They do, but only if you tag them on purpose. A UTM tag is only as useful as the naming rules behind it. This guide shows you how to fix a handful of rules once, tag every social link the same way, and read the results in one place.
What a UTM tag is and why social traffic needs one
UTM stands for Urchin Tracking Module, a name inherited from an early analytics product. In practice, a UTM tag is text added to the end of a link. It tells your analytics tool where a click came from.
Here is what a tag looks like on the end of a link:
?utm_source=tiktok&utm_medium=social
The page that opens is the same. Only the address bar is longer.
Why does social traffic need this? Social apps often open links in their own in-app browser, and they pass little information about where the visitor came from. Without tags, many of those visits can end up in vague buckets such as "direct" or a generic referral. You see that people arrived, but not which network or which post sent them.
Tags fix that by carrying your own labels through the click. Know what they can and cannot tell you:
- They show visits to your store and what visitors did there: pages viewed, carts started, purchases made.
- They do not show reach, impressions, likes or how many people saw a post. Those numbers live in each network's own insights.
Think of a tag as a way to connect a post to a visit, not as a measure of the post's audience.
The five parameters, one line each
Google's help page on custom campaign URLs (opens in a new tab) describes five parameters (as of November 2026). Here they are for social posts:
| Parameter | What it answers | Social example | Needed? |
|---|---|---|---|
utm_source | Which network sent the visit | instagram | Yes |
utm_medium | What kind of channel it was | social | Yes |
utm_campaign | Which launch or promotion | mug-launch-2026-11 | Yes |
utm_content | Which post or format inside the campaign | carousel | Optional |
utm_term | Which keyword, mostly for paid search | ceramic-mug | Optional |
For a small shop, three do most of the work: source, medium and campaign. Fill all three every time.
utm_content is the one that separates two posts in the same campaign. If you post a carousel and a video for the same mug, content is what lets you compare them. utm_term belongs mostly to paid search keywords, so most social posts can leave it out.
Naming rules that keep your reports clean
Tags fail quietly. Nothing breaks when two teammates spell a value differently. Your report just splits into extra rows that you have to merge in your head.
Google's help notes that campaign values are case-sensitive, so Instagram and instagram are counted as two different sources. Read the campaign URL page (opens in a new tab) once yourself, then settle the rules below.
Six rules to fix once
- Lowercase only. No capital letters anywhere in a value.
- No spaces. Use hyphens or underscores, and pick one. Hyphens are easy to read.
- One spelling per network. Decide that Instagram is always
instagram, neverigorinsta. - One medium word for organic posts. Use
socialevery time, for every person. - Dates in campaign names. A name like
mug-launch-2026-11stays unique next year. - No personal data. Never put email addresses, names or order numbers in a tag. Links get shared, logged and shown in reports.
Decision table
Write this table on a shared sheet and treat it as the only source of truth:
| Parameter | Rule | Example |
|---|---|---|
utm_source | The network's name, lowercase | pinterest |
utm_medium | One fixed word | social |
utm_campaign | Launch or sale name plus year and month | autumn-sale-2026-11 |
utm_content | Post format or angle, short | video-pour |
utm_term | Leave empty unless you have a reason | (empty) |
Watch out
Never tag a link that goes from one page of your own site to another. A tag on an internal link can overwrite the original source of the visit, and a social visit then looks like it came from your own site.
Worked example: one product, three posts, three tagged links
Take a fictional ceramic mug sold at example.com/mug. The shop runs one campaign, mug-launch-2026-11, and publishes the product three ways: an Instagram carousel, a TikTok video and a Pinterest pin.
Only two values change between the links: source and content. Base link, medium and campaign stay the same.
Instagram carousel
Base link: https://example.com/mug
Source: utm_source=instagram
Medium: utm_medium=social
Campaign: utm_campaign=mug-launch-2026-11
Content: utm_content=carousel-glaze
TikTok video
Base link: https://example.com/mug
Source: utm_source=tiktok
Medium: utm_medium=social
Campaign: utm_campaign=mug-launch-2026-11
Content: utm_content=video-pour
Pinterest pin
Base link: https://example.com/mug
Source: utm_source=pinterest
Medium: utm_medium=social
Campaign: utm_campaign=mug-launch-2026-11
Content: utm_content=pin-shelfTo build each link, start with the base link. Add ? and the first parameter, then join the others with &, with no spaces. The result is one long link per post.
How it reads in a report
Each link produces its own row in your analytics. The report shows source instagram, medium social, campaign mug-launch-2026-11, and the content label tells you which post it was.
What can the team decide from that? Suppose that after two weeks the carousel visits tend to view more than one page, while pin visits leave after one. A reasonable next step is to make another carousel for the next product. That is a hypothesis to test, not a verdict. Because only source and content changed, you can tell whether the network or the format made the difference, though a handful of visits will not settle it.
Where tagged links go, and where they do not work
A tagged link can sit anywhere you can paste a link. The usual places are:
- the link in your profile bio
- the first comment under a post
- the caption
- the destination of a pin
- a link sticker in a story
- a reply in a direct message
Each network decides for itself which of these places turn a link into something people can tap. Rules change, and plain text in a caption may not be clickable at all. Check the network's current help page before relying on a placement, for example Instagram's help center (opens in a new tab) or Pinterest's help (opens in a new tab).
If you use a link shortener, tagged links still work, but test that the tags survive the redirect. Click the shortened link, then look at the final address in the browser. If the utm_ parts are missing, the shortener dropped them and your visits will fall back into the vague buckets.
Reading the results in Google Analytics
In Google Analytics 4, a tagged visit is grouped by source and medium into a default channel. Google explains this in its help on default channel groups (opens in a new tab) (as of November 2026). A medium like social is the kind of value those rules are designed to recognize, but check that page for the current list before you invent a new medium word.
In the traffic acquisition report, look at the session source and medium. You can then add campaign or content as a second dimension. Menu names move around, so search the report names in Google's help if your screen looks different.
Three questions for each week
- Which source brings visits? Compare
instagram / social,tiktok / socialandpinterest / social. - Which content value brings visits that look at more than one page? Visits that browse tend to be more interested than visits that leave at once.
- Which campaign leads to a cart or purchase? If you have set up purchase events, check which campaign they are tied to.
A caution about small samples
A few visits are not a verdict. A single post with ten visits and one purchase tells you very little, and you should not move your whole plan around it. Look for patterns that repeat over several weeks. Do not borrow benchmarks from other shops. Compare your own posts with your own earlier posts.
If you also use your store's built-in reports in Shopify or WooCommerce, check them against the analytics numbers. Different tools count visits in different ways, so expect the totals to differ a little. Compare the direction, not the exact figure.
Checklist: tag a post in two minutes
Keep this list next to the naming sheet and run through it for every post:
- Open the naming sheet with the agreed values.
- Copy the base product link, without any old tags on it.
- Add
utm_sourcewith the network's agreed spelling. - Add
utm_mediumwith your one fixed word. - Add
utm_campaignwith the launch name and date. - Add
utm_contentfor this post's format or angle. - Click the link yourself and confirm the right product page opens.
- Open the real-time report and check that your visit appears with the right source and campaign.
- Save the finished link in the sheet next to the post.
Common mistakes
- Capital letters, which split one source into two rows.
- A different medium word per person:
social,Socialandsocial-mediain the same report. - Tagging internal links, which hides the true origin of a visit.
- Forgetting to test, so a typo in
utm_sourcegoes live for weeks. - Reusing campaign names without a date, which mixes launches together.
How we do it at SemPost
SemPost's documentation explains which UTM tags the links in its posts carry (opens in a new tab), where those visits show up in Google Analytics 4, Shopify and WooCommerce, and what the numbers don't tell you. It also describes where SemPost puts a post's link, hashtags and first comment on each network (opens in a new tab), and how UTM tags show which post a visit came from.
Frequently asked questions
What does UTM stand for?
UTM stands for Urchin Tracking Module, a name that comes from an early analytics product. Today a UTM tag simply means text added to the end of a link that tells your analytics tool where a click came from. The five parameters are source, medium, campaign, content and term.
Do UTM tags change how a link looks to people who click it?
A UTM tag makes the link longer, with extra text after a question mark. The page that opens is the same one without the tags. If the length bothers you, a shortened link can hide it, but test that the tags still arrive after the redirect.
Are UTM values case-sensitive in Google Analytics?
Yes. Google's help on campaign URLs notes that values are case-sensitive, so Instagram and instagram appear as two separate sources in reports. The simplest fix is a naming rule that allows lowercase only, written once on a shared sheet.
Should I add UTM tags to links inside my own website?
No. A tag on a link from one page of your site to another can overwrite the original source of the visit. A visitor who arrived from a social post would then look as if they came from your own site. Use UTM tags only on links that point to your store from outside.
Can UTM tags tell me how many people saw my post?
No. UTM tags show visits to your store and what visitors did there, such as pages viewed, carts and purchases. Reach, impressions and likes appear only in each network's own insights. Use the two sources together: insights for who saw a post, tags for who came to your store.