Marketing attribution
Mobile vs desktop orders in WooCommerce
To see mobile vs desktop orders in WooCommerce, use the device type that order attribution saves on each order. It shows in the Order attribution box on every order as Mobile, Tablet or Desktop. Core Analytics doesn't total it, so to get the split for a month you export orders with their attribution meta, run a query, or ask a tool that groups orders by device.
This guide covers how WooCommerce detects the device, how to get totals, what to compare (count and order value), and what to do if mobile lags.
How WooCommerce records the device
When a shopper checks out, WooCommerce's order attribution sends their browser's user agent with the order. WooCommerce classifies it as one of three values and saves it as order meta:
| Device type | What it covers |
|---|---|
| Mobile | Phones |
| Tablet | Tablets, such as iPads |
| Desktop | Everything else, mainly laptops and desktop computers |
The meta key is _wc_order_attribution_device_type. It's the device used at checkout. A customer who browsed on their phone at lunch and bought on their laptop that evening counts as Desktop.
To see it for a single order, open the order under WooCommerce › Orders: the Order attribution box shows device type next to origin and session page views.
How to get the mobile vs desktop split
There's no device report in core Analytics. Your options:
- Export and pivot. With an order export plugin that includes custom order meta, export the month with the device type field and order totals, then pivot by device.
- WooCommerce's free attribution extension. A separate free extension, also named WooCommerce Analytics, adds Order Attribution reports including Orders by Device. It's in early access, needs attribution tracking on, only covers orders placed after WooCommerce 8.5 (or after tracking was enabled), syncs your data to WordPress.com, and supports single-currency stores only.
- SQL, below.
- Ask Askshelf, further down.
How to see which channels bring the most orders covers these methods in more detail.
For developers: orders and order value by device in SQL
On an HPOS store, the attribution meta is in wp_wc_orders_meta:
SELECT COALESCE(NULLIF(d.meta_value, ''), '(none)') AS device,
COUNT(*) AS orders,
ROUND(SUM(s.net_total), 2) AS net_sales,
ROUND(SUM(s.net_total) / COUNT(*), 2) AS net_per_order
FROM wp_wc_order_stats s
LEFT JOIN wp_wc_orders_meta d
ON d.order_id = s.order_id
AND d.meta_key = '_wc_order_attribution_device_type'
WHERE s.parent_id = 0
AND s.date_created >= '2026-10-01' AND s.date_created < '2026-11-01'
AND s.status NOT IN ('wc-pending', 'wc-failed', 'wc-cancelled', 'wc-refunded', 'wc-checkout-draft')
GROUP BY device
ORDER BY orders DESC;
On posts storage, join wp_postmeta d ON d.post_id = s.order_id instead. Change wp_ if your prefix differs and match the statuses to Analytics › Settings › Excluded statuses. net_total is net sales (after coupons, before tax and shipping), and refund rows are left out, so this is before refunds.
What to compare between mobile and desktop
The order count is only half the picture. Compare these side by side:
| Measure | What it tells you |
|---|---|
| Share of orders | How much of your business happens on phones |
| Net sales per order | Whether phone baskets are smaller |
| Change vs last period | Whether the mix is shifting |
| Device by channel | Whether a channel (say Instagram) is mostly mobile |
Say October had 260 orders: 150 Mobile, 12 Tablet, 92 Desktop and 6 with no device. Mobile brought 58% of orders but, at $61 per order against $84 on desktop, a smaller share of revenue. That's a common shape: people browse and buy small items on phones, and save bigger purchases for a larger screen. Your own numbers are what matter, so measure them rather than assuming.
For a closer look at basket size, see average order value in WooCommerce.
Limits of the device split
- Orders only. WooCommerce doesn't record the device of visitors who didn't buy, so it can't give you a mobile conversion rate. If mobile has 70% of your visits (from Google Analytics) but 50% of your orders, mobile converts worse.
- Checkout device only. Cross-device journeys are credited to the device that placed the order.
- Missing data. Orders without attribution have no device. That includes orders placed before attribution was switched on and orders where tracking was blocked. Orders created in WordPress admin are labelled Web admin but carry no device either. See why attribution says Unknown.
- Tablets are small. With few tablet orders, a swing of a few orders looks like a big percentage change. Read them together with mobile or ignore small changes.
The quick way: ask Askshelf
Askshelf adds Analytics › Askshelf to WordPress admin. Its "orders by channel" lookup can group orders and net sales by device type for any date range, with an optional comparison period. It reads the device type WooCommerce saved on each order.
How many orders came from mobile vs desktop in October, compared with September?
It groups by one field at a time, so "device by channel" means asking twice (by device, then by source type) rather than getting a cross-table. It doesn't measure visits or conversion rate. More on the order attribution use case page.
What to do if mobile lags
- Buy something on your own phone. Go from a product page to the thank-you page on a real phone, on mobile data. Note every zoom, typo and slow step.
- Offer wallet payments if your payment provider supports them. Typing card numbers on a phone is where many buyers give up.
- Shorten the checkout. Remove optional fields you don't use.
- Check mobile by channel. If your Instagram orders are almost all mobile, your mobile product pages are your Instagram landing pages.
- Recheck next month with the same date comparison, and see the hub on WooCommerce order attribution for how device fits with the rest of the data.
Common questions
How does WooCommerce know which device an order was placed on?
Order attribution reads the buyer's browser user agent at checkout and classifies it as Mobile, Tablet or Desktop. It saves the result on the order as _wc_order_attribution_device_type.
Can I see my mobile conversion rate in WooCommerce?
No. WooCommerce records the device only for orders, not for visits. For conversion rate by device you need visit counts from a web analytics tool such as Google Analytics.
Why do some orders have no device type?
Device type comes from the shopper's browser at checkout, so orders placed before the feature was on, orders where tracking was blocked, and orders created in WordPress admin have no device.
See how Askshelf handles this: Order attribution reports for WooCommerce