Return to Admin, open Data settings and click Data filters. Press Create filter, pick Internal traffic and name it Exclude internal. Choose the same traffic_type used earlier, set the operation to Exclude and leave the filter state as Testing.
Testing adds a label to matching events without removing them. This safety net lets you confirm the rule works across office Wi-Fi, VPN and home routers before any data is lost for good.
Save the filter. GA4 begins marking internal hits with a test flag you can inspect in Realtime or Explorations. Verification is the next step.
[PRINT SCREEN – Data filter summary showing state Testing]
Wait a few minutes, then open a low-traffic page on your site from an internal network. In another tab load GA4 Realtime. Add a comparison where the dimension Test data filter name equals Exclude internal. Refresh the page you opened.
If the visit appears under the test filter name, GA4 is correctly identifying internal traffic. If nothing shows, re-check the IP list or confirm you are not on a mobile connection with a different address.
Run the same check from a personal device on mobile data. That visit should appear only under the default view, proving genuine users remain untouched.
[PRINT SCREEN – Realtime view highlighting events with the test filter label]
When every internal visit is tagged and no external traffic slips through, switch the filter to Active. From that point GA4 will permanently exclude internal hits, so double-check before saving.
Set a quarterly reminder to review office and home IP addresses. Add new ranges for relocated staff and remove old ones to keep the filter reliable. If your ISP rotates IPs, consider using a broader range or a VPN with a fixed endpoint for office work.
For ad-hoc troubleshooting you can flip the filter to Inactive or create a second property that collects unfiltered data. Most teams never need this, but the option exists if deeper debugging arises.
[PRINT SCREEN – Filter state switched to Active after testing]