Start now

How to Filter Out Internal Traffic in Google Analytics

Understanding the true behavior of your users is essential for accurate analytics and decision-making. Internal traffic from your own team, company locations, or development environments can distort your data and make it harder to identify real user trends. Google Analytics allows you to filter out internal traffic by defining rules and filters based on IP addresses or other parameters.

This article will guide you step-by-step through identifying internal traffic, creating an internal traffic rule, and activating a data filter in Google Analytics. By the end, you'll ensure that your internal visits no longer interfere with your reports.

https://developers.google.com/analytics

What Is Internal Traffic?

  • Internal traffic refers to visits and interactions with your website that originate from within your own organization, such as employees, developers, or anyone accessing your site from company networks.

  • Filtering this traffic out helps provide a clearer view of real user behavior, removing test activity and non-customer visits from your analytics.

Identify Internal Traffic

  • Begin by determining which networks, devices, or locations represent internal users.

  • Gather the IP addresses or address ranges assigned to your offices, teams, or known sources of internal activity.

  • This information will be used to define your internal traffic rule in Google Analytics.

Set Up an Internal Traffic Rule

  • Open Admin in the lower left corner of Google Analytics.

  • Click Data streams.

  • Select your desired data stream (for web or app).

  • Click Configure tag settings.

  • Click Show more to see additional configuration options.

  • Click Define internal traffic.

  • Click Create to add a new rule.

  • Enter a unique name for your internal traffic rule in the Name field.

  • Enter a descriptive value for the traffic_type parameter.

  • Input the specific IP address or address range representing your internal traffic.

  • Once all information is entered, click Create to finalize your internal traffic rule.

Create a Data Filter for Internal Traffic

  • Click Admin to return to the admin console.

  • Click Data filters in the relevant property column.

  • Click Create filter to add a new data filter.

  • In the filter options, select Internal traffic as the filter type.

  • For easier management later, enter a name for your filter in the Name field.

  • Enter the parameter value that you defined earlier for your internal traffic rule.

  • Activate the filter by switching the Activation toggle.

  • When you're ready, click Create to save and apply your filter.

What Happens Next?

  • Once these steps are complete, all traffic that matches your internal rule (such as visits from your designated IP addresses) will be filtered out from your analytics reports.

  • This ensures your data is more accurate and actionable, reflecting only genuine user activity outside your organization.

  • You can update or refine your internal traffic rules and filters at any time as your requirements or organizational structure change.

This tutorial was made in only 5 minutes! Create your own tutorial today.
Create a Free Video