How to Connect Shopify and Attribution to Claude for Custom Dashboards, Pacing and Cross-Referenced Data

Connect Shopify and Attribution to Claude and build custom dashboards that cross-reference sales, spend and ROAS, starting with a budget pacing report you refresh in one message.

  • MCP
  • Pacing
  • Dashboards
  • Shopify
  • Claude
Shopify Sales Attribution Spend and ROAS Claude · Custom dashboards attribution

In this post, you will learn how to connect Shopify and Attribution to Claude, and build custom dashboards that cross-reference your Shopify sales with the spend and ROAS Attribution measures for every channel. We'll start with the one most teams don't know they can build: budget pacing.

Here's what you will do:

  • Connect the Attribution MCP server and the Shopify connector in Claude.
  • Give Claude your budget plan and the sales you expect from it.
  • Build a pacing dashboard from one prompt.
  • Break Shopify sales down by sales channel, next to attributed revenue by source.
  • Refresh it on a schedule.
  • Optionally, check keywords, campaigns and ad groups in the same conversation.

Every client with a budget asks the same questions. How much have we spent? Are we ahead of plan or behind it? Which channels are driving the sales, and how much do we need to spend to hit the target? Answering them used to mean exporting from every ad platform, pulling sales from Shopify and rebuilding a spreadsheet of formulas, every time the budget changed.

With the Attribution MCP server and the Shopify connector both in Claude, the answers come from one conversation. Shopify gives the sales that actually landed. Attribution gives the spend from every platform and the revenue each channel earned across every touchpoint. Claude puts them side by side, in whatever dashboard you need.

Pacing is one of Attribution's lesser-known uses. Because Attribution already pulls spend from every connected ad platform, it holds the spend side of your plan by platform, campaign and day, with no exports. Cross-reference that with Shopify and you can see in one place whether you're on budget, on target and why. One agency we work with built its first pacing dashboard this way in about an hour of back and forth, and now refreshes it with one message. Read how Scrutiny Agency uses it to plan and pace a client's budget.

Prerequisites

To get started you will need:

  • An Attribution project with your Shopify store connected and your ad platforms connected, so spend sits next to revenue. Spend for platforms you haven't connected can be entered manually in Attribution. See the Shopify integration and ad integrations overview.
  • MCP turned on for your Attribution project. If your project doesn't have an MCP connection yet, request one from the Attribution help desk or your account manager. See the MCP server docs.
  • A Claude plan that supports connectors.
  • A Shopify staff account with access to the store's analytics and reports.
  • Your budget plan: spend by month and the sales target for the period. A spreadsheet is fine.
  • Optional Other connectors your client's data lives in, such as Klaviyo for email.

Why connect Shopify and Attribution in one dashboard?

Shopify and Attribution each have their own strengths and purpose. A dashboard is at its best when each one does the job it's built for.

Shopify is the source of truth for revenue, orders and sales channels. Total sales, order counts, average order value and the channel every order came through, from Online Store to Draft Orders and point of sale, all come straight from Shopify.

Attribution is the source of truth for marketing performance. It pulls spend and campaign data from your ad platform integrations (or the spend you enter manually), adds its own first-party tracking of every visit and builds attribution at the user level. That maps each customer's journey across every touchpoint, so you see the true ROAS for every channel, campaign, ad group and keyword instead of each platform claiming the whole sale.

Put them together and you can answer the pacing question and the "why" question in the same place:

NumberWhere it comes fromHow Claude gets it
Total sales, orders and AOVShopifyShopify connector (store analytics)
Sales by sales channel (Online Store, Draft Orders, point of sale, apps)ShopifyShopify connector
Spend by platform and by monthAttribution (integrations or manual entry)get_dashboard_report
Attributed revenue and ROAS by channel and campaignAttributionget_dashboard_report
This period against the same dates last yearBothget_dashboard_comparison and Shopify
New versus repeat customersAttributionget_first_time_purchasers_report
Keep in mind that the two revenue numbers won't match, and they shouldn't. Shopify's total sales include shipping and taxes. Attribution revenue is Shopify revenue net of tax, shipping and refunds. Label every figure on the dashboard with its source, and use Shopify for "did we hit the sales target" and Attribution for "which channels got us there".
One dashboard, two sources of truth.Claude reads both through their connectors. Neither tool's data changes.
ShopifySales · Orders · Sales channelsAttributionSpend · Revenue · ROASClaudeYour plan + both sourcesCustom dashboardsPacing, ROAS, channelsconnectorMCP server

Setting it up

Step 1: Connect Attribution in Claude

In Claude, open Connectors, find Attribution in the connector directory and click Connect. Your browser opens Attribution's sign-in screen. Sign in, pick the project, review the requested scopes and click Approve.

To confirm the connection, ask Claude to run whoami. It reports the connected account and project and the tools it can see.

Step 2: Connect Shopify in Claude

On the same page, find Shopify and click Connect, then sign in to the store and approve access. If you manage more than one store, connect the one for this client.

Check that it works with a question that only Shopify can answer:

Prompt · Check the Shopify connection
Use Shopify. What were total sales and orders last month,
broken down by sales channel?
Keep in mind that the Shopify connector reads your store with the access of the staff account you signed in with. If a report comes back empty, check that account's permissions for analytics and reports.

Step 3: Give Claude your plan

Pacing needs something to pace against. Upload your plan, or paste it, into a Claude Project for this client, so it's there every time you open a conversation. The plan needs three things:

  • Spend by month for the year.
  • The sales target for the year.
  • How you expect spend to turn into sales.

A simple model works. Ours expects each month's sales to be a baseline (what the store sells with no paid media) plus spend times the return you planned for:

Expected sales = baseline + spend × (AOV ÷ cost per purchase)

Worked exampleWith an average order value of $160 and a cost per purchase of $35, every dollar of spend is planned to return $4.57 in sales. A month with a $30,000 baseline and $20,000 of spend is expected to bring in $30,000 + $20,000 × 4.57 = $121,400.

If the period is still running, tell Claude to pro-rate the current month by days elapsed. A month that's 24 days in is expected to have 24/30 of its plan.

Step 4: Build the pacing dashboard

Now ask for the dashboard. Swap in your own dates, conversion event and Attribution view:

Prompt · Pacing dashboard
Use Attribution and Shopify. Start with get_project_context.
Period: Jan 1 to Dec 31. Actuals through yesterday.
Attribution view: Net Rev. Model: linear. Use the plan in this project.

Build a pacing dashboard with:
1. Three headline numbers: Shopify sales vs expected, paid spend vs
   expected, and the return needed on the remaining budget to hit the goal.
2. Month by month: plan sales, actual Shopify sales, variance,
   plan spend, actual spend from Attribution.
3. Daily Shopify sales for the current month.
4. Shopify sales by sales channel, against the same dates last year.
5. Attributed revenue by source (paid, direct, organic, email and so on)
   with each source's share.
6. Paid spend, attributed revenue and ROAS by platform, for the whole
   period, the last 14 days and the last 7 days.
7. The rest of the period: budget left, recommended spend per day,
   and projected sales under a low, plan and high return.
Compare to the same dates last year, not the previous period.
Label every number with its source.

Claude reads the plan, pulls sales and sales channels from Shopify and pulls spend, revenue and ROAS from Attribution, then builds the dashboard. See below for the shape of it.

Pacing update slide: Shopify sales by month, plan-expected against actual, next to a table of plan and actual sales and spend for each month
Example from an agency's pacing update built this way: plan vs actual Shopify sales and spend by month. Client name removed.
Keep in mind that attributed revenue for the last day or two can still be settling, as late conversions are matched to their visits. Ask Claude to flag the most recent days instead of reading them as a drop.

Step 5: Read return more than one way

A pacing dashboard usually needs more than one ROAS, because each answers a different question. Ask Claude to show all four, with the same spend in each:

MeasureRevenue it usesWhat it tells you
Paid ROASRevenue Attribution credits to paid channelsWhat the campaigns themselves earned
Blended ROASAll attributed revenueHow the whole store performs for each dollar of paid media
Net sales ÷ spendShopify net salesThe same, from Shopify, without shipping and taxes
Total sales ÷ spendShopify total salesThe headline number, including sales spend didn't cause
Pacing update slide: one paid spend figure divided into four revenue numerators, giving paid ROAS, blended ROAS, net sales over spend and total sales over spend
Example from the same pacing update: one spend figure, four revenue numerators. Client name removed.

Paid ROAS is the honest read on what campaigns earn. The higher ratios aren't wrong, but they include large wholesale or corporate orders and direct purchases spend didn't create. Showing all four, side by side, is what makes the conversation with the client easy: a 2x paid ROAS can sit next to a 6x store, and both are true.

Step 6: Break sales down by sales channel

Not every Shopify sale is an online store checkout. Corporate orders entered as Draft Orders, point of sale, Shop and apps all count toward total sales, and a few large draft orders can make a month look far better or worse than the campaigns did.

Ask Claude to split Shopify sales by sales channel, with orders and AOV for each, and set it next to Attribution's revenue by source:

Prompt · Sales channels vs attributed sources
Use Shopify and Attribution. For the period so far, show Shopify sales,
orders and AOV by sales channel against the same dates last year.
Next to it, show Attribution revenue by source and its share of the total.
Exclude $0 orders from order counts and AOV.
Tell me which channel explains most of the change.
Pacing update slide: Shopify sales, orders and AOV by sales channel for this year against the same dates last year
Example: Shopify sales, orders and AOV by sales channel against the same dates last year. Client name removed.
Pacing update slide: Attribution revenue by source, with each source's share of the total for this year and last year
Example: Attribution revenue by source, next to the Shopify view above. Client name removed.

This is where you catch the surprises. A sales channel that didn't exist last year, a jump in Draft Orders after a corporate push or a point of sale drop that has nothing to do with media all show up here, before the client asks about them.

Step 7: Refresh it on a schedule

The dashboard is built once. After that, refreshing it is one message: "Update the pacing dashboard through yesterday." Claude reruns the same pulls and redraws it with the new numbers.

To have it ready before you start your day, set the prompt up as a scheduled task in Claude, for example every weekday at 8 AM, or the morning before a client call. You can also share the finished dashboard as a link or export it as a PDF for the client.

Step 8: Check keywords, campaigns and ad groups Optional

Pacing tells you whether you're on plan. The next question is where to move the budget. Attribution's channel tree goes from channel to campaign to ad group to keyword, so you can ask for the detail in the same conversation:

Prompt · Campaign and keyword check
Use Attribution. For Google and Microsoft search over the last 90 days,
list every campaign and ad group with spend, attributed revenue, ROAS
and profit under linear. Then list keywords with spend and no orders,
keywords whose ROAS fell compared with the prior 90 days and the same
keyword running in more than one campaign.
For Meta, list campaigns with ROAS under 1.0 in the last 7 days.
Keep in mind that keywords convert less often than campaigns, so use a long window, such as 90 days, before you judge one. A keyword with spend and no orders is a candidate for a pause test, not an automatic cut.

Add the rest of your client's stack

Shopify and Attribution are the core, and every connector you add to Claude can join the same dashboard. A few we've seen work well:

  • Email. Connect Klaviyo to show what campaigns and flows send, next to the email revenue Attribution credits.
  • Point of sale and other systems. A business that sells in person or through a course platform can exclude point of sale from Shopify, or pull course sales from its own connector, so the dashboard compares only what online marketing can move.
  • Product analytics. If the client already reports in a tool such as Mixpanel or Amplitude, Claude can send the same numbers there.

The point isn't a prettier chart. It's that Attribution's spend and revenue become part of the client's own reporting, connected to every tool they already use.

Keep in mind that seasonal businesses look worse, or better, than they are against the previous period. Tell Claude to compare against the same dates last year, and save that in the project so it doesn't default back.

What to do next

Now your dashboards update themselves. Shopify supplies the sales, Attribution supplies the spend and the revenue each channel earned and Claude keeps the plan, the formulas and the layout from one update to the next. What used to take days of exports and spreadsheet formulas is one message.

Start with the pacing view, then build the custom dashboards your clients ask for most, cross-referencing whatever Shopify, Attribution and your other connectors hold. If your client has a budget that changes month to month, the same setup tells you how much to spend per day to land on target. If you're new to the MCP server, our guide to asking Claude, ChatGPT or Gemini where your next ad dollar goes walks through the weekly budget prompt. You can also ask Claude, connected through the Attribution MCP server, which channels are pacing ahead of plan and which are holding it back.

Further reading