On this page
What this issue is
Every time someone tests your checkout, an order can be created. That someone may be you, a developer, an agency or a monitoring tool. If nothing marks those orders as tests, they sit next to real ones. Your revenue report, order count, average order value and customer list all include them.
The same can happen outside the store. A test purchase can fire a purchase event to GA4, Google Ads or Meta. Those platforms then record a conversion that never made money.
Why it costs you leads or sales
The direct damage is small per order, but the data feeds decisions. Inflated revenue makes campaigns look better than they are. Ad platforms may learn from fake conversions. Finance may reconcile against payouts that never arrived. Impact is usually low, but it grows if tests are frequent or run for months.
Example: a month with 40 real orders and 12 untagged test orders of $50 each. Numbers are illustrative.
- Test checkoutSomeone places a test order
- Order savedNo test tag or marker
- Store reportCounted as revenue
- GA4 and adsPurchase event recorded
The break is the missing marker: nothing tells reports to ignore the order.
How to check if your site has it
- Search orders for your own email, your agency's email and words like test, demo or asdf.
- Filter orders by $0 total, 100% discount codes and orders paid with a test or manual gateway.
- Check the customer list for names such as Test User.
- In GA4, open Reports > Monetization > Ecommerce purchases and look for transaction IDs that match test orders.
- Look for orders carrying utm_source=funnelguard or an fg_test marker, if you use FunnelGuard.
- Compare store revenue to payment provider payouts for the same period.
How to fix it
Pick one marker
Choose a rule everyone follows, such as a test email domain (for example @example.com) or an order tag called test.
Tag or cancel existing test orders
Find them with the checks above, then tag them, mark them cancelled or delete them, following your accounting rules.
Filter reports
Exclude the marker in store reports and in your dashboards or spreadsheets.
Stop test events reaching ad and analytics tools
Add a condition so the purchase tag does not fire when the marker is present. See the tabs below.
Use gateway test mode
In WooCommerce > Settings > Payments, enable the test or sandbox mode of your gateway for test purchases.
Clean up
In WooCommerce > Orders, search for test emails, select the orders and move them to Trash or set them to Cancelled.
Use Bogus Gateway or a test order
Use Shopify's test mode when available. Otherwise place the order, then cancel it.
Tag and filter
Add a test tag to orders in Orders, then exclude that tag in reports and saved filters. Test orders created in test mode can be deleted from the order page.
Block the purchase tag for tests
Create a variable for the customer email or a data layer flag. Add a trigger exception to your GA4 purchase and ad conversion tags so they do not fire when it matches your test marker.
Add a test flag
Store an is_test flag on the order when the test cookie or test email is present, and leave it out of reporting queries and conversion scripts.
How to confirm it's fixed
Place a marked test order
Use your test email or test mode.
Check the store report
The order should be excluded or tagged.
Check GA4 and ad platforms
Use GA4 DebugView or realtime reports. No purchase should be recorded for the test.
Compare totals
Store revenue should match your payment provider payouts.
How to prevent it happening again
- Write down the test marker and share it with everyone who tests.
- Use payment test mode whenever possible.
- Add a monthly task to search for and clean up test orders.
- Keep a saved report view that already excludes the marker.
- Exclude internal traffic and test events in GA4 settings.
How FunnelGuard handles this
FunnelGuard detects this only partly. Its robot visitor marks all test traffic with utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent. You can use those markers to filter its visits and orders in analytics and reports. It also stops before payment unless your store's test mode is set up.
Questions people ask
Why are test orders showing in my revenue report?
Your store counts any order it saves, even if it came from a test. Unless the order is tagged, cancelled or made in a test mode, reports include it. Tag or filter a marker such as a test email.
How do I exclude test orders from GA4?
Stop the purchase event firing for tests, for example with a Google Tag Manager trigger exception on your test marker. You can also define internal traffic and a data filter in GA4 Admin so test traffic is excluded.
Should I delete test orders or cancel them?
It depends on your accounting rules. Many businesses cancel them to keep the order number sequence intact. Ask your accountant if you are unsure.
How do I place a test order in Shopify without affecting reports?
Use a test or bogus payment gateway where available, then cancel or delete the order. Tag it as test so you can exclude it from reports.
How do I remove test orders in WooCommerce?
Go to WooCommerce > Orders, search for your test emails, select the orders and move them to Trash or mark them Cancelled. Use the gateway's test mode for future tests.
Do test orders affect my Google Ads or Meta conversions?
They can if the purchase event fires on test orders. The platform records a conversion with no real revenue. Block the tag for test markers to avoid it.
Does FunnelGuard remove test orders for me?
No. FunnelGuard marks its test traffic so you can filter it, but it does not clean up or exclude orders automatically.
Related issues
- DLV-160Order not created in the store after test purchaseFix guide
- DLV-167Order confirmation shows wrong totals, tax or currencyFix guide
- DLV-179Admin new-order email not sent to the store ownerFix guide
- DLV-180Purchase sends no data to the accounting tool (Xero, QuickBooks)Fix guide
- DLV-181Coupon redemptions not recordedFix guide
- DLV-183Order notes or custom fields lostFix guide