Skip to content

Attribution

Meta ads attribution for Shopify: how it works and how to check it

Meta decides which sales its ads get credit for using windows, view-through rules and modeling. Here is how that works, where it goes wrong and how to check it against your customers.

Yforms team, Product & growthPublished 9 min read

On this page

Meta ads attribution is the set of rules Meta uses to decide which of your Shopify orders its ads caused. It counts a purchase if someone clicked or viewed one of your ads within a set window before buying, and it fills gaps it can't observe with statistical modeling. This guide explains the windows, view-through credit and modeled conversions, why Meta can claim too much or too little, and a simple monthly check that compares Meta's number with what your customers say.

Short version: Meta's number is a useful signal for comparing ads against each other inside Meta. It is a weak answer to “how many sales did Meta really bring?”. For that you need a second source that Meta doesn't control.

How Meta attributes a purchase

Three things have to happen for Meta to count a sale. Someone sees or clicks your ad. Later, your store sends Meta a Purchase event, from the Meta pixel in the browser, from the Conversions API on the server, or both. Meta then matches that event to a person it showed the ad to, and checks whether the purchase fell inside the attribution window you chose.

Matching is the weak link. Meta matches on what it knows: a logged-in Facebook or Instagram user, a click ID passed in the landing page URL (the fbclid parameter), and customer details such as a hashed email or phone number sent with the event. The Conversions API (opens in a new tab) exists so that a server can send those details even when the browser pixel is blocked. Shopify's Facebook and Instagram sales channel can set up both for you.

When Meta can't match a purchase directly, for example because the person declined tracking on an iPhone, it may estimate it. More on that in the section on modeled conversions.

Attribution windows: click, view and engaged view

An attribution window is how long after an ad interaction Meta will still take credit for a purchase. You choose it per ad set. Since Apple's tracking changes in 2021, the default has been 7-day click and 1-day view. The options Meta offers change from time to time, so check the current list in your ad set settings.

Common Meta attribution settings. Check Ads Manager for the options available to your account
SettingWhat countsWhat it tends to do
1-day clickA purchase within 24 hours of clicking the adStrictest. Closest to what Shopify sees as an ad click
7-day clickA purchase within 7 days of clickingCatches people who think it over for a few days
1-day viewA purchase within 24 hours of seeing the ad, with no clickWhere most over-credit comes from
Engaged view (video)A purchase after watching a video ad for a set time, with no clickCredits video that people watched but didn't tap. Check the current rules

Two details catch people out. First, the window you set for optimization and the window you view in reports can differ. Ads Manager's “Compare attribution settings” option lets you see the same campaign under several windows side by side. Second, Ads Manager reports a purchase on the date of the ad click or view, not the date of the order. A sale on the 3rd of the month from a click on the 29th of the month before lands in last month's Meta report.

View-through credit: the part to question

A view-through conversion is a purchase by someone who saw your ad, didn't click it, and bought within a day. Meta counts it because ads do work without clicks. People see a video in their feed, remember the brand, and search for it later.

The problem is that many view-through buyers would have bought anyway. If you retarget people who already have a product in their cart, a lot of them will see your ad in the next 24 hours simply because they scroll Instagram every day. Meta takes the credit, but the email reminder or their own intent did the work.

A quick test: in Ads Manager, add the breakdown that splits results by click and by view for your retargeting campaigns. If most of a retargeting campaign's purchases are view-through, be skeptical of its return on ad spend. Prospecting campaigns aimed at people who have never visited are less exposed, because those viewers had no prior intent to buy.

Modeled conversions and why the number moves

Since iOS 14.5, apps on Apple devices must ask permission before tracking people across other companies' apps and websites (Apple (opens in a new tab)). When someone declines, Meta loses the direct link between the ad they saw in Instagram and the purchase on your site.

Meta's answer is modeling. It uses the purchases it can observe to estimate the ones it can't, and adds those estimates to your reported results. Meta also delays some reporting so it can process events in aggregate. In practice this means:

  • Recent days change. Yesterday's purchase count can rise over the next few days as delayed and modeled conversions arrive. Don't judge a campaign on the last 72 hours.
  • You can't audit individual sales. A modeled purchase has no order number behind it. You can't look it up in Shopify.
  • The total can exceed what's possible. Add Meta, Google and TikTok's claims together and they often pass your real order count, because each counts the same buyer.

Modeling isn't dishonest. It's a reasonable estimate for a platform that has lost part of its view. But it is Meta grading its own work, which is why you need a check that sits outside Meta.

Why Meta over-credits and under-credits

Meta's number is wrong in both directions, often at the same time on different campaigns. Knowing which way each error pushes helps you read the report.

The common sources of error in Meta's reported purchases
Pushes Meta's number upPushes Meta's number down
View-through credit for people who would have bought anywayBuyers who saw the ad on their phone and bought later on a laptop
Retargeting audiences full of existing intentPeople who saw the ad, then searched your name on Google days later
The same sale also claimed by Google, TikTok or emailBuyers outside the window, such as a click 10 days before buying
Modeled estimates that run highPurchase events the pixel and Conversions API both missed
Credit for repeat buyers who were coming back regardlessWord of mouth that started with a friend seeing your ad

Here is an illustrative example, not a benchmark. A skincare brand doing $40k a month spends $12k on Meta. Ads Manager reports 290 purchases on 7-day click and 1-day view. Shopify shows 820 orders in the month. Shopify's last non-direct click report credits 140 orders to Facebook and Instagram. Which is right?

Probably neither. The 140 misses people who saw an ad and came back by typing the URL or searching. The 290 includes some retargeted buyers who were coming anyway. The true figure sits somewhere between, and the brand needs a third source to say where.

How to check Meta's number with customer answers

The cheapest outside check is to ask buyers. Put “How did you hear about us?” on the Shopify Thank you page and include Instagram and Facebook as options. Customers don't know about attribution windows. They tell you what they remember. That memory is imperfect too, but its errors are different from Meta's, which is what makes it useful.

  1. Ask on every order. One question on the Thank you page, single choice, with Instagram, Facebook, TikTok, Google, a friend, a podcast and Other. Our guide to the how did you hear about us survey has answer options by store type.
  2. Count a month. At the end of the month, take the share of answers that named Instagram or Facebook.
  3. Project it onto orders. Multiply that share by the month's total orders. If 30 percent of 400 answers say Instagram or Facebook and you had 820 orders, customers point to roughly 246 Meta-driven orders.
  4. Compare with Meta. Put Meta's reported purchases next to it. In the example, 290 against 246 is close. A Meta number two or three times the survey estimate is the signal to dig in.
  5. Compare cost per order. Divide Meta spend by each number. $12,000 over 290 is about $41 per order by Meta's count, and about $49 by customers' count. Plan budgets on the higher one until a test says otherwise.

Do this by month, not by day. Survey shares swing on small numbers, and Meta's recent days are still filling in. With fewer than a few dozen answers in a month, treat any comparison as rough.

Yforms does this comparison for you. On the Growth plan, the Ads vs customers report puts three numbers side by side for each channel and month: what customers said on the Thank you page, what Shopify's last click says, and what you type in from Ads Manager. It shows cost per order each way and flags channels where the platform claims far more, or far less, than customers say. Today you enter Meta's figures by hand. See how it works.

Settings and hygiene that make Meta's number more useful

You can't make Meta's attribution neutral, but you can make it cleaner and more consistent.

  • Send events from the server too. Use the Conversions API alongside the pixel, through Shopify's Facebook and Instagram channel or your own setup, and make sure events share an event ID so Meta counts each order once.
  • Check Event Match Quality. Events Manager scores how well your events can be matched to people. Low scores usually mean customer details aren't being sent.
  • Pick one reporting window and keep it. Changing from 7-day click to 1-day click halves some campaigns overnight. Nothing changed but the ruler.
  • Report retargeting separately. Judge prospecting and retargeting on their own numbers, and view retargeting on a click-only window.
  • Tag your links. Add UTM parameters to every ad so Shopify can credit clicks too. Our guide to UTM parameters for Shopify has a template.
  • Watch blended numbers. Total revenue divided by total ad spend (often called MER) can't be gamed by any one platform's attribution.

Which number to use for which decision

Use each source for the job it does well. Inside Meta, its own attribution is fine for choosing between creatives, audiences and ad sets, because the bias is roughly the same across them. For how much to spend on Meta in total, lean on sources Meta doesn't control: customer answers, blended revenue and, when spend is large enough, a test that turns ads off for a group. Our post on incrementality testing shows how small brands can run one.

If Meta and your customers roughly agree, you can trust Meta's day-to-day numbers more. If they disagree by a wide margin month after month, the customer number is the one to plan your budget with, and Meta's is the one to optimize ads with. For the wider picture of how Shopify, analytics and surveys fit together, read our guide to Shopify marketing attribution. If the gap you're chasing is specifically Shopify against Ads Manager, see why Shopify and Meta ads numbers don't match.

Questions

What is Meta's default attribution setting?

For most ad sets it has been 7-day click and 1-day view since 2021. Meta adjusts the available options from time to time, so check the attribution setting in your ad set and the comparison view in Ads Manager.

Should I turn off view-through attribution?

Not necessarily for prospecting, where views do drive later searches. For retargeting, view a click-only window alongside the default, because view-through credit there often goes to people who would have bought anyway.

Why do Meta's results change after a few days?

Some events arrive late and some conversions are modeled after the fact. Recent days fill in over the following days, so judge campaigns on a week or more of settled data.

Is a post-purchase survey more accurate than Meta's attribution?

It's differently wrong. Customers can misremember or name the last thing they saw, but they can't double-count and they mention channels Meta never sees. Use the two side by side and look at the gap.

Start free on Shopify

Hear from every customer after they buy.

Yforms asks one short question on your thank-you page, when the order arrives and after use. Free for up to 200 orders a month, and every new store gets 14 days of Growth.

Keep reading