top of page

How to Track Facebook Ads Purchases on Shopify With UTM Parameters


How to Track Facebook Ads Purchases on Shopify With UTM Parameters

Facebook Ads Manager says you generated 5 purchases.


Shopify says you received 8.


So which number should you trust?


Tracking isn't always perfect. Privacy changes, attribution settings and differences between platforms can mean the numbers you see inside Meta don't perfectly match what you see inside Shopify.


One simple way to give yourself another layer of information is to use UTM parameters on your Facebook Ads.


This lets you identify traffic coming from your ads and investigate your Shopify orders with more context.


What Are UTM Parameters?


UTM parameters are small pieces of tracking information added to the end of a URL.


Instead of sending someone to:


your advertisement could use tracking parameters identifying information such as:


Source: Facebook

Medium: Paid Social

Campaign: Summer Sale

Content: Video 1


The customer still arrives at your website normally.


But you've added information that can help your analytics identify where that visitor came from.


Step 1: Create Your UTM Structure


Keep your naming system simple and consistent.


For example:


utm_source: facebook

utm_medium: paid_social

utm_campaign: product_launch

utm_content: ugc_video_1


Now when you're comparing campaigns and creatives, you have a much clearer naming structure.


Avoid randomly changing your naming conventions between advertisements.


Consistency makes the data considerably easier to understand later.


Step 2: Add URL Parameters to Your Facebook Ad


Inside Meta Ads Manager, go to the individual Ad.


Find the URL parameters section associated with your destination URL.


Add the UTM parameters you want to use.


For example:

utm_source=facebook&utm_medium=paid_social&utm_campaign=product_launch&utm_content=ugc_video_1


Now traffic from that advertisement carries those parameters when someone clicks through to your Shopify store.


Step 3: Use Different Parameters for Different Ads


This is where UTMs become particularly useful.


Imagine you're testing three creatives:


UGC Video

utm_content=ugc_video


Product Image

utm_content=product_image


Testimonial

utm_content=testimonial


Now you're not simply identifying:

Facebook → Shopify


You can potentially investigate which campaign or creative originally brought the visitor to your website.


That makes your advertising analysis much more useful.


Step 4: Compare Your Data


Don't rely blindly on one dashboard.


Compare information from:


Meta Ads Manager

Shopify

Your analytics


Meta Ads Manager helps you understand advertising performance and attributed conversions.


Shopify tells you what actually happened inside your store.


UTM parameters give you another way to understand where traffic originated.


Together, they give you a much clearer picture than looking at one number alone.


Watch the Tutorial



In the video above, I show you how to add UTM and URL parameters to your Facebook Ad campaigns and use them to help manually investigate purchases inside Shopify.


The original tutorial was created following the iOS 14.5 privacy changes, but the underlying idea remains useful today:


Don't depend on a single source of attribution data when making advertising decisions.


Found Your Sales? Now Calculate Whether Your Ads Are Actually Working


Tracking which advertisement generated a purchase answers one question:


Where did the customer come from?


But there's another, more important question:

Did you actually make money?


For that, you need to understand your ROAS.


The basic calculation is:

Revenue Generated ÷ Advertising Spend = ROAS


For example:

You spend RM1,000 on Facebook Ads.

Your Shopify orders generate RM3,000 in revenue.

Your ROAS is:

3.0x


But calculating it manually every time gets annoying.


Use the Free Facebook Ads ROAS Calculator


I've built a free SellToStrangers™ ROAS Calculator that does the calculation for you.


Enter your:

Ad Spend


Revenue


and the calculator will show you your ROAS so you can quickly understand how much revenue your advertising is generating for every RM1 spent.



Bookmark it and use it whenever you're reviewing your campaigns.


Tracking Is Only Useful If You Act on It


Ultimately, UTM parameters aren't going to make your Facebook Ads profitable.


They're there to give you better information.


You want to understand:

Which ad generated the customer?

How much did I spend?

How much revenue did it generate?

What's my ROAS?

Is that ROAS actually profitable for my business?


That's when tracking becomes useful.


You're no longer guessing whether your Facebook Ads are working.

You're using the numbers to decide what to stop, improve and scale.



Facebook Ads Mastery

Comments


Copyright ©SellToStrangers 2026.

bottom of page