Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Test orders in revenue reports: how to find and exclude them

DLV-182Low impactPartlyBy FunnelGuardPublished Updated
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.

Reported vs real revenueExample numbers
Reported vs real revenue (example)Real revenue: 4,000 $; Test orders: 600 $; Reported total: 4,600 $01,7633,5274,0006004,600Real revenueTest ordersReported total$

Example: a month with 40 real orders and 12 untagged test orders of $50 each. Numbers are illustrative.

How a test order reaches your reports
  1. Test checkoutSomeone places a test order
  2. Order savedNo test tag or marker
  3. Store reportCounted as revenue
  4. 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

Look for test orders
  • 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

Exclude test orders
  1. Pick one marker

    Choose a rule everyone follows, such as a test email domain (for example @example.com) or an order tag called test.

  2. 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.

  3. Filter reports

    Exclude the marker in store reports and in your dashboards or spreadsheets.

  4. 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.

Platform-specific steps
  1. Use gateway test mode

    In WooCommerce > Settings > Payments, enable the test or sandbox mode of your gateway for test purchases.

  2. Clean up

    In WooCommerce > Orders, search for test emails, select the orders and move them to Trash or set them to Cancelled.

How to confirm it's fixed

Verify
  1. Place a marked test order

    Use your test email or test mode.

  2. Check the store report

    The order should be excluded or tagged.

  3. Check GA4 and ad platforms

    Use GA4 DebugView or realtime reports. No purchase should be recorded for the test.

  4. Compare totals

    Store revenue should match your payment provider payouts.

How to prevent it happening again

Habits that keep reports clean
  • 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.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: Test markers; no automatic cleanup.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.