Attribution
Shopify marketing attribution after iOS 14: what still works
Meta, Google, GA4 and Shopify all claim different numbers for the same month. Here is why, and a simple way to read four views side by side and decide where to spend.
Yforms team, Product & growthPublished 10 min read
On this page
Shopify marketing attribution is the job of working out which channels earned your orders. It used to be a report you glanced at. Now Meta, Google, GA4 and Shopify each give you a different answer for the same month, and none of them is complete. This guide explains how Shopify attributes orders, what iOS 14 and cookie loss broke, and a tool-neutral way to combine four views, including self-reported answers from a post-purchase survey, into one monthly decision.
How Shopify attributes orders
Shopify records the visits that come before an order: where each one came from (a referrer, a UTM tag, or nothing) and when. It then hands credit to one or more of those visits according to an attribution model.
Attribution models in Shopify
Shopify offers five models, and last non-direct click is the default (Shopify (opens in a new tab)).
| Model | Who gets the credit | Good for |
|---|---|---|
| Last non-direct click (default) | The last visit that came from a marketing channel, ignoring direct visits | A practical everyday view |
| Last click | The very last visit, even if it was direct | Seeing how many people come back on their own |
| First click | The first visit Shopify recorded | Rough view of what starts journeys |
| Linear | All recorded visits share equally | Long journeys with several channels |
| Any click | Every channel that appeared gets full credit | Seeing every channel that touched an order (totals add up to more than 100%) |
Every model shares the same limit: it can only use visits Shopify could connect to the buyer. If the first visit happened on a phone and the purchase on a laptop, or if a cookie expired in between, the model never sees the earlier visit. Changing the model doesn't bring those visits back.
What iOS 14 and cookie loss broke
Marketing attribution after iOS 14 is harder for two separate reasons. One affects ad platforms, the other affects your site analytics.
App Tracking Transparency
Since iOS 14.5, an app must get permission through Apple's App Tracking Transparency prompt before it links what you do in the app with data from other companies' apps and websites for ads or ad measurement. If the person doesn't allow it, the app gets an advertising identifier of all zeros (Apple (opens in a new tab)).
For you, that means Instagram, Facebook and TikTok can't reliably connect someone who saw an ad in their app with an order on your site. Platforms fill the gap with modeled or aggregated numbers. Some purchases they caused go unreported. Others are estimated. Their dashboards are now part measurement, part model.
Shorter cookies and more devices
Safari caps cookies set by JavaScript at seven days (WebKit (opens in a new tab)). Many analytics and ad tags set their cookies that way. A shopper who clicks an ad, thinks about it for ten days and comes back can look brand new. Add phones, laptops, work computers and in-app browsers, and one buyer often looks like several strangers.
Why “direct” and “organic” are inflated
When analytics can't tell where a visit came from, it doesn't drop it. It files it under direct. When the visit came from a search for your brand name, it files it under organic search. Both buckets end up holding demand that other channels created.
- Dark social. A link sent in a text, a DM or a group chat often arrives with no referrer. See our guide to dark social.
- Offline and audio. A podcast ad, a creator's video on a TV, a friend's recommendation over dinner. The buyer types your URL or searches your name.
- AI assistants. Someone asks ChatGPT for a recommendation and later searches for the brand it named. Some clicks from ChatGPT do carry a tag (see our guide to tracking ChatGPT traffic), but the type-it-in-later path doesn't.
- Lost cookies. A returning visitor whose cookie expired looks like a new direct visit.
So when direct and branded search grow faster than anything else, it rarely means people are finding you out of thin air. It usually means some channel is working and not getting the credit.
Four lenses: platform, analytics, MER, self-reported
No single tool can answer the question any more. Use four views, each for what it's good at.
| Lens | What it measures | Biased toward |
|---|---|---|
| Ad platforms (Meta, Google, TikTok) | Conversions each platform links to its own ads, partly modeled, including view-throughs | Over-claiming: each one counts orders the others also claim |
| Shopify and GA4 | Orders by the visits they could connect | Last touches you can click: search, email, direct |
| MER | Total revenue divided by total marketing spend | Nothing, but it can't say which channel did the work |
| Self-reported (survey) | Where the buyer says they heard about you | Memorable channels, and the people who answer |
MER, the number that can't be fooled by attribution
MER, or marketing efficiency ratio, is total revenue divided by total marketing spend for the same period. If you took $120,000 in a month and spent $30,000 on marketing, your MER is 4 (example numbers). It ignores attribution completely, which is its strength. It tells you if marketing overall is paying back. It can't tell you which channel to cut.
Some teams use new-customer revenue instead of total revenue, which keeps repeat orders from flattering the number. Pick one definition and keep it.
Self-reported attribution, done properly
Self-reported attribution means asking the buyer. Most stores do it with one question on the Shopify Thank you page: “How did you hear about us?”. It sees exactly the channels the other lenses miss: podcasts, creators, word of mouth, AI assistants. Our how did you hear about us survey guide covers the wording and the answer options in detail. Here we focus on how to use the data.
Extrapolating from survey responders to all orders
Not everyone answers. To estimate orders by channel, take each channel's share of answers and multiply by total orders for the period.
- Export the month's answers with the order number.
- Count answers per channel, and divide by total answers to get shares.
- Multiply each share by the month's total orders (or new-customer orders, if you're measuring acquisition).
- Do the same for revenue if your answers carry the order total.
This works best with a few hundred answers a month. Below that, combine two or three months before you read it.
Where survey data is weak
- Memory. People name the most memorable touch, not every touch. A retargeting ad that tipped them over is rarely the answer.
- Who answers. If repeat customers answer more often than new ones, their channels look bigger. Split new and returning buyers where you can.
- List order. Options near the top of a list get picked more often in self-filled surveys (Pew Research Center (opens in a new tab)). Randomize if your tool allows.
- Broad options. “Instagram” mixes paid, creators and friends. A follow-up question fixes this.
A worked monthly reconciliation
Here is a simple sheet you can rebuild each month. All numbers below are examples for illustration, for a store with 2,000 orders in the month.
| Channel | Platform-reported orders | Shopify (last non-direct) | Survey estimate |
|---|---|---|---|
| Meta (Instagram and Facebook) | 780 | 420 | 700 |
| Google (search and shopping) | 650 | 610 | 300 |
| TikTok | 210 | 90 | 240 |
| Podcasts | Not tracked | 10 | 160 |
| Friends and family | Not tracked | Mostly direct | 300 |
| Direct and unknown | n/a | 620 | n/a |
How to read it:
- Platforms add up to more than your orders. Meta and Google together claim 1,430 of 2,000 orders before TikTok. Each one counts orders the others also count. Don't add platform numbers.
- Meta in this example is under-counted by Shopify and roughly confirmed by the survey. That suggests Meta's own figure is closer to right than Shopify's last-click view, which loses people who saw an ad and bought later.
- Google is the reverse. Shopify and the platform both give it a lot of credit, but few buyers say they found the brand on Google. Much of that is people searching a name they heard elsewhere. Branded search is capturing demand, not creating it.
- Podcasts and word of mouth only appear in the survey. Without it, they'd look like a waste of money and a rounding error.
Then check the whole thing against MER. If every channel looks great but MER is falling, something is over-claimed. Decide budget shifts on the channels where two or three lenses agree, and test where they disagree.
Clean inputs before clever models
Most attribution arguments are really data-quality problems. Fix these first, because every lens above depends on them.
- Tag every link you control. Ads, emails, SMS, creator links and bio links should all carry UTM tags with one naming scheme. Write it down: lowercase, source is the platform, medium is the type (cpc, email, social, influencer).
- Give offline channels a way in. A vanity URL or code for each podcast and creator, so at least some of their sales are trackable.
- Keep your survey options stable. Changing the list breaks trend lines. Add new options twice a year, not every month.
- Record the order number with every survey answer. It's what lets you split new and returning buyers and add revenue.
- Note changes in a log. New campaigns, a price change, a creator post, a site outage. When a number jumps, the log usually explains it.
When to add MMM or incrementality tests
The four lenses are enough for most stores. Two heavier methods help when spend gets large or the lenses keep disagreeing.
- Incrementality tests. Turn a channel off (or on) in some regions or for some audiences and compare against the rest. It's the most direct answer to “would these sales have happened anyway?”. You need enough volume for the difference to show.
- Marketing mix modeling (MMM). A statistical model that links spend over time to sales, without user-level tracking. Open-source options exist, such as Google's Meridian (opens in a new tab) and Meta's Robyn (opens in a new tab). They need a long history of spend and sales and someone comfortable with the stats.
Survey data helps both. It gives a model a signal for channels that have no spend line, such as word of mouth. And it gives you a quick read on whether a test result matches what customers say. If you also use an attribution platform, see how its built-in survey compares in our post on the Triple Whale post-purchase survey.
A simple monthly routine
- Pull MER for the month. Is marketing paying back overall?
- Pull platform-reported conversions and Shopify's numbers under one fixed model.
- Pull survey shares, split into new and returning buyers, and convert to estimated orders.
- Put them in one table. Mark the channels where lenses agree and where they don't.
- Move budget on agreement. Plan a test on disagreement.
- Read the survey's Other write-ins for new channels.
It takes an hour once the sheet exists. It replaces arguments about whose dashboard is right with a decision you can explain.
Questions
What attribution model does Shopify use?
Shopify's default is last non-direct click: the last visit that came from a marketing channel gets the credit, and direct visits are skipped unless the journey had nothing else. You can also switch reports to last click, first click, linear or any click. Pick one for regular reporting so changes reflect your marketing, not the model.
What is an attribution window?
It's how far back a tool looks for a click or view to credit after an order. Each ad platform and analytics tool sets its own, and some count ad views as well as clicks. That's one reason the same order is claimed by several tools. Check each tool's current settings before you compare their numbers.
What is self-reported attribution?
It is attribution based on what customers tell you, usually from one “How did you hear about us?” question after checkout. It captures channels tracking misses, such as podcasts, word of mouth and AI assistants. It's limited by memory and by who answers, so it works best read next to click data, not instead of it.
How do you calculate MER (marketing efficiency ratio)?
Divide total revenue by total marketing spend for the same period. For example, $120,000 in revenue and $30,000 in spend gives an MER of 4. Some teams use new-customer revenue instead, to keep repeat orders from inflating it. MER shows whether marketing pays back overall, not which channel did the work.
How did iOS 14 affect Facebook ad attribution?
From iOS 14.5, apps need permission through Apple's App Tracking Transparency prompt to track people across other companies' apps and websites, including for ad measurement. When people decline, Meta can't directly link an ad seen in its apps to a purchase on your site, so more of its reported conversions are modeled or missing.
Is self-reported attribution reliable?
It's reliable as a direction, not as an exact count. With a few hundred answers a month, fixed wording and randomized options, the shares are stable enough to compare month to month. Its blind spots are different from pixel tracking's, which is exactly why the two together are more reliable than either alone.
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.