15 Claude Prompts for Shopify Revenue, Top Products & GA4 Funnels (2027)

Query live Shopify sales, product variants, and GA4 checkout funnels in Claude via Otto MCP. Cut token burn without uploading raw CSVs.

As seen in

  • Fox News
  • ABC News
  • CBS
  • NBC
  • Associated Press
  • USA Today
  • Bloomberg
  • HuffPost
Otto the beaver next to the Google Analytics logo
On this page7

Connect Shopify and Google Analytics 4 to Claude through Otto's hosted HTTP MCP server (connect Claude to Otto MCP) using a single otto_mcp__ token to run 15 live prompts across Shopify order revenue, top products, and GA4 e-commerce funnels without exporting CSVs. Across Otto MCP's 227 tools across 15 integrations, filtered tool queries cut Claude token usage by 80–90% compared to uploading a raw 3,000-row Ads Manager CSV (40,000 to 80,000 tokens per turn), while keeping Shopify, GA4, Google Sheets, Search Console, and PageSpeed Insights strictly read-only and gating website or ad edits behind human approval.

If you only run one prompt today, run Prompt 4: it reconciles Shopify orders directly against GA4 purchases and paid ad spend to pinpoint discrepancies before you adjust your weekly budgets.

Copy-paste starter pack: top 5 Claude prompts for Shopify revenue & GA4 funnels (start here)

Here are the five highest-impact prompts for store operators, COOs, and growth marketers managing store operations and paid media funnels. The Shopify and Google Sheets pacing patterns align with operations-focused guides by IslaIntel COO Enrique Vásquez, while the paid-media reconciliation angle reflects Growth & Marketing lead Guillermo Marti's Claude MCP workflows. Each prompt below pulls live store metrics directly into Claude:

Query our connected Shopify store for the trailing 7 days and trailing 30 days. Pull total order count, gross sales, refunds, discounts, and net sales. Calculate average order value (AOV) for both windows. Compare the two periods and output a summary table showing percentage changes in net sales, order volume, and refund rates.
Query Shopify for our top 10 products and variants by net revenue over the last 30 days. For each item, pull total units sold, gross sales, and net sales. Cross-reference this list with GA4 ecommerce data to return view_item and add_to_cart counts for each product. Calculate the cart-to-view rate and flag any high-traffic product with a cart rate under 8%.
Pull our GA4 ecommerce checkout funnel for the last 30 days broken down by device category (mobile vs. desktop). Return session counts and conversion percentages across these steps: view_item, add_to_cart, begin_checkout, add_shipping_info, add_payment_info, and purchase. Highlight the single step with the sharpest percentage drop-off on mobile.
Pull our Shopify net revenue, order count, and refunded totals for the last 14 days. Next, pull GA4 purchase event count and transaction revenue for the same date range. Finally, pull total ad spend across connected Meta Ads and Google Ads accounts. Output a daily reconciliation table showing: Shopify Net Sales, GA4 Purchase Revenue, Total Ad Spend, Blended ROAS (Shopify Net / Spend), and the discrepancy percentage between Shopify and GA4.
Identify our top three landing pages or product URLs with the highest mobile exit rates from GA4 over the last 30 days. For each URL, run psi_analyze_url to retrieve mobile Performance scores and Core Web Vitals (LCP, INP, CLS). Identify the primary performance bottleneck on the lowest-scoring page and propose a draft copy or asset optimization to stage for review.

Exporting Shopify & GA4 CSVs by hand vs. single-channel local MCPs vs. Claude + Otto MCP

Analyzing e-commerce data in Claude usually falls into two bad extremes: manually exporting large spreadsheets or wrestling with fragile local server configurations.

AttributeManual CSV exports (Shopify Admin & GA4)DIY single-channel local MCPsClaude + Otto MCP server
Setup effortHigh ongoing effort; manual CSV exports every Monday morningHigh initial effort; requires Python 3.10+, pipx/uvx, local gcloud Application Default Credentials, and custom Shopify appsConnect accounts once inside Otto via OAuth; the AI client holds only an otto_mcp__ token while OAuth secrets never leave Otto's server
Claude token consumptionVery high per turn when uploading multi-thousand-row Shopify or GA4 CSV exports with no server-side filteringVariable; returns raw JSON payloads that burn context unless heavily filteredFiltered tool queries cut context usage by 80–90% compared to uploading a raw 3,000-row Ads Manager CSV (40,000 to 80,000 tokens per turn)
Data freshnessStatic snapshot; stale the moment you download the exportReal-time live API callsReal-time live API calls across all connected channels
Cross-channel reconciliationManual VLOOKUPs across Shopify, GA4, Meta Ads, and Google SheetsImpossible without building and maintaining multiple separate MCP serversNative cross-channel querying across Shopify, GA4, Sheets, and 5 ad networks
Write & fix capabilitiesNone; manual copy-pasting back into CMS or ad accountsStrictly read-only for GA4; manual API scripting for CMS updatesStaged WordPress drafts and GitHub pull requests behind human approval
Credential securityRisk of exposed customer PII in unencrypted desktop CSV downloadsAPI secrets and credentials stored in local text environment filesOAuth credentials stay secured on Otto's server; client holds only an otto_mcp__ token

Review the How to Connect Claude to Otto MCP documentation, follow the Connect Shopify to Otto setup guide, and see how to Connect Google Analytics 4 (GA4) to Otto to connect both sources in one place. When you are ready to wire Claude to live Shopify and GA4 data, connect Claude to Otto MCP.

Prompts 1–5: Shopify order revenue, AOV, discounts, refunds, and 60-day pacing

Shopify's API access scopes let read_orders reach Order, OrderTransaction, AbandonedCheckout, and related objects for the trailing 60 days (older orders need read_all_orders and app review). Shopify API limits cap array inputs at 250 items and pagination at 25,000 objects—so prompts should request filtered date ranges instead of bulk dumps.

Five prompts for store revenue pacing:

Prompt 1: Gross vs. net revenue, order volume, and AOV comparison

  • What it pulls: Total orders, line-item revenue, refunds, discounts, and shipping income over rolling 7-day and 30-day windows.
  • API mechanics: Queries Shopify's Order and OrderTransaction endpoints under read_orders.
  • The catch: Gross sales include discounts and refunds before fulfillment costs; always inspect net sales for cash flow.
Query our connected Shopify store for orders placed over the trailing 7 days and trailing 30 days. Pull total order count, gross sales, discount deductions, refund subtotals, and net sales. Calculate average order value (AOV) for both windows. Present this as a clean comparison table showing absolute values and percentage changes.

Prompt 2: Discount code volume and margin erosion audit

  • What it pulls: Applied discount codes, frequency of use, total dollar amounts discounted, and resulting basket sizes.
  • API mechanics: Filters Order objects by discount applications within the 60-day read_orders window.
  • The catch: High coupon usage can inflate top-line order counts while eroding gross margins on low-ticket items.
Query Shopify orders for the trailing 30 days that have discount codes applied. List every discount code used, how many times it was redeemed, the total dollar discount granted, and the average net order value when that code was active. Rank the codes by total dollar margin impact.

Prompt 3: Order refund and fulfillment anomaly detector

  • What it pulls: Refund events, returned line items, restock status, and fulfillment delays.
  • API mechanics: Aggregates OrderTransaction refund records and Fulfillment status flags.
  • The catch: Shopify tracks refund transactions when processed, which may lag several days behind original order placement.
Analyze Shopify OrderTransaction and Fulfillment data for the last 30 days. Calculate our overall refund rate as a percentage of gross revenue. List the top five products with the highest return counts and return dollar values. Flag any unfulfilled orders that have been open for more than 48 hours.

Prompt 4: Abandoned checkout recovery opportunity audit

  • What it pulls: Uncompleted checkouts, line-item values, customer contact availability, and abandonment timestamps.
  • API mechanics: Queries Shopify's AbandonedCheckout resource under read_orders.
  • The catch: Checkout records without an email address or SMS consent cannot receive automated recovery notifications.
Query the AbandonedCheckout resource on our Shopify store for the trailing 14 days. Calculate total abandoned checkout count, total potential revenue abandoned, and average abandoned cart value. Group abandonments by day of the week and hour of the day. Output a table summarizing the highest-volume abandonment windows.

Prompt 5: 60-day revenue pacing vs. Google Sheets monthly targets

  • What it pulls: Rolling 60-day daily net sales from Shopify reconciled against monthly revenue targets stored in Google Sheets.
  • API mechanics: Combines Shopify Order net sales with read-only Google Sheets tab lookups.
  • The catch: Month-to-date pacing must account for working days and promotional calendar spikes. Follow our guide to Connect Google Sheets to Otto.
Query Shopify for daily net sales over the last 60 days. Then, read our connected Google Sheets monthly KPI tab to pull this month's revenue target and day-by-day pacing projection. Calculate our current pacing percentage toward the monthly target, average daily run rate needed for the remaining days in the month, and project whether we will finish over or under budget.

Prompts 6–10: Top products, variant velocity, collection performance, and GA4 item metrics

Catalog prompts use Shopify read_products (Product, ProductVariant, Collection) and GA4's e-commerce items array (up to 200 elements, 27 custom parameters, item_id or item_name required).

Five prompts connecting catalog data to shopping behavior:

Prompt 6: Top 10 and bottom 10 products by net revenue

  • What it pulls: Product title, SKU, total units sold, gross sales, and net revenue.
  • API mechanics: Reads Shopify Product sales aggregated across all line items in the 60-day window.
  • The catch: High unit volume does not always yield high net revenue if product discounting is heavy.
Query Shopify products over the trailing 30 days. Return the top 10 products ranked by net revenue and the bottom 10 active products with the lowest units sold. For each product, display units sold, gross revenue, discounts, and net revenue. Flag any product in the bottom 10 that has active inventory in stock.

Prompt 7: ProductVariant velocity and dead-stock spotter

  • What it pulls: Variant-level breakdown across sizes, colors, bundles, and pricing tiers.
  • API mechanics: Traverses Shopify ProductVariant records and matches them against line-item fulfillments.
  • The catch: Stores with thousands of SKUs hit pagination ceilings; run queries across specific collections if needed.
Pull all ProductVariant records from Shopify that have had zero sales over the last 45 days despite having positive inventory on hand. Group these variants by parent product title and display current inventory quantity. Highlight the top 10 dead-stock variants tying up the most inventory value.

Prompt 8: Collection merchandising CTR vs. actual Shopify sales

  • What it pulls: GA4 collection interactions (view_item_list, select_item) compared against Shopify sales by collection.
  • API mechanics: Maps GA4 list views to Shopify Collection objects.
  • The catch: GA4 list CTR can be skewed if a product is featured prominently at the top of an automated collection.
Query GA4 for view_item_list and select_item events over the last 30 days, grouped by item_list_name. Calculate the list click-through rate (select_item / view_item_list) for each collection. Then, query Shopify for net sales generated across those corresponding collections. Flag any collection with high list CTR (>15%) but low conversion to purchases.

Prompt 9: Item-level view-to-cart-to-purchase conversion matrix

  • What it pulls: Step-by-step conversion rates for individual products using GA4's items array.
  • API mechanics: Evaluates view_item, add_to_cart, and purchase event parameters in GA4.
  • The catch: GA4's items array relies on accurate client-side datalayer pushes; missing parameters break SKU-level reporting.
Query GA4 ecommerce events for the trailing 30 days. For our top 15 most viewed products, return: view_item count, add_to_cart count, and purchase count using the GA4 items array. Calculate View-to-Cart % and Cart-to-Purchase % for each item. Highlight products with above-average view counts but below-average cart conversion.

Prompt 10: Search Console organic product demand vs. catalog coverage

  • What it pulls: Search Console organic product search queries, clicks, and impressions cross-checked against current store catalog URLs.
  • API mechanics: Combines read-only Google Search Console query inspection with read-only Shopify product and collection lookups through Otto MCP.
  • The catch: High-impression search queries for discontinued products cause high bounce rates unless redirected.
Query Google Search Console for our top 25 non-brand queries driving impressions and clicks over the last 28 days. Compare these search queries against our current active Shopify product titles and handles. Identify high-impression queries that land on out-of-stock products, 404 pages, or generic homepages instead of dedicated collection pages.

Prompts 11–15: GA4 e-commerce funnels (runFunnelReport), attribution reconciliation, and landing-page fixes

According to Google Analytics Data API documentation for properties.runFunnelReport, the runFunnelReport method returns a structured funnel report of event data across dimensions and metrics. This lets teams visualize conversion drop-offs between prospects, shoppers, first-time buyers, and repeat customers.

When a funnel step leaks, Otto can run psi_analyze_url, stage WordPress drafts across 29 tools, or open GitHub pull requests with Vercel previews —subject to your approval. Enrique Gomez, owner of Enzo Maverick Pilates and Experiences Sensory, cited Otto for making site changes on the fly. You can approve or reject proposed changes from WhatsApp, and newly uploaded images are compressed automatically on maintenance passes.

Review Otto Website Analytics and weekly briefings to see how these funnels appear in automated reports.

Prompt 11: Multi-step checkout funnel drop-off audit by device

  • What it pulls: Full funnel conversion rates across mobile and desktop.
  • API mechanics: Uses GA4's runFunnelReport across view_item, add_to_cart, begin_checkout, add_shipping_info, add_payment_info, and purchase.
  • The catch: Ad blockers and browser privacy restrictions disproportionately block client-side purchase events on desktop browsers.
Generate a multi-step ecommerce funnel report using GA4 Data API runFunnelReport for the trailing 30 days. Segment the report by deviceCategory (mobile vs. desktop). Calculate drop-off percentages between:
1. view_item to add_to_cart
2. add_to_cart to begin_checkout
3. begin_checkout to add_shipping_info
4. add_shipping_info to add_payment_info
5. add_payment_info to purchase
Identify which specific checkout transition causes the highest revenue loss on mobile devices.

Prompt 12: Shipping calculation vs. payment gateway abandonment diagnostic

  • What it pulls: User abandonment between add_shipping_info and add_payment_info.
  • API mechanics: Compares parameter values in GA4 checkout events against Shopify checkout abandonment logs.
  • The catch: Hidden shipping costs or lack of local payment options (such as Shop Pay or Apple Pay) represent the primary drivers of step drop-off.
Analyze GA4 checkout steps over the last 30 days focusing on the transition between add_shipping_info and add_payment_info. Calculate the completion rate between these two steps. Pull Shopify AbandonedCheckout logs to identify the most common shipping zones and order values associated with drop-offs at this stage. Summarize whether unexpected shipping fees are suppressing payment completion.

Prompt 13: New vs. returning customer checkout funnel velocity

  • What it pulls: Conversion rates through the purchase funnel segmented by user loyalty.
  • API mechanics: Applies GA4's newVsReturning dimension across the e-commerce funnel sequence.
  • The catch: Returning customers frequently convert faster; new prospects often require social proof or trust badges on the cart page.
Run a GA4 funnel comparison for the trailing 30 days comparing new users versus returning users across: session_start, view_item, add_to_cart, begin_checkout, and purchase. Output a comparative funnel table showing conversion percentages at each stage. Highlight the stage where new visitors stall out compared to returning customers.

Prompt 14: Shopify sales vs. GA4 purchases vs. paid ad spend reconciliation

  • What it pulls: Live Shopify net sales, GA4 purchase transaction totals, and paid ad spend across Meta Ads and Google Ads. Read our guides on GA4 and paid media landing page dashboards and 10 Claude workflows for Meta Ads in 2027.
  • API mechanics: Queries Shopify OrderTransaction, GA4 purchase (transaction_id, value, tax, shipping), and read-only ad spend via Otto AI Paid Ads Manager.
  • The catch: GA4 purchase revenue will rarely match Shopify gross sales perfectly due to excluded taxes, refunds, shipping allocations, and cookie consent rejections.
Query Shopify for daily net sales and total order counts over the trailing 14 days. Next, query GA4 for total daily purchase events and transaction revenue. Then, pull daily ad spend across our connected Meta Ads and Google Ads accounts. 
Present a daily reconciliation table with columns: Date, Shopify Net Revenue, GA4 Purchase Revenue, Variance $, Variance %, Meta Spend, Google Spend, Total Ad Spend, and Blended ROAS (Shopify Net / Total Spend). Summarize why any variance over 10% occurred.

Prompt 15: Auditing Core Web Vitals on high-drop-off pages and staging fixes

  • What it pulls: Core Web Vitals (LCP, INP, CLS) and Lighthouse scores on your highest-exit landing pages, then stages a fix. Learn how Core Web Vitals drift causes revenue leaks on landing pages.
  • API mechanics: Calls psi_analyze_url via Otto's platform key without requiring a personal Google API key, then stages updates through Otto AI Website Manager.
  • The catch: Performance fixes must be tested on preview environments before pushing live to avoid broken scripts.
Identify our top three Shopify product landing pages with the highest GA4 drop-off rates between view_item and add_to_cart. For each page, run psi_analyze_url to evaluate mobile Core Web Vitals (Largest Contentful Paint, Interaction to Next Paint, Cumulative Layout Shift). 
For the page with the lowest mobile performance score, identify the unoptimized assets or render-blocking scripts responsible for slow loading. Propose an image optimization plan and draft staging updates as a WordPress draft or GitHub pull request for my review.

Read-only analytics vs. approval-gated execution: how Otto's guardrails protect your store and ad budget

Connecting an AI assistant to your store requires clear operational boundaries. In Otto MCP (https://otto.islaintel.com/api/mcp), permissions are segmented into two strict layers:

[Claude Chat / AI Client] 
        │ (Single bearer token: otto_mcp__)
        â–¼
[Otto Hosted MCP Gateway] ── OAuth tokens never leave server ──
        │
        ├─► STRICTLY READ-ONLY ANALYTICS
        │   ├── Shopify (Orders, Products, Collections)
        │   ├── Google Analytics 4 (Funnels, Items, Sessions)
        │   ├── Google Search Console & Google Sheets
        │   ├── Google Ads, YouTube, Google Business Profile
        │   └── PageSpeed Insights (psi_analyze_url)
        │
        └─► APPROVAL-GATED EXECUTION (Requires Reviewer/Admin Sign-off)
            ├── WordPress: Staged as DRAFT across 29 tools
            ├── GitHub/Vercel: Opened as Pull Requests with preview URLs
            ├── LinkedIn Ads: Created as DRAFT ($0 budgets rejected)
            ├── Meta Ads: Draft/Reviewer-gated modifications
            └── Core Guardrails: Checkout/Legal pages require explicit approval

1. Strictly read-only analytics and store data

In Otto MCP, Shopify, Google Analytics 4, Google Search Console, Google Ads, Google Business Profile, YouTube, Google Sheets, and PageSpeed Insights are strictly read-only. Otto cannot alter store inventory, delete products, modify shipping rates, edit GA4 properties, or touch Google Ads budgets through MCP queries.

This mirrors Google's own official GA4 MCP server documentation (Try the Google Analytics MCP server), which specifies that the official GA4 server is read-only and requires Python 3.10+ with pipx or uvx and local gcloud credentials. With Otto, OAuth secrets stay safely stored on the server, while the AI client holds only an organization-scoped bearer token prefixed with otto_mcp__.

2. Draft-first and preview-gated website updates

Otto does not force a replatform; he works directly on your existing Shopify, WordPress, or custom GitHub/Vercel site. When funnel diagnostics reveal a landing-page issue, changes are never pushed live without your sign-off:

  • WordPress: Edits default to draft status across 29 tools (15 read tools and 14 write tools) covering posts, pages, and media.
  • GitHub & Vercel: Every site edit opens as a GitHub pull request with a live Vercel preview URL.
  • Sensitive Pages: Checkout, contact, and legal pages always require explicit human approval in Otto core.

3. Role-gated paid ads and social publishing

When you act on conversion funnel data by adjusting campaigns, Otto prevents runaway spend:

  • LinkedIn Ads: Campaigns and ad sets are created as DRAFT by default, $0 budgets are rejected, and activating or pausing campaigns requires confirm=true plus Reviewer or Admin permissions.
  • Meta Ads: Modifying campaigns or ad sets requires Reviewer or Admin roles.
  • Social Publishing: Unlike WordPress drafts, publishing posts to Facebook Pages and Instagram via Otto MCP goes live immediately, which is why it strictly requires Reviewer or Admin authorization.

Check all 15 Otto integrations across Shopify, GA4, Sheets, Search Console, and Paid Ads to explore complete tool capabilities.

Otto Webmaster vs. Madgicx, Opteo, Synter, and Ryze AI: pricing, honest limitations, and FAQs

When choosing an e-commerce marketing and analytics stack, compare platforms based on whether they combine read-only intelligence with safe, approval-gated execution across both sites and ads. Review our guide to the 7 best Ryze AI alternatives for paid ads and SEO in 2027 for broader context.

  • Madgicx: Combines Meta Ads creative analytics with rule-based bid and budget automation for e-commerce stores. The Shopify catalog and GA4 funnel prompts in this article require Otto's multi-integration MCP server across 15 marketing integrations.
  • Opteo: Monitors Google Ads accounts and recommends bid adjustments, negative keywords, and search-term optimizations. However, it covers Google Ads only, with no Meta Ads, SEO, website management, or MCP server support.
  • Synter: Connects Claude, ChatGPT, and Cursor to 40+ paid ad networks. While strong for multi-network ad querying, Synter does not inspect Shopify catalogs, GA4 funnels, or push website fixes to WordPress or GitHub.
  • Ryze AI: Focuses on paid advertising and SEO/GEO automation, but does not manage live website deployments, GitHub pull requests, WordPress drafts, or Google Business Profile listings.
  • Otto Webmaster: Built by IslaIntel in San Juan, Puerto Rico, Otto acts as an AI digital webmaster for service businesses and small teams—including clinics, law firms, studios, cafés, agencies, gyms, and salons. Otto performs the ongoing execution marketing retainers typically cover—site maintenance, SEO fixes, ad monitoring, and reporting—while keeping strategy and approvals in your hands.

Plans and pricing

Otto MCP uses the exact same subscription tiers as core Otto Webmaster. View complete details on Otto Trial, Pro, and Master pricing:

  • Trial ($1 for 3 days): Includes a full trial of Pro features (website updates, SEO, and read-only access to ads and socials), plus a complete homepage redesign built from your photos and copy and approved before launch.
  • Pro ($199/month, or $99/month billed annually): Full website management, technical SEO, and read-only access to ads and socials.
  • Master ($3,500/month, or $3,000/month billed annually): Adds approval-gated write access to paid ads and socials, with users able to cancel anytime.

Honest limitations

Otto Webmaster is built with deliberate boundaries:

  • Write Access Requires Master: Read-only analysis across Shopify, GA4, Sheets, and ads works on all tiers, but writing to paid ads and social publishing requires the Master plan.
  • No Unannounced Platforms: Otto does not support unannounced platforms like Wix, Webflow, or TikTok in the live MCP catalog.
  • Terminal CLI Coming Soon: Otto CLI for local terminal environments is coming soon; MCP over HTTP is the fully supported protocol today.
  • No ranking promises: Otto structures sites, schema, and content so search engines and AI assistants can read them, but does not promise specific search rankings, Map Pack placements, or ChatGPT citations.

Frequently asked questions

Does querying Shopify or GA4 via Claude expose customer PII?

No. In Otto MCP, you connect accounts once inside Otto via OAuth, and the AI client holds only an otto_mcp__ token while OAuth secrets never leave Otto's server. Claude queries live metrics through Otto's HTTP MCP endpoint; it does not receive your raw Shopify Admin or GA4 service-account keys in the chat.

Why does GA4 purchase revenue differ from Shopify order revenue?

GA4 transaction revenue typically excludes taxes, shipping fees, or post-purchase refunds unless custom parameters are mapped. Additionally, ad blockers, cookie consent rejections, and browser privacy features prevent some client-side purchase tags from firing. Prompt 14 automatically quantifies this gap.

Can Claude accidentally publish a live change to my Shopify store or WordPress site?

No. Shopify is strictly read-only in Otto MCP. For WordPress, all new content defaults to draft status across 29 tools, while GitHub site edits open as pull requests with Vercel previews. Changes only go live after you explicitly approve them.

Connect your store and start analyzing your funnels in Claude today: connect Claude to Otto MCP.

Written by

Guillermo Marti

Creative Director & Head of Growth at IslaIntel

Leads Otto's brand, creative, and growth, from paid ads and SEO to the AI workflows behind them.