98% of Shopify orders had no source: fixing D2C attribution
A D2C skincare and haircare brand saw ROAS from 1.2 to 2.4 depending on the dashboard, and 98% of Shopify orders had no source. Two weeks later: 1.6%, and one signed-off blended ROAS.
- 98% → 1.6%
- Orders with no source
- 2 weeks
- To a signed-off ROAS
Client: D2C skincare and haircare brand, India (anonymised) · Size: 20,000+ purchases and ₹50 lakh – ₹1 crore revenue a year · When: August 2026, two weeks · My role: measurement lead
The brief
“Before I invest heavily in paid advertising, I need to clearly understand where my traffic, leads and customers are coming from.”
The founder’s brief, paraphrased
The problem
Meta was the brand’s main sales channel, but nobody could say what it was actually returning. Meta, Google Ads, GA4 and Shopify each showed a different ROAS for the same month, from 1.2 to 2.4. Shopify listed almost every order with no source. The founder couldn’t tell how much each channel contributed, or which number to base budgets on.
What was actually wrong
- Each platform counted conversions by its own rules. Meta and Google together claimed about 110% of net sales, which means they were counting some of the same orders twice.
- The checkout app (Shiprocket Checkout) was creating the orders, so about 98% of them arrived in Shopify with no source attached.
- GA4 recorded about 6% more revenue per order than Shopify.
- Net sales ran about 10% below gross, so any ROAS calculated on gross revenue looked better than it really was.
What I did
The checkout app was already passing the landing-page URL on each order as an additional field. I set up analytics-enabled metafields in Shopify and derived the campaign fields from that landing-page URL, so orders could be tied back to their Meta and Google Ads campaigns.
I then brought Shopify orders (net of cancellations and refunds), Google Ads and Meta data into BigQuery, and designed a SQL reconciliation that compared what each platform claimed with the orders that actually happened. It ran first as a one-off audit and was then put on a schedule.
With the client, I agreed written rules on how credit is split between channels, whether revenue is measured as gross, net or delivered, and what the break-even ROAS is.
Outcome
- Orders with no source dropped from about 98% to 1.6%. Attribution showed from the next day, and was back-filled to past orders.
- Every major channel’s sales could finally be counted: Meta Ads drove 82.84% of orders, organic social 8.84%, Google Ads 3.87% and organic search 2.74%.
- Conflicting dashboard figures from 1.2 to 2.4 became one agreed blended ROAS of about 1.9, which the client signed off.
- With a single number and a documented method, budget on Meta and Google Ads now goes to the campaigns that bring fewer returns, fewer cash-on-delivery orders and higher margins.
- For the first time, the founder could see what was working and what wasn’t, including that Google wasn’t building the brand, and that marketplace sales were rented reach rather than owned demand.
Who did what
I designed the audit, the metafield logic, the BigQuery model and the rules. The client approved the attribution logic and the preferred touchpoints. Their developer set up the metafields, and their performance marketing team made the budget changes.
Tools: Shopify, Shiprocket Checkout, Google Analytics 4, BigQuery, Meta Ads, Google Ads.
See what your own site sends to GA4, Meta and Google Ads. Run the free GA4 and tracking audit
My role: audit, metafield logic, BigQuery model and rules. The client approved the attribution logic, their developer set up the metafields, and their performance team made the budget changes.
Related work
Numbers that don't agree?
Request a free 30-minute video call. No pitch deck, no obligation.