Define internal traffic

To filter out internal traffic, you need to create a rule that defines the IP address or range of IP addresses that represent internal traffic. (Learn more about other ways to filter internal traffic.)

The definition of internal traffic that you create with these rules serves as the basis for your filters to include or exclude internal traffic.

You need Edit permission to create, edit, and delete internal-traffic definitions.

Create definition

  1. Sign in to Google Analytics.
  2. Navigate to the relevant property.
  3. Click Admin > Data Streams, and choose the web stream for which you want to define internal traffic.
  4. Under Additional Settings > Tagging Settings, click and then.
  5. Click Define internal traffic.
  6. Click Create.
  7. Enter a name for the rule.
  8. traffic_type is the only event parameter for which you can define a value. internal is the default value.
  9. Under IP address > Operation, select one of the operators (e.g., IP address equals).
  10. Under IP address, enter an address or range of addresses. The following examples show address ranges:
    • 24-bit block : 10.0.0.0 – 10.255.255.255
    • 20-bit block : 172.16.0.0 – 172.31.255.255
    • 16-bit block : 192.168.0.0 – 192.168.255.255
  11. Click Create.

Edit definition

  1. Sign in to Google Analytics.
  2. Navigate to the relevant property.
  3. Click Admin > Data Streams, and choose the web stream for which you want to edit the internal-traffic definition.
  4. Under Additional Settings > Tagging Settings, click and then.
  5. Click the row for the definition.
  6. Click Edit.
  7. Make the changes you want, then click Save.

Delete definition

  1. Sign in to Google Analytics.
  2. Navigate to the relevant property.
  3. Click Admin > Data Streams, and choose the web stream for which you want to define internal traffic.
  4. Under Additional Settings > Tagging Settings, click and then.
  5. Click Define internal traffic.
  6. Click the row for the definition.
  7. Click More > Delete.

Related resources

Data filters

Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue