Your receptionist opens the booking page every morning. Your marketing team checks it after every campaign edit. Those visits can look like customer interest in Google Analytics 4. But if patients use guest Wi-Fi at reception, excluding the entire office connection could erase genuine booking activity too.
A GA4 internal traffic filter can help when you know who uses a particular internet connection. The following two-visit test lets you check that assumption while the events are still available to inspect. You will need access to the web property as an Editor or Administrator, one device on the office network and another connection outside it.
Decide whose visits the filter should catch
Write down the activity you want to separate. A useful starting point is “staff testing our website from the private office connection.” That is narrow enough to verify. “Everyone visiting from our city” includes potential customers. Even “everyone in our building” could include visitors, tenants or contractors.
Ask whoever manages the network whether staff and guest Wi-Fi share a public internet address and whether that address stays fixed. Two different Wi-Fi names can still use the same address when they reach your website. A remote employee on home broadband may appear under a different address entirely. If the business cannot identify a staff-only connection, keep measuring both groups together while you investigate.
Define the office rule in the right web stream
Open the GA4 property that receives events from the production website. In Admin, go to Data streams, select the web stream and open Configure tag settings. Expand Show more and choose Define internal traffic. Check existing rules first so you know whether another office, agency or test environment is already covered.
Create a clearly named rule, such as “Main office wired network.” For this example, give the traffic_type parameter the value office_test. Select an exact address match and enter the verified public IP of that connection. If your IT team says multiple addresses are involved, ask which ones are exclusively used by staff before widening the match. Google documents the supported address formats in its internal traffic setup guide.

Create the filter and leave it in Testing
In Admin, open Data filters and inspect the existing settings. For this example, create an Internal Traffic filter named Office QA Pilot. Choose Exclude, enter office_test as the parameter value and select Testing. The first rule identifies which events come from the office. The filter evaluates that label. A spelling difference between the two values can leave your test empty.
Testing preserves matching events and lets you inspect them using the Test data filter name dimension. An active exclusion permanently discards matching incoming data. Turning it off later cannot recover those events, including in BigQuery. If your aim is simply to give management a different view while preserving collection, consider a reporting filter instead. Google explains how data filters affect collection.
Run one office visit and one outside visit
Imagine a practice testing its public booking page. Choose an ordinary page that accepts a harmless query parameter, then confirm both versions below load the same page and keep the marker in the address bar. Substitute your own page path. The markers identify these two visits without sending a form or creating a fake appointment.
From the office computer, visit /booking/?qa_visit=office_a. Record the time, time zone and connection. From a phone with Wi-Fi switched off, visit /booking/?qa_visit=mobile_b using mobile data. Make sure the phone is also disconnected from any company VPN. Use the same applicable analytics consent choice for both visits. Neither marker should contain a name, email or booking reference.

The expected result is specific. Both page views should be visible while the filter is in Testing. Only the office visit should carry the Office QA Pilot label. Finding a labelled office visit proves that one visit matched. The outside visit is what helps you spot a rule that catches too much.
Read the result in Explore
Create a free-form exploration covering the test dates. Import Page location, Event name and Test data filter name as dimensions and Event count as a metric. Put Page location and Test data filter name in Rows, then Event count in Values. Filter Event name to page_view and Page location to values containing qa_visit=. Keep both markers visible. Filtering this comparison down to the office label would hide the outside visit you need to inspect.
Google advises allowing 24 to 36 hours for a data filter to apply. If you tested immediately after setup and see no label, keep Testing enabled and repeat the two visits after that window with fresh marker values. Change the exploration date range if the visits crossed midnight in the property’s time zone.
If both visits have the office label
Check the phone’s connection and VPN first. Then review the address match and any additional conditions in the rule. Repeat with a known independent connection. If the customer-facing guest network also matches, test from that network separately and discuss the result with your network administrator before activating an exclusion.
If neither visit has the label
First confirm that the two marked page views exist. Missing visits point to a different problem from visible visits with a missing label. Check the property, stream, date range, consent choice and any redirect that removes the query string. If both events exist, compare the current office public address with the saved rule and check the traffic_type spelling in both places.
If only the office visit has the label
Record the tested address, date, two marker values and result. Check any other important customer route that uses the premises, such as scanning a booking QR code on guest Wi-Fi. Leave the filter in Testing until the person responsible for reporting agrees that the excluded traffic is genuinely expendable.
Explain the change in your next report
An active filter affects incoming data. It does not clean up last month’s traffic. Record the activation date beside your reporting notes so a decline in page views after that date is interpreted in context. If the office changes internet provider or moves to a new building, repeat the test.
Use the same discipline when judging whether traffic has business value. A visitor’s city alone cannot tell you that they are a staff member, a bot or a qualified buyer. Compare enquiries with what actually reached your team. Qandey Tech’s guides to traffic and leads by country and GA4 lead tracking cover the next reporting step.

Leave a Reply