How to find out where your Shopify customers actually come from
Shopify reports use last-click and UTM data, ad pixels need consent, and a Thank you page survey records what customers remember. Read all three.
No single source tells you where every customer came from. Shopify’s reports and order attribution show clicks and last-click credit, ad platform pixels add consented conversion data, and a survey on your Thank you page records what customers remember. The three disagree on purpose, and you read them together.
What Shopify’s reports and order attribution show
Shopify groups its numbers in two places. The Growth page summarizes the marketing activities and campaigns you create in Shopify. Analytics › Reports covers all the traffic that reaches your store, whether it came from a campaign or not. On Growth you get a marketing summary, including sales and orders attributed to marketing, and traffic insights such as Top traffic sources and Top sales sources.
In Analytics › Reports, filter the Category to Marketing for reports including Performance by marketing channel, Performance by marketing campaign, Sales attributed to marketing and Sessions attributed to marketing campaigns. The Performance by marketing channel report shows paid, organic and referring traffic together, with sessions, sales, orders and conversion rate, plus ad spend, return on ad spend and cost per acquisition when a connected channel reports cost data. Traffic that arrives with utm_campaign in the URL counts as attributed to marketing.
Attribution is a choice of model. When a report has a sales metric and a marketing dimension, an Attribution menu appears with Last non-direct click, Last click, First click, Any click and Linear. In a report that meets those conditions the Last click model is selected by default, while Performance by marketing channel starts on Last non-direct click. Last-click credit goes to the last channel a customer touched before buying, which is not the same as the channel that first introduced them.
Shopify sorts referrers into first and last interaction. The referrer source is one of Direct, Search, Email, Social or Unknown. For direct traffic, the referrer name shows as N/A when Shopify can’t work it out, for example when a browser has Do Not Track switched on, a proxy or firewall blocks referrer data, or the link was a shortened URL.
Attribution also forgets. If a visitor doesn’t buy within 30 days of a session, the first interaction referrer resets to whatever comes next. After an order, the next referrer counts as a first interaction for the following order.
For a single order, open it from Orders and read the Conversion summary. It shows the customer’s total orders, their total visits in the last 30 days, and the origin of their first visit, plus View conversion details for the visit timeline. When full visit tracking isn’t available, a shorter summary can still show the order numbering, the source or referrer, such as chatgpt.com, and the landing page. The summary can be empty when apps or private browsers block cookies, when the order started as a draft order, or when it didn’t come through the Online Store or Hydrogen sales channel. Conversion details can take up to 48 hours to appear.
What ad platform pixels can and can’t see
The official sales channel apps send conversion data back to the ad platform. In Facebook & Instagram, the Data sharing settings offer three levels. Standard sends browsing behavior through the Meta pixel, while Enhanced and Maximum add the Conversions API, which sends the purchase event between Shopify and Facebook servers so a browser ad blocker can’t stop it. Enhanced and Maximum also share customer information such as name, location, email and phone. The Meta pixel’s Purchase event fires when a customer completes a purchase and views the Thank you page. Google & YouTube is managed by Google, and Shopify’s Help Center points to Google Merchant Center for setup and conversion tracking.
Pixels are where consent bites. Pixels load on the storefront, checkout, Thank you page and Order status page. In markets configured to require consent, a pixel runs only when the visitor has granted the permissions that pixel declares, and by default new pixels require Marketing and Analytics permission. A pixel configured as a data sale doesn’t run for customers who opted out of data sales or sharing, unless the pixel supports limited data use. A pixel count is therefore a count of consented sessions, and a cookie banner can reduce the sessions and conversions Shopify itself reports. The Customer Privacy API is the switchboard behind this: a pixel can read the visitor’s consent state and listen for changes, and a pixel that respects it stops sending when consent is missing.
Pixels also run in a sandbox, isolated from the rest of the page. They can’t read an email address or phone number typed into a form by scraping the page, and they can’t track outbound link clicks or page scrolling. Most conversion pixels still handle standard checkout events, and you can pass extra data to them yourself.
What a Thank you page survey can tell you
A survey answer is self-reported. It records what the customer remembers or believes influenced them, not what they clicked. That is both its strength and its limit. It can capture a friend’s recommendation, a podcast, a market stall or a recommendation they saw but never clicked, none of which leaves a click for a pixel or a referrer to record. It can also fill in the orders your reports mark Direct or N/A.
It is not a click log. One multiple-choice answer forces a multi-touch journey into a single box, so a customer who saw an Instagram post, searched Google and then clicked an email picks one of them. The wording and order of the options can nudge the answer, and memory drifts. Treat it as a reading of awareness and influence, and read it next to the attributed numbers rather than instead of them. How to ask “How did you hear about us?” covers the wording.
The Thank you page is the right place to ask. It displays once, right after payment, and Shopify’s developer docs list survey requests as a use for that page. Since the August 26, 2026 upgrade, content there comes from app blocks (pieces of an app you place on the page), not scripts, so tracking belongs in pixels instead. If your old scripts stopped working, see Shopify additional scripts are gone: what to use instead.
Reading the three together
- Use Shopify’s reports for scale: sessions, orders, sales, and cost and return on ad spend for connected channels.
- Use pixels for the picture inside the ad platform, while remembering the consent gap.
- Use the survey for channels that leave no click and for the language customers use.
- Where they disagree, don’t pick a winner. A survey that says friend or family next to a report that says Direct is telling you about word of mouth. A survey that says Instagram next to a last click on Google is showing the gap between what someone remembers and what they clicked last.
- Give it volume. A handful of answers is an anecdote, so wait until each option has enough answers that a change would move the ranking.
Doing this with Afterglow
Afterglow’s survey block runs on the Thank you page. Turn it on in the Afterglow admin, edit the question, and read the answers under Responses, where Export CSV downloads one row per response with a column for each question plus Submitted at, Order and Customer ID. The survey is on the Free plan, which collects up to 100 responses a month. Starter is $9 a month for unlimited responses, Growth is $29 and adds order tracking, Pro is $49 and adds referral discount codes, and paid plans have a 14-day free trial.
If you use Shopify Flow, the Afterglow Survey answer submitted trigger sends the order, the question and the answer when a shopper answers, with one event per answered question. A workflow can tag the order or alert staff. Shopify Flow is a free app on Basic and higher.
Two limits to plan around: the survey shows on the Thank you page only, so a customer who leaves before answering can’t be asked later, and a self-reported answer measures memory and influence, not clicks.
Sources
- Measuring marketing performance (Shopify Help Center), checked October 12, 2026
- Marketing reports (Shopify Help Center), checked October 12, 2026
- Viewing order conversion summary (Shopify Help Center), checked October 12, 2026
- Facebook data sharing (Shopify Help Center), checked October 12, 2026
- Meta pixel (Shopify Help Center), checked October 12, 2026
- Pixels overview (Shopify Help Center), checked October 12, 2026
- Configuring customer privacy settings (Shopify Help Center), checked October 12, 2026
- Customer Privacy API (Shopify Dev), checked October 12, 2026
- Pixel Privacy (Shopify Dev), checked October 12, 2026
- About Thank you and Order status page customization (Shopify Dev), checked October 12, 2026
- Google & YouTube (Shopify Help Center), checked October 12, 2026
- Upgrading and replacing your Thank you and Order status pages (Shopify Help Center), checked October 12, 2026
- Shopify Flow (Shopify Help Center), checked October 12, 2026