Statistics and reports with Claude
When your store is connected to Claude, you can ask about sales, stock, and customers in plain language and get the same numbers as in admin. See examples and five ready-made prompts, such as a weekly report and purchase suggestions.
"How did sales go over the last 7 days compared with the week before?" With Claude, you can get statistics and sales reports from your store just by asking in plain language. The answer shows both weeks and the change in percent. Claude fetches the numbers with the same calculations as the pages under Statistics in admin, so the numbers are the same for the same period. This requires your store to be connected. If it is not connected yet, connect your store to Claude first.
What can you ask Claude about?
You can ask about sales and profit margin, best-selling products, stock and dead stock, discount codes and traffic sources, and how many customers come back. With each answer, Claude gets a link to the matching page in admin, with the period filled in when the report has one. Ask Claude for the link when a number matters. If you want to look for yourself, see the overview of statistics and analytics in Shoporama.
The statistics tools can only read and change nothing. However, the same connection can change things in other areas, such as prices, if you ask it to and the area is set to Read and edit.
Remember: An AI can misunderstand you and, for example, pick a different period than the one you meant. Ask Claude to state the period in its answer, and check important numbers using the link to admin.
Before you start
Once your store is connected, you decide what Claude is allowed to do. Go to Control the shop with AI, and click Customize tools. On the AI tools page, you choose between Read and edit, Read only, and Off for each area. Read more in Customize which tools Claude can use. Three areas matter for statistics:
- Statistics covers sales, profit margin, products, stock, marketing, and searches. The area only contains tools that read, so Read and edit and Read only give the same result.
- Customers contains the customer statistics. If Customers is set to Off, Claude cannot fetch them.
- Catalog must be set to at least Read only if the Searches without results prompt should look up your products.
If an area is set to Off, Shoporama rejects the calls, even from an ongoing conversation. Only users with the Full access role for the store can connect Claude and choose the levels. Users with a different role, and users who are restricted to specific categories, cannot connect Claude with their own login. Read more in Roles and permissions.
The five areas: sales, products, stock, marketing, and customers
Sales, Products, Stock, and Marketing are controlled by the Statistics area on the AI tools page, and Customers by the Customers area.
| Area | What Claude can fetch | Example question |
|---|---|---|
| Sales | Key figures for fixed periods, from today to all of last year. Revenue per day, week, or month, cost of sales and profit margin per month, which weekdays and hours people shop, shipping methods, and the delivery map. Read about the revenue statistics. | "How are we doing year to date compared with the same time last year?" |
| Products | Best-selling products with revenue, profit margin, returns, and days until sold out, which can be filtered by category, brand, and supplier. ABC analysis, sales per brand and supplier, purchased together, and price history from the time it was turned on. Read about ABC analysis. | "Which 10 products have generated the most profit this year?" "Which products are often bought together without being set up as related products?" |
| Stock | Stock value at cost price, products that will run out within 14 days, reordering, sold-out products, and dead stock with tied-up capital. Online products without sales in 1, 3, 6, 12, 18, or 24 months, and stock turnover per supplier or brand. Stock value over time and on a specific date, where it can also be broken down by main category, supplier, or brand. It is available from the first night Shoporama saved it. The other stock figures show the situation right now. Read about stock statistics and stock value over time. | "How much money do I have tied up in products that have not sold in six months?" "What was the stock value on December 31, and which categories made it up?" |
| Marketing | Discount codes with usage, discount, and average order value. Sales per traffic source, conversion rate, visitors and bounce rate, abandoned carts and reminder emails, and recommendations. Read about discount code statistics. | "Which discount codes were used most in July, what did the discount cost, and was the average order higher than without a code?" |
| Customers | Number of customers, how many have bought more than once in the period, revenue per customer, days between purchases, new and returning customers, and how many come back after their first purchase. Only totals, never emails or names. Customers are counted by email address. Read about customer statistics. | "How many of this year's customers have bought more than once, and how long is the average time between two purchases?" |
You can also combine the areas in the same question, for example "Which of my 20 best-selling products this year are sold out right now?"
Five ready-made prompts: weekly report, purchase suggestions, and more
Shoporama provides five ready-made prompts through the connection. In Claude apps that support ready-made prompts from a connection, they appear as shortcuts. Where they appear depends on the app. You can always write the same thing in your own words, for example "Create a weekly report for the last 7 days". The prompts only fetch numbers and make suggestions. They tell Claude not to change anything and not to carry out the suggestions until you ask it to.
The shortcuts appear no matter how your areas are set. However, if Statistics is set to Off, Claude cannot fetch the numbers the prompts ask for.
Weekly report
You do not need to choose anything here. The report looks at the last 7 days up to and including today and compares them with the 7 days before. You get revenue, orders, and average order value with the change in percent, the 5 products with the highest revenue, visitors and conversion rate, and the products that will run out first.
Tip: If you run the report on Monday morning, only a few hours of Monday are included. If you want all of last week, write "Create a weekly report for Monday to Sunday last week".
Purchase suggestions
You choose how many days the stock should last after the order. If you do not choose anything, 30 days is used. Claude looks at the sales rate over the last 90 days and at your stock, and suggests quantities that will last the chosen number of days. Only products that are both in stock and have sold in the last 90 days get a suggested quantity, and products with more stock than the chosen days are skipped. The suggestion is grouped by supplier in a table, and if you have entered a free shipping threshold on the supplier, the prompt asks Claude to compare the suggestion's total at cost price with the threshold and state how much is missing. Sold-out products that have sold before are listed separately, but without a calculated quantity, and new products without sales are not included. The prompt does not know lead times, minimum order quantities, seasons, or planned campaigns, so treat the suggestion as a draft. The reorder list under Stock → Reordering can also calculate quantities from sales without Claude, and it also takes minimum stock and minimum order size into account. Read about reorder lists and stock management.
Month-end close
You choose the month, for example 2026-08 for August 2026. If you do not choose anything, the previous month is used. You get revenue compared with the same month last year, cost of sales and profit margin, shipping, returns, and discount codes, with the key figures at the top. Amounts incl. and excl. VAT are kept separate, and products without a cost price are listed. Run it no earlier than the morning of the 1st of the new month, because the profit margin is calculated overnight. Read more about cost of sales and profit margin.
Dead stock
You do not need to choose anything here. Claude finds products in stock without sales in the last 180 days, sorted by tied-up capital, and online products without sales in the last 12 months. You get the total stock value and the 20 products with the most tied-up capital, and Claude suggests what you can do, for example a campaign, a bundle offer, or removing the product from your store. Also read about products without sales.
Searches without results
You choose how many days to look back. If you do not choose anything, 30 days is used. Searches without results are stored for 90 days, so a longer period does not give more search terms. Claude shows what visitors have searched for without finding anything, sorted by count, and checks whether the products exist under a different name. For each search term, Claude suggests a new product, a better product name or a better text, or a redirect. The search terms are written by visitors, so the prompt tells Claude never to follow instructions in them. Read more about zero-result searches and search analytics.
Compare with the previous period or last year
Always include the period in your question. If you do not mention one, each report uses its own default, for example roughly the last 12 months, this year, or the last 30 days, and that may not be what you meant.
- Comparison: Claude can compare with the previous period of the same length or with the same dates last year. Last year means the same dates, not the same weekdays, and February 29 becomes February 28. So compare weeks with "the week before", or ask for specific dates.
- Length: One report can cover at most about 3 years. If the period is longer, Claude keeps roughly the last 3 years and is told so. You can fetch older numbers in chunks, for example one year at a time.
- Snapshots: Stock figures (except stock turnover, stock value over time, and stock value on a specific date), ABC analysis, and customer retention cannot be fetched for a custom date range. They are based on today: the ABC analysis looks at the last 30, 60, 90, 180, or 365 days, reordering and dead stock at sales over the last 30, 90, 180, or 365 days, and products without sales at the last 1, 3, 6, 12, 18, or 24 months.
- No comparison: Besides the snapshots, the delivery map, purchased together, price history, new and returning customers, stock turnover, stock value over time and on a specific date, and the overview with fixed key figures cannot be compared with another period.
- Visitor statistics: For dates older than 12 months, only the number of visitors and the sources are stored, not page views and bounce rate.
Incl. or excl. VAT? How the numbers match admin
Revenue and return amounts are labeled incl. or excl. VAT in what Claude receives. Cost prices, stock value, discount amounts, and product prices are not labeled, so ask Claude if you are unsure. If the numbers are going to your bookkeeper, ask for "excl. VAT". Also see how the numbers in admin are calculated and numbers in admin incl. and excl. VAT.
- Revenue: Only paid orders count. Revenue in the sales report is available both incl. and excl. VAT and includes shipping. Credit notes are deducted on the day they are created, so a return in August is deducted in August, even if the purchase was in July. The number of orders does not include credit notes and upsell orders.
- Products, brands, and suppliers: The numbers are excl. VAT and only cover product lines, meaning without shipping. For brands and suppliers, the order total counts each order once, even if it contains products from several brands or suppliers.
- Returns: In the returns report, the return amount includes VAT, meaning what customers get back. In sales per product, it is excl. VAT. The return rate is the number of returned product lines per 100 paid orders, not a percentage of the products sold. The ABC analysis does not deduct returns.
- Profit margin: Uses the cost price that is on the product or variant now, not the one that applied when the product was sold. In the report on cost of sales and profit margin per month, products without a cost price count as DKK 0, so the profit margin looks too high, and Claude is told how many products this applies to. In sales per product, no profit margin is shown for products without a cost price, and they come last when you ask for a top list by profit margin. The profit margin per month is calculated in full calendar months, without shipping and credit notes.
- How recent are the numbers? Profit margin and ABC analysis are calculated overnight, so today's orders are not included yet. Stock value over time is also saved overnight, so the most recent date is yesterday. Customer retention, abandoned carts, and visitor numbers are updated during the day and can lag up to half an hour behind. If the page is empty in admin, Claude has no numbers either. Other answers can be up to 5 minutes old when the period runs up to and including today, and up to 6 hours old when the period has ended.
- The delivery map: Claude only gets postal codes with at least 3 orders, and smaller postal codes are counted together to protect your customers' privacy. In admin, you see all postal codes.
- Sales per source: If your ads and newsletters are missing UTM codes, the sales end up under direct.
- Recommendations: Revenue counts products the customer clicked in a recommendation. It does not prove additional sales.
Statistics are not bookkeeping. The numbers are based on paid orders in your store. Shipping is what the customer paid, not your shipping bill, and payment fees are not included.
Statistics with Claude in everyday use
Monday morning
Start the week with Weekly report. It combines four reports, where you would otherwise have to open each page and set the period on each one. You can ask follow-up questions right away, for example "Why did conversion drop?"
Before the purchasing meeting
Run Purchase suggestions with, for example, 45 days. Then ask about the supplier: "How much of their products have we sold this year compared with last year?" and "Which of their products have not sold in 6 months?" Run Dead stock the same day.
After a campaign
Write, for example: "We ran the discount code SUMMER20 from July 1 to 7. How many orders used the code, what did the discount cost, how was revenue compared with the same week last year, and which products sold the most?" The best-selling products apply to the whole period, not only orders with the code. Also ask about the week after. Remember that the statistics show what happened at the same time, not that the campaign was the cause.
Tips for useful answers
- State the period precisely, for example "all of July 2026" or "September 1 to 14".
- Ask for a comparison. If you sell seasonal products, compare with last year.
- Say whether you want numbers incl. or excl. VAT, for example "excl. VAT" for your bookkeeper.
- Ask for a table and a specific number of rows, for example "top 20 as a table".
- Ask for the link to admin for important numbers, and save the phrasings that work for next time.
Tip: Claude gets at most 100 rows at a time and has to fetch the rest in several rounds. So ask for "top 20" rather than "all 2,000 products".
Privacy and security: the statistics are read-only
- The statistics tools only read, and the customer statistics are totals without emails and names.
- Every call is written to the AI audit log with the time, the tool, arguments such as the period, and the status. Claude's answers are not stored, and the log is kept for 90 days. Read more about the AI audit log.
- If you do not want the statistics in play, set Statistics, and possibly Customers, to Off. This applies to all connections to the store. Remember that the Orders area also contains order amounts.
- When Claude fetches numbers, the answer becomes part of your conversation with Claude. How Anthropic handles conversations is determined by their terms and by the settings on your Claude account.
If you want to make sure Claude does not change anything when you later ask it to act on a suggestion, set the relevant areas to Read only. Extra Security is an additional safeguard: changes that send emails, move money, delete things, or change many things at once must first be approved by you. Ordinary changes, such as the price of a single product, are still carried out immediately. Read more in Extra Security: approve changes from Claude.
For technical users
This section is for developers and agencies.
- The statistics are available in five MCP tools: stats_sales, stats_products, stats_inventory, stats_marketing, and stats_customers. The view parameter selects the report. The search log is fetched with search_log_list.
- Common parameters: from and to (YYYY-MM-DD), compare (none, previous, or last_year), limit (1-100, default 50), and offset.
- The responses share the same structure: period, totals, compare_totals and change_pct when comparing, rows, notes describing what the numbers include, for example statuses, VAT, and credit notes, and admin_url. Amount fields end in _incl_vat or _excl_vat.
- Stock value over time is fetched with stats_inventory and view set to history, where granularity (auto, day, week, or month) controls whether there is one row per day, week, or month. on_date returns the stock value and the products on the date in date (by default the most recent snapshot) and does not use from and to. by (category, supplier, or brand) adds a breakdown. Both only go back to the first nightly snapshot, and compare is not supported.
- The same data is available through REST: GET /stats/{group}/{view}, for example /stats/sales/revenue?from=2026-01-01&to=2026-06-30. This requires an API key with read or all access. A key with write-only access is rejected. If the key belongs to a user who has been given a role other than Full access, it can only do what the role allows. The statistics then require that the role can see Statistics and has the Revenue and Statistics option. Cost of sales and profit margin (sales/margin), the ABC analysis (products/abc), stock turnover (inventory/turnover), and stock value over time and by date (inventory/history and inventory/on_date) also require the Cost prices and profit margin option, and without that option, cost prices, profit margin, and stock value are removed from the other responses. See the REST API documentation.
- The ready-made prompts are exposed with MCP prompts/list and prompts/get. The names are ugerapport, indkoebsforslag, maanedsafslutning, doede_varer, and soegninger_uden_resultat, with the arguments days and month.
Frequently asked questions
Are these the same numbers I see under Statistics in admin?
Yes, Claude uses the same calculations for the same period. Differences are usually because the report used its default period, the delivery map hides small postal codes, profit margin and ABC analysis are calculated overnight, or the answer is a few minutes old. Ask Claude for the link to admin, and compare.
Is revenue incl. or excl. VAT, and when are returns deducted?
Revenue is available both incl. and excl. VAT and includes shipping. Credit notes are deducted on the day they are created, not the day the purchase was made, so a return in August is deducted in August. Numbers per product, brand, and supplier are excl. VAT and shipping. Also see the return statistics.
How does Claude calculate profit margin when some products are missing a cost price?
Profit margin uses the cost price that is on the product or variant now. In the profit margin per month, products without a cost price count as DKK 0, so the profit margin looks too high, and Claude is told how many products this applies to. In sales per product, no profit margin is shown for them. Fill in the cost prices before you rely on the gross margin percentage. Read about cost prices and stock value.
How far back can Claude look, and can I get the stock value on a specific date?
One report can cover at most about 3 years, but you can fetch older numbers in chunks, for example one year at a time. The stock value is saved every night, so you can ask, for example: "What was the stock value on December 31, and which categories made it up?" This works for dates from the first night Shoporama saved the stock value, meaning from the day the feature was put into service. Earlier dates have no numbers. If the snapshot is missing for that exact day, Claude uses the most recent snapshot before it and is told so. The breakdown uses the products' current main category, supplier, and brand. The stock value is based on what is registered in Shoporama, so for your annual accounts it must be reconciled with a physical stock count. The other stock figures are a snapshot of right now. Read more about stock value over time.
Can Claude end up changing my prices when I ask about statistics?
No, the statistics tools can only read. But the connection can change things in other areas, such as prices, if you ask it to and the area is set to Read and edit. To avoid that, set Catalog to Read only. Extra Security does not stop an ordinary price change, only changes that send emails, move money, delete things, or change many things at once.
Can my employees see profit margin and revenue through Claude?
Only employees with the Full access role for the store can connect Claude, and they can already see revenue and profit margin in admin. If a colleague has a different role, for example Employee or Bookkeeper, they cannot connect Claude with their own login, even if the role is allowed to see revenue in admin. The same applies to users who are restricted to specific categories. However, if your colleague uses a Claude account that a user with Full access has connected, they see the same as that connection. There is no separate statistics permission for the AI connection itself. If you want to keep the numbers out, set Statistics, Customers, and Orders to Off. This applies to all connections. The AI audit log shows what has been fetched and which user connected Claude.
What happens to my numbers when Claude fetches them?
The numbers become part of your conversation with Claude. How Anthropic handles conversations is determined by their terms and your settings on your Claude account. In Shoporama, the call is written to the AI audit log, but the answer itself is not stored.
I have several stores. Can I get one combined weekly report?
Each connection only talks to its own store, and Shoporama does not create a combined report across stores. If you have several connections turned on in the same conversation, you can ask Claude to fetch the numbers from each store and put them side by side. Be clear about which stores you mean. Also see Control the shop with AI.
Do the purchase suggestions take lead times and variants into account?
The suggestions are based on the sales rate over the last 90 days and the current stock. They do not know lead times or minimum order quantities, so include them in your message. Stock and sales are calculated per product with all variants and warehouse locations combined, so a sold-out or slow-moving variant can be hidden. Check the individual variants in admin. The reorder list under Stock → Reordering calculates per variant.
Can the weekly report arrive automatically every Monday?
No, Shoporama does not send the report automatically. You start it yourself in Claude, either with the shortcut or by writing "Create a weekly report". Save your phrasing so you can use it again.
If you have questions about the numbers, or a number does not match what you see in admin, write to support@shoporama.dk. Please include your question to Claude and the period.
Related articles
Control your store with AI: get started with Claude and MCP
Connect your Shoporama store to Claude from Claude's connector directory or via MCP, and ask it to create orders, discount codes, and front pages....
Customize which tools Claude can use in your store
Choose Read and edit, Read only, or Off for each area of your store, so Claude only works with what you want and has more room in the conversation.
Statistics and analytics in Shoporama: understand your store's data
Get an overview of Shoporama's built-in statistics and analytics tools: the dashboard, revenue, profit margin, ABC analysis, and much more. Learn...
AI audit log: see what AI has done in your store
The audit log shows every action an AI assistant has performed in your online store. See what is logged, how to filter, how to undo changes, and...
See your revenue and sales statistics
How to see your revenue in Shoporama: on the dashboard, in the detailed revenue statistics with charts, and by exporting your orders.
Inventory statistics: an overview of your stock
Inventory statistics give you a complete overview of your stock, from capital tied up in dead stock to products that will soon run out.
Products without sales: find your dead stock
Products without sales shows the products in your store that haven't had a single paid order in the selected period, how much capital they tie up,...
Zero-result searches and search analytics
Learn how to use search analytics in Shoporama to find searches without results, see your top search terms, and optimize your online store.
Cost of sales and profit margin: understand your gross margin
Cost of sales & Profit margin gives you an overview of your gross margin per month. Learn how to use the numbers to make better decisions about...
How revenue and order figures are calculated in the admin
How revenue, number of orders, and profit are calculated in the Shoporama admin, and exactly which order statuses count toward which figures.
Customer statistics: understand your customers' behavior
The Customer statistics page in Shoporama gives you an overview of your return customer rate, customer segments, and most valuable customers.
Inventory value over time: see your stock value on a specific date
Shoporama saves your inventory value every night. Follow the trend in a graph, look up the value on a specific date, such as December 31, and...
Related features
Control your store with AI: connect Claude to Shoporama
Connect Claude to your Shoporama store via MCP. Choose the access level, write good first messages, and decide what the AI is allowed to do in your...
Run your online store with Claude
Connect your Shoporama online store to Claude and manage products, orders, campaigns, and design by chatting. No code, full control, and an audit log.