UTM Parameters for Meta Ads on Shopify: The Setup

By · 100M+ spent on ads · Updated 4 Dec 2026

Short answer

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.

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

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.

Part of the full guideMeta ads for Shopify: the setup I use, step by step
Was this useful?

More guides

TrackingConversions API on ShopifyOne app, one setting, 3 checks. 10 minutes.TrackingMy Ads Manager columns for ecommerceThe preset I use, with 3 custom funnel metrics.TrackingWhat's a good Shopify conversion rate?Benchmarks for each funnel step, and how to find your leak.TrackingFacebook and Shopify numbers don't matchMeta says 50 sales, Shopify says 40. Why, and how to find your real gap.

All guides