{"id":307,"date":"2026-11-24T16:18:44","date_gmt":"2026-11-24T16:18:44","guid":{"rendered":"https:\/\/qandeytech.com\/blog\/?p=307"},"modified":"2026-11-24T16:18:44","modified_gmt":"2026-11-24T16:18:44","slug":"test-ga4-internal-traffic-filter","status":"publish","type":"post","link":"https:\/\/qandeytech.com\/blog\/test-ga4-internal-traffic-filter\/","title":{"rendered":"How to Test a GA4 Internal Traffic Filter With Two Visits"},"content":{"rendered":"<p class=\"wp-block-paragraph\">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.<\/p>\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n<h2 class=\"wp-block-heading\">Decide whose visits the filter should catch<\/h2>\n\n<p class=\"wp-block-paragraph\">Write down the activity you want to separate. A useful starting point is \u201cstaff testing our website from the private office connection.\u201d That is narrow enough to verify. \u201cEveryone visiting from our city\u201d includes potential customers. Even \u201ceveryone in our building\u201d could include visitors, tenants or contractors.<\/p>\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n<h2 class=\"wp-block-heading\">Define the office rule in the right web stream<\/h2>\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n<p class=\"wp-block-paragraph\">Create a clearly named rule, such as \u201cMain office wired network.\u201d 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 <a href=\"https:\/\/support.google.com\/analytics\/answer\/10104470?hl=en\">internal traffic setup guide<\/a>.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"508\" src=\"https:\/\/qandeytech.com\/blog\/wp-content\/uploads\/2026\/11\/office-network-analytics-test.webp\" alt=\"A colleague checks a website from a desktop on the office network.\" class=\"wp-image-305\" srcset=\"https:\/\/qandeytech.com\/blog\/wp-content\/uploads\/2026\/11\/office-network-analytics-test.webp 1024w, https:\/\/qandeytech.com\/blog\/wp-content\/uploads\/2026\/11\/office-network-analytics-test-300x149.webp 300w, https:\/\/qandeytech.com\/blog\/wp-content\/uploads\/2026\/11\/office-network-analytics-test-768x381.webp 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Use a known staff connection for the office visit. AI-generated editorial illustration by Qandey Tech.<\/figcaption><\/figure>\n\n<h2 class=\"wp-block-heading\">Create the filter and leave it in Testing<\/h2>\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n<p class=\"wp-block-paragraph\">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. <a href=\"https:\/\/support.google.com\/analytics\/answer\/13296761?hl=en\">Google explains how data filters affect collection<\/a>.<\/p>\n\n<h2 class=\"wp-block-heading\">Run one office visit and one outside visit<\/h2>\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n<p class=\"wp-block-paragraph\">From the office computer, visit <code>\/booking\/?qa_visit=office_a<\/code>. Record the time, time zone and connection. From a phone with Wi-Fi switched off, visit <code>\/booking\/?qa_visit=mobile_b<\/code> 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.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"509\" src=\"https:\/\/qandeytech.com\/blog\/wp-content\/uploads\/2026\/11\/mobile-network-control-visit.webp\" alt=\"A man checks a smartphone in a caf\u00e9 during a mobile network test.\" class=\"wp-image-306\" srcset=\"https:\/\/qandeytech.com\/blog\/wp-content\/uploads\/2026\/11\/mobile-network-control-visit.webp 1024w, https:\/\/qandeytech.com\/blog\/wp-content\/uploads\/2026\/11\/mobile-network-control-visit-300x149.webp 300w, https:\/\/qandeytech.com\/blog\/wp-content\/uploads\/2026\/11\/mobile-network-control-visit-768x382.webp 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Use a separate connection for the control visit. AI-generated editorial illustration by Qandey Tech.<\/figcaption><\/figure>\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n<h2 class=\"wp-block-heading\">Read the result in Explore<\/h2>\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n<p class=\"wp-block-paragraph\">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\u2019s time zone.<\/p>\n\n<h3 class=\"wp-block-heading\">If both visits have the office label<\/h3>\n\n<p class=\"wp-block-paragraph\">Check the phone\u2019s 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.<\/p>\n\n<h3 class=\"wp-block-heading\">If neither visit has the label<\/h3>\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n<h3 class=\"wp-block-heading\">If only the office visit has the label<\/h3>\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n<h2 class=\"wp-block-heading\">Explain the change in your next report<\/h2>\n\n<p class=\"wp-block-paragraph\">An active filter affects incoming data. It does not clean up last month\u2019s 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.<\/p>\n\n<p class=\"wp-block-paragraph\">Use the same discipline when judging whether traffic has business value. A visitor\u2019s 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\u2019s guides to <a href=\"https:\/\/qandeytech.com\/blog\/ga4-traffic-and-leads-by-country\/\">traffic and leads by country<\/a> and <a href=\"https:\/\/qandeytech.com\/blog\/ga4-lead-tracking-guide\/\">GA4 lead tracking<\/a> cover the next reporting step.<\/p>","protected":false},"excerpt":{"rendered":"<p>Use an office computer and a phone on mobile data to check which visits GA4 labels as internal before switching on a permanent exclusion.<\/p>\n","protected":false},"author":1,"featured_media":304,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"Test your GA4 internal traffic filter with an office visit and a mobile visit. Verify both in Explore before you permanently exclude staff activity from reports.","jetpack_seo_html_title":"How to Test a GA4 Internal Traffic Filter With Two Visits","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"article","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[7,6],"class_list":["post-307","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-analytics","tag-digital-marketing"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/qandeytech.com\/blog\/wp-content\/uploads\/2026\/11\/ga4-test-internal-office-traffic.webp","_links":{"self":[{"href":"https:\/\/qandeytech.com\/blog\/wp-json\/wp\/v2\/posts\/307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qandeytech.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qandeytech.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qandeytech.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qandeytech.com\/blog\/wp-json\/wp\/v2\/comments?post=307"}],"version-history":[{"count":1,"href":"https:\/\/qandeytech.com\/blog\/wp-json\/wp\/v2\/posts\/307\/revisions"}],"predecessor-version":[{"id":308,"href":"https:\/\/qandeytech.com\/blog\/wp-json\/wp\/v2\/posts\/307\/revisions\/308"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qandeytech.com\/blog\/wp-json\/wp\/v2\/media\/304"}],"wp:attachment":[{"href":"https:\/\/qandeytech.com\/blog\/wp-json\/wp\/v2\/media?parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qandeytech.com\/blog\/wp-json\/wp\/v2\/categories?post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qandeytech.com\/blog\/wp-json\/wp\/v2\/tags?post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}