UTM Parameters for Meta Ads on Shopify: The Setup
By Albertas Pocius · 100M+ spent on ads · Updated 4 Dec 2026
UTMs are the second opinion on your ads. Meta says what Meta thinks it sold. UTMs let Shopify and GA4 tell you what came from which campaign, ad set and ad.
Quick map first. A UTM is a tag on the end of your link, like ?utm_source=facebook. When someone clicks, your store and analytics read the tag and know where the visit came from.
The parameters I use
Paste this into the URL parameters field of every ad:
utm_source=facebook&utm_medium=paid&utm_campaign={{campaign.name}}&utm_content={{ad.name}}&utm_term={{adset.name}}
The parts in {{ }} are Meta's dynamic parameters. Meta fills in the real names when the ad runs, so you set it once and never type a campaign name again.
- utm_source = facebook (Instagram ads come through the same tag; the placement is in Ads Manager)
- utm_medium = paid, so it never mixes with your organic posts
- utm_campaign, utm_term, utm_content = campaign, ad set and ad names
Where to put it
In Ads Manager, open the ad, scroll to Tracking, and paste it into URL parameters. Not into the website URL itself. Select several ads and paste once to do them all.
Name your campaigns and ad sets so the names mean something. "Test 14 - reviews angle" tells you more in a report than "New Sales Campaign 3".
Where to read it
- Shopify: Analytics, then the reports for sessions and sales by referrer or UTM campaign. Good for checking which campaigns actually bring orders.
- GA4: Reports, Acquisition, Traffic acquisition. Switch the dimension to session campaign or session manual ad content.
What UTMs won't fix
UTMs only count clicks that land in the same browser that buys. Someone who sees your ad on their phone and buys on the laptop later won't carry the tag. That's why UTM numbers are usually lower than Meta's. Neither is the full truth. Look at the gap, and at total store sales (MER).
More on why the numbers never match: Facebook and Shopify numbers don't match. And the server side of tracking: Conversions API on Shopify.
FAQ
What UTM parameters should I use for Facebook ads?
utm_source=facebook, utm_medium=paid, and Meta's dynamic parameters for campaign, ad set and ad names, added once in the URL parameters field.
Do UTMs affect my Facebook ads performance?
No. They only tag the link. Meta's own tracking works the same with or without them.
Why do UTM numbers show fewer sales than Meta?
UTMs only see clicks that buy in the same browser. Meta also counts views and cross-device sales. Expect a gap.