Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Test orders and leads counted as real conversions: fix it

TRK-344High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A test conversion is any order, sign-up or lead that was created to check the funnel works, not by a real customer. Your team, your developer, your agency or a monitoring tool places it. The problem starts when your tracking cannot tell the difference. The thank-you page loads, the purchase or lead event fires, and the platforms record it as real.

Why it costs you leads or sales

Test conversions do not directly block a sale, but they corrupt the data you use to spend money. Ad platforms such as Google Ads and Meta learn from conversions. If fake ones are mixed in, bidding and audiences are trained on noise. Reports overstate revenue and leads, so a campaign can look profitable when it is not.

How test orders distort reported conversionsExample numbers
How test orders distort reported conversions (example)Real orders: 40 conversions; Test orders: 8 conversions; Reported in ad platform: 48 conversions0183740848Real ordersTest ordersReported in ad platfo…conversions

Example: a small store with 40 real orders in a month and 8 test orders that fired tags. Reported conversions are 20% higher than reality.

How a test order becomes a reported sale
  1. Test order placedStaff or developer checks checkout
  2. Thank-you page loadsSame page real buyers see
  3. No test filterTags do not check for test traffic
  4. Conversion tags fireGA4, Google Ads, Meta record a purchase
  5. Reports and biddingFake revenue feeds optimisation

Nothing in the chain tells the tags this order is a test, so the data is polluted.

How to check if your site has it

Look for test conversions in your data
  1. Check recent orders and leads for test patterns

    In your shop admin or CRM, look for orders and leads with emails like test@, names like 'Test Test', your own domain or agency domain, or order values of 0 or 1.

  2. Match them to analyticsGoogle Analytics 4

    In GA4 go to Reports > Monetization > Ecommerce purchases, or Admin > DebugView, and look for the transaction IDs of those test orders. If they appear, they were counted.

  3. Check the ad platforms

    In Google Ads open Goals > Conversions and check recent conversion times against your known test times. In Meta Events Manager, open the Test events or Overview tab for the same moments.

  4. Test it yourself

    Place one test order with your normal test routine, then see whether the purchase event fires. If it does, nothing is excluding test traffic.

How to fix it

The goal is two layers. First, make test traffic identifiable. Second, stop tags firing for it, or filter it in reporting. Stopping it at the source is better, because ad platforms cannot easily remove conversions once they are recorded.

Exclude test traffic by platform
  1. Create a test-traffic variable

    Add a Custom JavaScript or 1st-party cookie variable. For example, a 1st Party Cookie variable named fg_test reads the fg_test cookie, and a URL variable reads the fg_test query parameter.

  2. Add a blocking trigger

    Create a trigger (Page View or Custom Event) that fires when the fg_test cookie equals 1, or when the URL contains fg_test=1 or utm_source=funnelguard. Add your own staff test marker too, for example a test email domain.

  3. Attach it as an exception

    Open each conversion tag (GA4 purchase, Google Ads conversion, Meta purchase) and add the blocking trigger under Exceptions. Preview in Tag Assistant and publish.

Skip conversion tags for test trafficjavascript
function isTestTraffic() {
  var params = new URLSearchParams(window.location.search);
  var hasCookie = document.cookie.indexOf('fg_test=') !== -1;
  return hasCookie ||
    params.get('fg_test') === '1' ||
    params.get('utm_source') === 'funnelguard';
}

if (!isTestTraffic()) {
  // fire your real conversion events here
  gtag('event', 'purchase', { transaction_id: 'ORDER_ID', value: 49.0, currency: 'USD' });
}
Clean up and filter what is already in your data
  1. Filter in GA4Google Analytics 4

    In Admin > Data settings > Data filters, create an Internal traffic or Developer traffic filter and test it before setting it to Active. Filters only apply going forward.

  2. Review Google Ads conversions

    Test conversions cannot easily be deleted. Note the dates, and exclude them when judging campaign performance. Check that imported GA4 conversions are not also counting them.

  3. Record the clean start date

    Add an annotation in GA4 or your reporting so future analysis knows the data before that date includes tests.

How to confirm it's fixed

Test order behaviour

Before

  • Test order fires GA4, Google Ads and Meta purchase
  • Revenue and ROAS look higher than reality
  • Test leads land in the CRM as real

After

  • Test order is recognised and tags are blocked
  • Reports show only real customers
  • Test leads are flagged or filtered
Confirmation checklist
  • Place a test order with the marker set and confirm no purchase event in Tag Assistant or GA4 DebugView
  • Place a normal order without the marker (or ask a colleague) and confirm the event still fires
  • Check Google Ads and Meta Events Manager after a few hours for no new test conversions
  • Confirm the GA4 data filter is Active, not Testing
  • Verify server-side events are also skipped for test orders

How to prevent it happening again

Prevention habits
  • Write down one agreed test marker (cookie, parameter or email domain) and share it with staff and agencies
  • Always use payment test mode, never real cards, for checkout tests
  • Review the blocking trigger whenever you add a new conversion tag or pixel
  • Check each new tag for the exception before publishing
  • Compare orders in your shop or CRM against conversions in each platform every month

How FunnelGuard handles this

FunnelGuard detects this issue. Its check looks at whether test traffic is excluded, including whether exclusion snippets are in place on your site. FunnelGuard also marks its own test runs so they are easy to exclude: it adds utm_source=funnelguard and fg_test=1 to URLs, sets an fg_test cookie and uses its own user agent. You can build your exclusion rules around those markers.

Questions people ask

Why are my test orders showing up in Google Analytics?

Your purchase tag fires whenever the thank-you page or order event loads, and it does not know the order is a test. Unless you have added an exclusion for test traffic, GA4 records it like any other purchase. Add a blocking trigger or a condition in your tag setup.

How do I stop test purchases from counting as conversions in Google Ads?

Stop the conversion tag from firing for test traffic, for example with an exception trigger in Google Tag Manager that checks a test cookie or URL parameter. Conversions already recorded cannot easily be removed, so note the dates and exclude them from analysis.

Can I delete test conversions from GA4?

GA4 does not let you delete individual events from standard reports. You can set up an Internal or Developer traffic data filter so future test hits are excluded, and use annotations or date ranges to separate old polluted data.

Do Shopify test orders count as sales in Meta and GA4?

They can. Shopify flags test orders in the admin, but pixels and apps may still send purchase events if they are not set to ignore them. Check your pixel setup and test with your own marker, such as a test email address.

How do I tell test leads from real leads in my CRM?

Use a consistent marker, such as a test email domain, a name like 'Test', or a hidden field with a test value. Then filter or tag those contacts and keep them out of reports and follow-up workflows.

Will test conversions affect my ad optimisation?

Yes. Ad platforms use recorded conversions to learn who to target and how to bid. Fake conversions add noise, which matters most on accounts with low conversion volume.

Does FunnelGuard count as a test conversion in my analytics?

FunnelGuard marks its traffic with utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent, so you can exclude it. It also checks whether your site has test-traffic exclusion in place.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: test_traffic_excluded / exclusion snippets.

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.