UTM parameters for Meta, Google and TikTok ads
How to use UTM parameters on Meta, Google and TikTok ads: the five fields, naming conventions, examples, common errors and what UTMs cannot tell you.
- Author
- By Vivek Dhiman, founder of Madly
- Published
- Published
- Last updated
- Updated
- Reading time
- 8 min read
Short answer
UTM parameters are labels added to a link so your analytics tool can tell which source, medium, campaign, content and term brought a visit. Use consistent lowercase names, keep a simple convention across Meta, Google and TikTok, and remember that UTMs describe clicks, not the whole customer journey.
Key takeaways
- The five UTM fields are source, medium, campaign, content and term.
- Consistent lowercase naming matters more than clever naming.
- Use the platform's own dynamic values carefully and test the final links.
- UTMs track clicks; they do not prove what caused a sale.
What UTM parameters are
UTM parameters are short pieces of text added to the end of a web address. When someone clicks, your analytics tool reads them and records where the visit came from. They were named after Urchin Tracking Module, an early analytics product, and are now used by most analytics tools.
A tagged link looks like this: the normal page address, then a question mark, then pairs such as utm_source=meta and utm_medium=paid_social joined by ampersands. The UTM builder assembles these for you and avoids typing mistakes.
The five fields
| Field | Purpose | Example value |
|---|---|---|
| utm_source | Where the traffic comes from | meta, google, tiktok |
| utm_medium | The type of channel | paid_social, cpc |
| utm_campaign | The campaign name | spring_launch |
| utm_content | Which ad or creative | hook_problem_v1 |
| utm_term | Keyword, mainly for search | linen_bedding |
Source, medium and campaign are the core. Content is very helpful for creative testing. Term is mostly for paid search keywords.
Why bother
Platforms report their own results, but your analytics shows what visitors did on your site: pages viewed, time spent, products added to cart, orders. Linking the two through UTMs lets you compare ad clicks with on-site behaviour, and cross-check platform-reported purchases against store orders. That helps with the attribution gaps explained in MER versus ROAS. Our broader UTM tracking for ads guide covers setup principles, and this page focuses on conventions across three platforms.
A naming convention that holds up
Decide the rules once and write them down.
- Lowercase everything. Analytics tools treat Meta and meta as different values.
- Use underscores or hyphens, not spaces. Pick one.
- Keep values short and predictable. You will read them in reports later.
- Use one source name per platform. Do not mix facebook, fb and meta.
- Put useful detail in content. Concept, hook and version, for instance.
- Never put personal data in a UTM. Links appear in reports and may be shared.
A tidy example for a creative test might be: source meta, medium paid_social, campaign spring_candles_prospecting, content hook_problem_v2.
Meta
For Meta ads, you add UTM parameters in the ad setup, in a field for URL parameters, instead of editing the destination link by hand. Meta also supports dynamic values that are replaced automatically, for example the campaign or ad name. These are convenient, but they insert whatever name you used inside the platform, and names with spaces or capitals will appear in your reports. Keep the in-platform names tidy, or use fixed text. Check Meta's current documentation for the available dynamic values and the exact setup, since interfaces change. The Meta Ads Manager setup guide describes the account side.
Google Ads has its own auto-tagging feature, which adds a click identifier that links to Google Analytics, and which can coexist with manual UTMs. Whether to use one, the other or both depends on your analytics setup, and the interaction can be confusing. Read Google's current documentation on auto-tagging and manual tagging before choosing, and be consistent. For search campaigns, utm_term can carry a keyword or a value template. Test links after setup to confirm what appears in your analytics.
TikTok
TikTok Ads Manager lets you add URL parameters to ads, and it also offers dynamic parameters that are filled in at click time. As with Meta, check the current help documentation for available values and format. Use source tiktok and a medium consistent with your Meta convention, such as paid_social, so that channel reports are comparable.
A hypothetical setup
A store selling hand-poured soy candles runs three ads on Meta and two on TikTok, with the same hooks tested on both. The founder uses source meta or tiktok, medium paid_social, campaign candle_refill_test, and content values hook_saving_v1, hook_ritual_v1 and hook_gift_v1. In analytics, one report grouped by source and content shows how each hook performs on each platform: sessions, add-to-carts and orders. The founder spots that the gift hook produces many sessions but few orders on Meta, and checks the landing page match. Without consistent UTMs this comparison would take hours of guesswork. These details are invented.
Testing your links
Before spending money, click each live ad link in a private window and confirm in your analytics real-time report that source, medium and campaign appear as intended. Check that the tags survive any redirect, such as a link shortener or an app that strips parameters. Check that the landing page loads correctly and that your store platform records the order against the right source. Our ad size specs and other tools do not affect tracking, but the Shopify Meta pixel and Conversions API guide covers the event side, which works independently of UTMs.
What UTMs cannot tell you
UTMs record the click that carried the tag. They do not show earlier ad views, conversations, or visits that came later by another route. They do not prove that the ad caused a purchase. If someone clicks an ad, leaves, and later returns by typing your address, the sale may be credited to direct traffic. Privacy settings and browser behaviour can also strip or block tracking in some cases.
Use UTMs as one input alongside platform reports and store totals. When numbers disagree, expect it, and decide which source to treat as primary. The ROAS calculator and CPA calculator can be applied to any source, so long as you use it consistently.
Common errors
- Mixed capitalisation producing duplicate rows.
- Spaces in values.
- Different source names for the same platform.
- Adding UTMs to internal links on your own site, which can overwrite the original source.
- Forgetting to tag emails and influencer links.
- Tagging a link, then changing the destination without retesting.
- Placing parameters before the question mark or using two question marks.
Keeping a record
Maintain a simple sheet of campaigns, UTM values, destination pages and launch dates. When you or someone else later reads a report, the sheet explains what each value means. Add a column for the creative concept, so you can connect analytics with your testing log from AI ad creative testing.
Privacy and consent
Tracking is governed by privacy law and platform rules in many places, including consent requirements for certain cookies and identifiers. UTM parameters themselves are labels in a link, but how your analytics tool processes visits may require consent. Check the rules for your market and your tool's settings. This guide is general information, not legal advice.
Reading UTM reports well
Once tagged traffic arrives, build a few standard reports and look at them weekly. A source and medium report shows which platforms send visits and how they behave. A campaign report shows which campaigns lead to add-to-cart and purchase. A content report, grouped by the content value, shows which creatives and hooks drive engaged visits. Compare sessions with orders to compute a conversion rate per row, but be careful with small numbers, as a row with ten sessions and one order is not a reliable rate. Watch for a large unassigned or direct bucket, which often signals missing tags or stripped parameters. Compare the total of ad-attributed orders in analytics with the platforms' purchase counts and with Shopify orders, and note the differences. Persistent large gaps suggest a tracking setup problem to investigate with the help of the platform's documentation.
Governance for a small team
Even a team of two benefits from light rules. Keep one shared sheet that is the only place UTM values are created. Give one person ownership of the naming convention. Review new campaign names before launch, and use the UTM builder for every link so that the format never drifts. When an agency or freelancer builds ads for you, give them the convention in writing and ask them to follow it. Once a quarter, scan your analytics for stray values such as capitalised duplicates, unfamiliar sources or old campaign names still receiving traffic, and fix them at the source. These habits cost very little and make every later analysis faster and more trustworthy.
Using UTMs in creative testing
UTMs become powerful when the content field carries your test design. Name each ad by concept, angle and version, for example concept_gift, hook_question, v1, and then every analytics report can be cut by concept or by hook. When a test ends, you can compare sessions, add-to-cart rates and orders per hook, which complements the platform's own report and can reveal a hook that attracts clicks but not purchases. Keep these names identical in your testing log, so each analytics row connects directly to a decision. If you rename an ad inside the platform midway, keep the UTM value unchanged so the history stays continuous.
Platform dynamic-parameter job
Companion for platform macros. The naming/reporting guide defines your stable dictionary. No personal data in parameter values.
| Platform | Source to verify | Do not assume |
|---|---|---|
| ValueTrack parameter reference (opens in a new tab) | Every parameter works for every campaign | |
| Meta | URL parameters reference (opens in a new tab) | Renamed campaign values update existing tags |
| TikTok | URL auto-attachment reference (opens in a new tab) | Macros are portable across platforms |
Common questions
- What are the five UTM parameters?
- Source, medium, campaign, content and term. The first three are the core, and content and term add detail.
- Should I use the same UTMs on Meta, Google and TikTok?
- Use the same structure and naming style, with a different source value for each platform.
- Do UTMs replace the Meta pixel?
- No. UTMs label clicks for your analytics. The pixel and server events report conversions to the ad platform. They do different jobs.
- Can I use capital letters in UTM values?
- You can, but analytics tools treat different capitalisation as different values. Lowercase is safer.
- Why do my ad platform and analytics numbers differ?
- They use different attribution rules, windows and data. Pick a primary source and compare consistently.
- Should I add UTMs to links inside my own site?
- Generally no, because it can overwrite the original source of the visit.
Sources and further reading
Related tools
- UTM campaign URL builderCreate a tagged campaign link without sending your destination or tracking labels to a server.
- ROAS calculatorCalculate return on ad spend as a revenue multiple while keeping revenue separate from profit.
- CPA calculatorCalculate cost per acquisition for a chosen conversion event and compare it with available margin.
- Ad sizes and specs cheat sheetCompare Meta, TikTok, Google, LinkedIn and Pinterest creative placements, with dates, platform references and clear recommendation labels.
Related guides
- UTM tracking for ads: a naming system you can trustTag paid links consistently so analytics reports can organise visits by source, medium and campaign.
- Connect Shopify to Meta: pixel, Conversions API and a proper testA founder's guide to connecting Shopify's Facebook and Instagram by Meta channel, choosing data sharing, avoiding duplicate tracking and checking real store events.
- MER vs ROAS: which should you trust?MER divides total revenue by total marketing spend; ROAS credits revenue to ads. See how they differ, how to use both, and what each hides.
- AI ads for Shopify stores, step by stepA step-by-step guide to using AI for Shopify ads: product data, briefs, tracking, creative, testing and measurement, with cautions about attribution.
- Set up Meta Ads Manager without losing control of your accountA practical first-time setup guide for founders connecting their business, advertising assets, access, payment and campaign workflow in Meta Ads Manager.