On this page
What this issue is
When someone tests a GA4 setup, hits are sent with a debug_mode parameter. This is what makes them show up in DebugView, GA4's live test stream. Google Tag Manager preview mode and the Google Analytics Debugger browser extension add this parameter for you.
GA4 has a data filter named Developer traffic. When it is Active, hits that carry debug_mode are left out of standard reports. When it is Inactive or Testing, they are still counted. So your developers' and testers' sessions can sit next to real customer data.
Why it costs you leads or sales
The direct damage is usually small, because debug hits are a tiny share of traffic on most sites. The risk grows when a team tests a lot: a launch, a new tracking setup, or a redesign. Then page views, events and key events from tests get mixed in with real ones.
That can make a conversion rate look better than it is, or make a campaign look like it produced a lead that was really a test form. Decisions about budget then rest on slightly wrong numbers. Treat it as a hygiene fix: cheap to do and worth doing once.
Example: a month with 120 real leads and 15 test submissions sent from debug sessions. With the filter inactive, reports show 135.
How to check if your site has it
Open Admin
In GA4, click the gear icon (Admin) at the bottom left. You need Editor or Administrator access on the property.
Go to Data filters
Under Property settings, open Data collection and modification, then Data filters.
Read the state of Developer traffic
Find the row named Developer traffic. The state column shows Active, Testing or Inactive. Only Active removes the hits from reports.
Look for debug hits in reports
If the filter was not active, open a report and compare it with DebugView activity from a known test date. Test events may already be in the numbers.
| State | Effect on reports | Reversible? |
|---|---|---|
| Active | Debug hits are excluded from reports as they arrive | No: excluded data cannot be restored later |
| Testing | Debug hits are still counted, but tagged so you can compare them using the Test data filter name dimension | Yes |
| Inactive | Debug hits are counted like normal traffic | Yes |
How to fix it
Open the filter
Go to Admin > Data collection and modification > Data filters and click Developer traffic.
Optionally verify in Testing first
If you want proof, set the state to Testing. Then in an exploration or report, use the Test data filter name dimension to see which hits would be excluded.
Set the state to Active
Choose Active and save. From then on, hits with debug_mode are left out of reports.
Keep testing in DebugView
DebugView still shows your test hits in real time, so you lose nothing when you debug.
Inactive or Testing
- Debug hits count in reports
- Test form submissions look like leads
- Launch weeks show inflated numbers
Active
- Debug hits are excluded from reports
- DebugView still works for testing
- Reports reflect real visitors
How to confirm it's fixed
Confirm the state
Reopen Data filters and check that Developer traffic reads Active.
Send a test hit
Turn on GTM preview mode or the Google Analytics Debugger extension, visit a page and trigger an event.
Check DebugView
In Admin > Data display > DebugView, the event should appear.
Check the reports
After the usual processing delay (often several hours), the test event should not add to the counts in Reports or Explore.
How to prevent it happening again
- Set Developer traffic to Active on every new property you create
- Also set up and activate the Internal traffic filter for office and team IP addresses
- Do not leave debug_mode set to true in production code
- Add a filter check to your launch checklist for new properties and client handovers
- Review Data filters after any property is copied or migrated
How FunnelGuard handles this
This is outside what FunnelGuard checks. The Developer traffic filter is a setting inside your GA4 property, and reading or auditing property settings needs a different kind of tool: a GA4 property configuration audit, or a tag and analytics auditing tool with access to your Google Analytics account. Your own review of Admin > Data filters also does the job.
FunnelGuard is a synthetic monitoring service. A robot visitor runs your real customer journeys, such as lead forms and checkouts, and checks each step and the tracking hits sent to platforms like GA4. That is a different job from auditing property settings. FunnelGuard's test traffic is marked (utm_source=funnelguard, fg_test=1) so you can recognise it in your own reports. There is a free plan and a free read-only website audit if you want to look at your funnels.
Questions people ask
Why are my DebugView hits showing up in GA4 reports?
The Developer traffic data filter is probably Inactive or in Testing. Only the Active state removes hits that carry debug_mode from reports. Check Admin > Data collection and modification > Data filters.
How do I activate the developer traffic filter in GA4?
Go to Admin > Data collection and modification > Data filters, open Developer traffic, set the state to Active and save. You need Editor or Administrator access on the property.
What is the difference between Testing and Active for a GA4 data filter?
In Testing, matching hits are still counted but marked so you can review them with the Test data filter name dimension. In Active, matching hits are excluded from reports and cannot be restored.
Will the developer traffic filter stop DebugView from working?
No. DebugView still shows your debug hits in real time. The filter only keeps them out of standard reports.
Can I recover debug data after activating the filter?
No. Once a data filter is Active, matching hits are permanently excluded from reports. Use Testing first if you want to check what would be removed.
Is the developer traffic filter the same as the internal traffic filter in GA4?
No. Developer traffic filters hits sent with debug_mode. Internal traffic filters hits from IP addresses you define as internal. Each has its own state, so check both.
Does GTM preview mode send hits that count in GA4?
GTM preview mode sends hits with debug_mode, so they appear in DebugView. If the Developer traffic filter is not Active, they can also be counted in reports.
Related issues
- TRK-020GA4 hits sent with debug_mode on in productionFix guide
- TRK-021Hits marked traffic_type=internal for all visitorsFix guide
- TRK-022Test traffic not marked internal (pollutes reports)Fix guide
- TRK-023Internal traffic filter left in Testing state, never ActiveFix guide
- TRK-005Two GA4 measurement IDs sending to the same propertyFix guide
- TRK-001GA4 tag missing from a funnel pageFix guide