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.
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.
- Test order placedStaff or developer checks checkout
- Thank-you page loadsSame page real buyers see
- No test filterTags do not check for test traffic
- Conversion tags fireGA4, Google Ads, Meta record a purchase
- 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
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.
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.
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.
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.
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.
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.
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.
Pick one marker for test traffic
Use a cookie or query parameter your team sets when testing, for example ?fg_test=1 or a logged-in admin check.
Stop tags for admins and testers
Most tracking plugins (for example Site Kit, MonsterInsights, PixelYourSite) have a setting to exclude logged-in roles such as Administrator or Editor. Turn it on, but check the plugin's own settings as names differ.
Handle test payments
If you use WooCommerce, filter on order email or payment method test mode before the purchase event is output, or let Tag Manager handle it as above.
Use Shopify's test mode properly
Use Bogus Gateway or a payment provider's test mode for test orders, and keep a test marker such as a test email address.
Check order status and tags
Test orders are flagged in the admin. Make sure your pixels and apps do not send events for them. In the Customer events (pixels) settings, add a condition in custom pixel code that skips events when the email or checkout URL matches your test marker.
Remove old test orders from reports
Archive or cancel test orders in Shopify, but note that platforms that already received the event keep it.
Wrap conversion code in a test check
In Project Settings > Custom code, or in a page's embed, run conversion scripts only if the test marker is absent (see the code example below).
Use a test form route
Send test submissions with a marker such as ?fg_test=1 so the check can skip them.
Add a central test check
Create one function, isTestTraffic(), and call it before every conversion event or server call.
Apply it server-side too
If you send events from your server (for example the Meta Conversions API or Measurement Protocol), skip them for orders flagged as test.
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' });
}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.
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.
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
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
- 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
- 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.
Related issues
- TRK-346Spam form submissions firing lead conversionsFix guide
- TRK-347Own staff visits counted (no IP/internal filter)Fix guide
- TRK-348Uptime monitors/crawlers triggering conversionsFix guide
- TRK-349Events from localhost or staging domains in production propertyFix guide
- TRK-345Bot/spam traffic inflating sessionsFix guide
- TRK-337Same conversion counted by multiple tags (GA4 + Ads import + Ads tag)Fix guide