This article is about Google Analytics 4 properties. Refer to the Universal Analytics (UA) section if you're still using a UA property. Starting July 1, 2023, standard UA properties will stop processing data (July 1, 2024 for UA 360 properties).

[GA4] Filter out developer traffic

Discover how to filter out activity from developers who use debug mode so the data doesn't appear in reports

You can filter out activity from internal developers who use debug mode so developers can continue to use DebugView to troubleshoot issues while their activity doesn't appear in your reports.

If you are looking to filter out website activity from an IP address or a range of IP addresses, see Filter out internal traffic.

You can create up to 10 data filters per property.

Warning: Once you apply a data filter, the effect on the data is permanent. For example, if you apply an exclude data filter, the excluded data is never processed and will never be available in Analytics. If you want to hide data from certain reports without permanently filtering out the data, use report filters instead.

Filter out developer traffic

Before you begin

You need the Editor role at the property level to create, edit, and delete filters.

Create the data filter

  1. In the Property column, click Data Settings > Data Filters.
  2. Click Create Filter.
  3. Choose Developer Traffic.
  4. Enter a name for the data filter. The name must:
    • be unique among data filters in the same property
    • begin with a unicode letter
    • contain only unicode letters and numbers, underscores, and spaces
    • contain up to 40 characters
  5. Choose Exclude to filter out developer traffic.
  6. Choose from the following filter states:
    • Testing: Analytics identifies matching data with the Test data filter name dimension
    • Active: Analytics applies the data filter to incoming data and makes permanent changes
    • Inactive: Analytics isn't evaluating the filter
    Note: Your data that satisfies a test data filter is assigned to the Test data filter name dimension and given a value of the filter name. That data is available throughout Analytics in dimension pickers (for example, in your reports and explorations) so you can validate your data filters before you activate them. Learn more
  7. Click Create.

Testing a data filter

Testing a data filter ensures it's filtering out developer traffic successfully. Filtered developer traffic is added to the "Test data filter name" dimension with the filter name as the value.

To find events triggered by a filtered developer, you can build a free-form exploration with these settings:

  • Technique: Free form
  • Rows: Test data filter name, Event name
  • Values: Event count
  • Filter: "Test data filter name contains [the name of your data filter]"

A data filter can take between 24 - 36 hours to apply. Check back later if no value is assigned.

Result

When you activate the data filter, Google Analytics will filter out any data collected from users when debug mode is enabled. This will allow you to test in your property without disrupting the data in your reports.

Was this helpful?
How can we improve it?
true
Choose your own learning path

Check out google.com/analytics/learn, a new resource to help you get the most out of Google Analytics 4. The new website includes videos, articles, and guided flows, and provides links to the Google Analytics Discord, Blog, YouTube channel, and GitHub repository.

Start learning today!

Search
Clear search
Close search
Google apps
Main menu
true
Search Help Center
true
true
true
true
true
69256