Hey! If you’re using Google Analytics 4 (GA4) you may have noticed that visits from your team are affecting your data. This can make it hard to see what your actual customers are doing on your site. No problem! I’m here to show you how to exclude those IP addresses so you can get some clarity. Let’s get started!
Why Exclude Internal Traffic?
- Accuracy: Internal visits will skew your numbers and make it hard to see real user engagement.
- Better Insights: By filtering out your team’s activity you can focus on actual customer behavior.
- Informed Decisions: Accurate data helps you make better marketing and business decisions.
Step 1: Define Internal Traffic
First we need to define what “internal traffic” means for your organization.
Go to Admin Settings
- Log into your Google Analytics account.
- Click on the Admin gear icon in the bottom left.
- Under the property column, select Data Streams and choose the stream for your website.
Tag Settings
- Click on Configure Tag settings.
- Select Show all, then click on Define Internal Traffic.


Create a Internal Traffic Rule
- Click Create.
- Fill in the fields:
- Rule Name: Give it a simple name (like “Exclude Office IP”).
- Traffic Type Value: Set this to internal.
- Match Type: Choose “IP address equals” or “IP address matches regex” if you have multiple addresses.
- Value: Enter the IP address you want to exclude. (You Can Check Your IP Address Through this Website: whatismyipaddress.com )
- Click on Create Button

Step 2: Create a Filter
Now we’ve defined internal traffic, let’s create a filter to keep that traffic out of our reports.
Data Filters
In the Admin panel go to Data Settings and select Data Filters. Fill in the filter details:
- Data Filter Name: Give it a simple name. (like “Office IP”).
- Filter Operation: Exclude.
- Parameter Value: Use the same value you used for internal traffic (e.g. internal).
- Filter State: Set to Active so it applies immediately.
- Click on Save Button


Notes
- IP Anonymization: GA4 anonymizes IP addresses so they’re not stored. But you can still define internal traffic.
- Dynamic IP Addresses: If your team uses dynamic IPs consider using regex patterns to handle changes over time.
- Permanence of Filters: Once you apply these filters they will permanently exclude data from those IPs in your reports. So double check everything before you hit apply!

That’s it! Excluding internal traffic from Google Analytics 4 is a crucial step to get accurate insights into user behavior on your site. Now you can focus on what really matters—your actual customers!
If you have any questions or need more help, feel free to ask in the comments below. Happy analyzing!