Google Analytics 4
beginner
5 min read3 steps580 views

How to Filter Internal Traffic in GA4

Exclude your own visits from GA4 reports by defining internal traffic rules based on IP address, then activating the filter. Go to Admin > Data Streams > Configure tag settings > Define internal traffic. Add your office IP address or range. Then go to Admin > Data Settings > Data Filters and change

Configurationga4 internal traffic filter

Quick Summary

Exclude your own visits from GA4 reports by defining internal traffic rules based on IP address, then activating the filter. Go to Admin > Data Streams > Configure tag settings > Define internal traffic. Add your office IP address or range. Then go to Admin > Data Settings > Data Filters and change the Internal Traffic filter from 'Testing' to 'Active.'

Remote Workers

For teams with remote workers, you may need to define multiple IP rules or use other methods. Consider using UTM parameters or a custom dimension to identify internal traffic from variable IP addresses.

Process Flow

Interactive diagram — drag to pan, scroll to zoom

Step-by-Step Guide

Follow these 3 steps to complete this guide

1

Define Internal Traffic

Admin > Data Streams > select stream > Configure tag settings > Define internal traffic > Create. Name the rule (e.g., 'Office IP'). Set match type (IP address equals) and enter your IP. For IP ranges, use 'IP address begins with.'
2

Test the Filter

Leave the filter in 'Testing' mode initially. In DebugView, verify that events from your IP are tagged with the 'traffic_type' parameter set to 'internal.' This confirms the rule works without actually filtering data yet.
3

Activate the Filter

Once confirmed, go to Admin > Data Settings > Data Filters. Change the Internal Traffic filter status from Testing to Active. Internal traffic will now be excluded from all reports.

Was this guide helpful?

Your feedback helps us improve our guides