Exclude internal traffic in GA4

To exclude internal traffic in GA4 (Google Analytics 4), you can use an IP filter. Here are the steps to set up an IP filter:

  • Go to the Admin section of your GA4 property.
  • Click on ‘Data Settings' under the ‘Property' column.
GA4 exclude internal traffic
  • Click on ‘Data Filters', then click on ‘Create Filter'.
GA4 Screenshot
  • Choose ‘Internal Traffic'.
Internal Traffic
  • Enter a name for the data filter and then choose ‘Exclude' as the filter type.
  • Enter the IP addresses or IP ranges you want to exclude.
  • Click ‘Save'.
Data Filter

Once you've set up the IP filter, you can test it by visiting your website from an excluded IP address. Your visit should be excluded from your GA4 reports. If you want to deactivate the filter, you can follow these steps:

  • Go to the Admin section of your GA4 property.
  • Click on ‘Data Settings' under the ‘Property' column.
  • Click on ‘Data Filters'.
  • Click on the three-dot menu next to the data filter you want to deactivate.
  • Click on ‘Deactivate'.

It's important to note that once you apply a data filter, the effect on the data is permanent. If you want to hide data from certain reports without permanently filtering out the data, use report filters instead. Also, you can create up to 10 data filters per property.

Why is this important?

Excluding internal traffic from Google Analytics 4 (GA4) reports is important to enhance the accuracy of the data.

Internal traffic refers to the web traffic that originates from you and your employees accessing your website. 

Here are some reasons why you should exclude internal traffic in GA4:

  • Internal traffic can cause data pollution in GA4, leading to skewed data and inaccurate insights.
  • Data-driven decisions based on skewed data belong in comedies, not in your business.
  • You target your paid marketing campaigns around potential customers, not your employees.
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Subscribe to Our Newsletter to Improve Your eCommerce Digital Marketing!

Thank you for your interest in our newsletters. We will send you only the most important news and updates. No spam, we promise.

We are committed to protecting your privacy, as described in our Privacy policy.

What’s your goal today?

1. Hire us to grow your ecommerce store

We’ve generated millions for our clients, using the methods we’ve developed over years with a singular focus on Google Ads for ecommerce. To discover how we can help grow your business:

Claim your FREE website strategy session with one of our renowned experts.

2. Learn & develop your ecommerce skills

Watch our highly regarded YouTube channel, followed by over 23,000 store owners and ecommerce learners from around the world.

You can also subscribe to our weekly email newsletter to get real-world tested growth and optimization strategies, as well as notifications on anything you may need to know as an ecommerce store owner.

Browse our blog, written and structured to be the best resource in the world for anyone starting and growing their online store. It includes strategy guides, setup instructions, checklists, and tools.

Explore our KeyCompendium, which is a comprehensive wiki of digital marketing terms. Many readers have commented on the usefulness of this content.

3. Join our team

If you want to join our team—or discover why our team members love working with KeyCommerce—then see our “Careers” page.

4. Contact us

We help ecommerce store owners around the world, so get in touch!