Shopify revenue attribution for Meta ads
Clicks are what an ad platform can see. Orders are what your store knows. Revenue joins the two: install one script, connect Shopify's order webhook, and every paid order arrives signed from your store, matched to the visit and the campaign that produced it.
The ledger behind the campaign
Every order, and the visit that produced it.
Revenue
Shopify connectedRevenue
$24,180
Orders
186
From ads
71%
AOV
$130.00
Transactions
Last 7 daysIllustrative preview with sample data. Every order is Shopify's own signed statement about money it processed; an order that never passed your storefront carries no visitor id and is credited to no campaign.
Setup
Two changes in Shopify, then it runs on its own
- 01
Create a Shopify app for your store
In the Shopify Dev Dashboard, create an app with two permissions — read orders and manage script tags — and install it on your store. It is your app, in your own Shopify organization, and you can uninstall it at any time.
- 02
Connect it in Revenue settings
Paste the app's Client ID and secret. AdRiseLab installs the tracker on your storefront and registers the order and refund webhooks for you — nothing to paste into your theme. The script writes the visitor id into the cart, hidden from your customers at checkout.
- 03
Watch the orders land
Shopify copies the cart attribute onto the order, so each sale arrives credited to the visit and the campaign that produced it. Retries of the same order never count twice.
Shopify's checkout will not run this script, or any other — checkout.liquid closed in August 2025 and Additional Scripts stopped running on the thank-you and order-status pages in August 2026. That is why orders come from the webhook rather than a page. Data starts only after the script is installed and the required analytics consent is granted.
The AdRiseLab workflow
From account data to your next campaign
- 01
Understand performance
Review spend, delivery and response in your connected Meta account.
- 02
Decide what to do next
Ask the AI agent to investigate a change and explain the evidence behind a proposed action.
- 03
Build the next creative
Turn a product input and test hypothesis into visual and copy concepts.
- 04
Publish to Meta
Review the campaign settings and confirm launch, then follow the results in reporting.
- 05
Measure the revenue
Connect your store and credit each order back to the visit and the campaign that produced it.
Reported by the payment provider
Every sale is Stripe's or Shopify's own signed statement about money it processed. Nothing a web page sends is counted as revenue, so a number cannot be inflated by a reloaded thank-you page.
The visit behind the sale
Every order carries the journey that produced it — the source, the campaign, the pages in between. Attribution stops being a platform claim and becomes a record on your own side.
Meta comparison on the same screen
Your website ledger sits above Meta's own reported conversions. It is a separate measurement, shown side by side rather than merged, so a gap between the two is visible instead of averaged away.
One currency, one timezone
Currencies are never added or silently converted. Choose the same currency and timezone as your Meta ad account when you register the site and both sides of the comparison stay readable.
Honest about what it cannot credit
A point-of-sale sale, a draft order or some subscription apps never pass the storefront, so they carry no visitor id. They count as revenue and are credited to no campaign, rather than inflating one.
Works beyond Shopify
Sites that sell through Stripe Checkout connect Stripe with a restricted key and pass the visitor id into the Checkout Session. Payments and refunds then arrive from Stripe itself.
Close the loop on orders, not clicks
Connect your store and your Meta account, and judge each campaign against the revenue your own store confirmed.
Get StartedPlans from $39/mo · Cancel any time · Review settings before confirming launch
Frequently Asked Questions
How do I connect Shopify orders to my Meta ads?
Do I need to add tracking code to the Shopify checkout?
Where do the revenue figures come from?
Why does revenue not match what Meta Ads Manager reports?
Can I use revenue analytics without Shopify?
Which orders cannot be credited to a campaign?
Does revenue tracking need cookie consent?
Explore Other Modules
Continue through the AdRiseLab workflow without returning to the home page.
Creative Generation
Turn URLs into AI-generated ad creatives
AI Ad Copy
Claude-powered ad copywriting
Campaign Builder
3-step Meta campaign creation
Account Analytics
Connected Meta account performance
Performance Reports
Campaign results and creative-health review
Competitor Intelligence
AI-powered Ad Library analysis
AI Video Ads
UGC avatars and cinematic product videos
AdFlow UGC
AI creator-style UGC ads, no creators
AI Media Buyer
Investigate results and review next actions
See It Applied to Your Setup
How teams like yours run Meta ads, and what it costs to start.