Last updated: December 3, 2026. Facts checked against Meta Business Help, Google Analytics Help and the Shopify Help Center in December 2026.
TL;DR
For Facebook ads, put one UTM string in the ad's URL parameters field: utm_source=facebook, utm_medium=paid, and Meta's dynamic values for campaign, ad set and ad names. That string should land in GA4's Paid Social channel and show up in Shopify's marketing reports. Meta freezes the names at the moment an ad is first published, so name things before launch. UTMs label the click; they do not make Meta, GA4 and Shopify agree on conversions. AdAdvisor's Nova applies this string to every new creative it launches.
Quick answer
Put utm_source=facebook, utm_medium=paid and Meta's dynamic name values in the ad's URL parameters field under Tracking, then read the result in GA4 under Acquisition > Traffic acquisition and in Shopify's Performance by marketing campaign report.
We call this the One String, Three Readers rule: the same string is read by Meta (which fills in the values), GA4 (which sorts it into a channel) and Shopify (which credits sales to it), and each reader applies its own rules. A string that only satisfies one of them usually breaks in the other two. For what each parameter means, see our UTM glossary entry.
What UTM parameters should I use for Facebook ads?
Set utm_source, utm_medium and utm_campaign on every ad, and add utm_content and utm_term so you can see ad sets and ads separately. Google says you should always use those first three parameters, and that parameter values are case-sensitive, so facebook and Facebook become two different sources (Google Analytics Help).
| Parameter | What to set | What Meta fills in (example) | Where it shows in GA4 |
|---|---|---|---|
| utm_source | Session source | ||
| utm_medium | paid | paid | Session medium |
| utm_campaign | {{campaign.name}} | prospecting-q1-2027 | Session campaign |
| utm_content | {{ad.name}} | ugc-video-03 | Session manual ad content |
| utm_term | {{adset.name}} | broad-us-25-54 | Session manual term |
| utm_id (optional) | {{campaign.id}} | 1202... | Session manual campaign ID |
Example values are illustrative. Dynamic values checked against Meta Business Help, December 2026.
Shown on five lines to fit the screen. Join them into one line before pasting, or add each pair with Build a URL parameter:
utm_source=facebook
&utm_medium=paid
&utm_campaign={{campaign.name}}
&utm_content={{ad.name}}
&utm_term={{adset.name}}Why facebook and not meta or {{site_source_name}}? GA4 only counts a click as Paid Social when the source is on Google's list of social sites and the medium matches the pattern ^(.*cp.*|ppc|retargeting|paid.*)$ (Google Analytics Help). facebook is on that list. We could not confirm meta on Google's list, so with a paid medium it would likely land in Paid Other instead. Meta's {{site_source_name}} returns short codes such as fb and ig (Meta Business Help), which split one channel into several sources; if you want the Facebook vs Instagram split, put it in a separate parameter rather than in utm_source.
Why paid? It matches the paid.* rule, and it is the same medium Meta itself may add automatically. paid-social and cpc also pass. social does not: GA4 treats utm_medium=social as Organic Social, so paid traffic tagged that way is very likely miscounted as organic.
How GA4 is likely to file common source and medium pairs, based on Google's default channel rules:
| Source / medium you send | Likely GA4 channel | Why |
|---|---|---|
| facebook / paid | Paid Social | Social source and paid medium |
| facebook / social | Organic Social | social is an organic medium |
| meta / paid | Paid Other | Paid medium, source not confirmed as social |
| facebook / paid, campaign "Shopify Sale" | Paid Shopping | Campaign name matches the shopping rule |
| meta / ads | Unassigned | Neither value matches a rule |
| Tags stripped by a redirect | Direct or Referral | No campaign data arrives |

Drowning in Meta Ads?
Put your campaign on autopilot with Nova.
Read moreHow do I add UTM parameters in Meta Ads Manager?
UTMs go in the URL parameters field at the ad level, not typed into the Website URL. In Ads Manager, open the ad, scroll to Tracking, and paste the string into URL parameters, or use Build a URL parameter (Meta Business Help).
Three rules from Meta's help page change how this behaves in practice:
- The URL parameters field wins. If the same key appears in both the Website URL and the URL parameters field, Meta keeps the one in URL parameters.
- Tags only cover the first page. If a shopper leaves and comes back later on their own, that later visit is not tagged.
- No empty values. A key with nothing after the
=should be removed.
Meta's dynamic values are {{campaign.name}}, {{campaign.id}}, {{adset.name}}, {{adset.id}}, {{ad.name}}, {{ad.id}}, {{placement}} and {{site_source_name}}, plus {{media_type}} for Advantage+ catalog ads only (Meta Business Help). They work on Sales, Leads, Traffic, Engagement and Awareness objectives.
Meta also says that since January 1, 2024 it may add source (Facebook or Instagram), medium (paid) and campaign, ad set and ad IDs to ad traffic on its own, with a shorter set for Shopify merchants (Meta Business Help). "May" is the operative word. Your own string is the one you control, so set it rather than relying on automatic tags.
Which naming convention keeps campaigns readable?
Name everything before you publish, because Meta will not update the UTM later. Meta's dynamic name values take the campaign, ad set or ad name used when the ad was first published. You can rename the object afterwards, but the UTM keeps the original name, and the only way to change it is to publish a new campaign, ad set or ad (Meta Business Help).
An ad launched as "Copy of Ad 3" carries that name into GA4 and Shopify for its whole life, even after you rename it.
A naming pattern that holds up across all three readers:
- Lowercase, hyphens, no spaces. Spaces become
%20in the URL, and GA4 treats upper and lower case as different values. - Same order every time, for example
goal-audience-offer-date:prospecting-broad-bfcm-2611. - Keep "shop" out of campaign names. GA4's Paid Shopping rule matches campaign names containing "shop" or "shopping" with a paid medium, and Google lists that rule ahead of Paid Social. A Meta campaign called "Shopify Sale" can therefore end up in Paid Shopping rather than Paid Social (Google Analytics Help).
Meta also warns that changing URL parameters after a campaign is published may send the ad set back into the learning phase (Meta Business Help). Getting names and tags right before launch is cheaper than fixing them on a live ad.
How do I check that UTMs reach GA4 and Shopify?
Click through from your own live ad, confirm the landing URL carries the string, then look for the visit in GA4 and Shopify. The five-minute audit below catches most problems before they cost a week of data.
- Click through from the live ad ("View post" in Ads Manager) and check the address bar: every parameter present, no empty values, names in lowercase. Previews may not fill in dynamic values.
- In GA4, check Realtime first, because standard reports can take a day or two. Then open Reports > Acquisition > Traffic acquisition and switch the dimension to Session source / medium. You should see facebook / paid.
- Switch to Session default channel group and confirm the traffic sits in Paid Social, not Paid Shopping, Paid Other, Organic Social or Unassigned.
- For ad and ad set detail, add Session manual ad content and Session manual term by customizing the report or in an Exploration; they are not shown by default.
- In Shopify, open Analytics > Reports, set the category filter to Marketing, and check Performance by marketing campaign and Sales attributed to marketing for the campaign name.
Shopify's marketing reports use UTM source, medium and campaign, and the Growth > Attribution page summarizes the channel and campaign reports (Shopify Help Center). Note that Shopify changed its reporting in autumn 2026: Performance by marketing channel now includes all store traffic, Performance by marketing campaign replaced the older UTM campaign report, and a new session-measurement method rolled out from September 21 to 23, 2026, so session counts from before and after those dates may not compare cleanly (Shopify Help Center).
Why don't my UTM numbers match Meta Ads Manager?
They are not supposed to match, and the gap is rarely a UTM bug. Meta credits conversions to its own attribution windows, including views, while GA4 and Shopify start from the sessions that arrive with your tags and apply their own attribution settings. Our guide to why Meta and GA4 count differently covers the structural reasons in full; if the gap is in sessions rather than purchases, see why Facebook clicks and Shopify sessions never match.
Where this guide stops
UTMs answer one question: which ad sent this session. They cannot do the following.
- They do not fix attribution. A shopper who sees an ad, then later searches your brand, is a Meta view-through and a GA4 organic visit at the same time. No tag reconciles that.
- They lose ground to privacy settings. Ad blockers, consent choices, cookie limits and in-app browsers can strip or shorten sessions, so GA4 and Shopify likely undercount Meta traffic to some degree.
- They are not conversion tracking. The Meta pixel and the Conversions API tell Meta what happened on your site. UTMs only tell your analytics where the visitor came from.
- They are not a reporting pipeline. Pulling spend and results out of Meta for a dashboard is a job for the Insights API, not for URL tags.
- They do not prove lift. Whether an ad caused a sale is a question for an incrementality test, not a source/medium report.
Where Nova fits
UTM hygiene usually breaks at launch, when someone forgets the tags or types them into the Website URL. AdAdvisor, built by a team with 8+ years in paid ads, $60M+ in managed ad spend and an ex-Meta engineer, adds UTMs to every new creative through the URL parameters field, using utm_source=facebook, utm_medium=paid and your campaign, ad set and ad names, or a custom scheme mapped to your CRM fields that it saves to your account context. Nova, AdAdvisor's AI media buyer for Shopify stores, launches and manages Meta campaigns within your budget caps and approval queue, so the tags stay consistent as campaigns change.
FAQ
Summary
The best UTM setup for Facebook ads is one string that all three readers accept: facebook as the source, paid as the medium, and Meta's dynamic names for campaign, ad set and ad. Put it in the URL parameters field, name everything before launch because Meta freezes names at publish, and keep "shop" out of campaign names. Then check that GA4 files the traffic under Paid Social and Shopify credits the campaign. For Shopify store owners who would rather not police tags on every launch, Nova keeps that string consistent on every new creative.
Sources
All sources checked December 3, 2026.
- Meta Business Help Center: How to add URL parameters to your ads in Meta Ads Manager
- Meta Business Help Center: Specifications for dynamic URL parameters in Meta Ads Manager
- Google Analytics Help: Default channel group
- Google Analytics Help: URL builders and campaign parameters
- Shopify Help Center: Marketing reports
- Shopify Help Center: Analytics updates
Related reading

Analytics & Reporting
Meta Ads Attribution: Windows, Why Meta and GA4 Never Agree, and Which Number to Trust
Facebook attribution assigns credit by click and view windows, not last touch. Here's why Meta and GA4 always disagree, and which number to use for each decision.
Read more
Analytics & Reporting
Facebook Ads Clicks but No Sales: Is It Bot Traffic, Tracking or Your Store?
Clicks and add-to-carts but no sales? Before blaming bots, measure the right gap: link clicks vs landing page views in Ads Manager, and human vs bot sessions in Shopify, against your own baseline.
Read more
Analytics & Reporting
Meta Conversions API (CAPI): Setup, Deduplication, and Why You Still Need the Pixel
Set up the Meta Conversions API correctly: Shopify, WooCommerce, and direct integration paths, plus deduplication and Event Match Quality benchmarks.
Read more
Performance Optimization
Link Clicks vs Landing Page Views in Facebook Ads: Why the Numbers Differ
A link click is a tap on your ad's link; a landing page view counts only when the page loads and Meta records it. Here is why the two differ and the order to diagnose the gap.
Read more
Analytics & Reporting
Shopify Meta Pixel Not Working or Duplicating Purchases? Checks by Symptom
No purchases in Meta, twice as many as Shopify, or $0 values? Match the symptom to its documented cause and check it in Shopify and Events Manager.
Read more
Analytics & Reporting
Meta Marketing API Insights: How to Pull Ads Data for Reporting
How to pull Meta ads data with the Marketing API Insights endpoint: a working request, reporting levels, breakdowns that break your totals, the two rate limits that matter most, and when to switch to async reports.
Read more



