How to Exclude Internal Traffic from Google Analytics

By default, you’ll have yours or your employees visit in your Google Analytics. Let’s see how to exclude that internal traffic.

Method #1

Sign in to your Google Analytics Account. Hit Admin > All Filters.

Click on “Add Filter” button.

Enter the filter name. Select “Predefined” as the “Filter Type.”

Select “Exclude” and “traffic from the IP addresses” from the first two drop-down lists.

Choose “that are equal to” if you want to exclude single IP address (IPv4 or IPv6) or “that begin with” if you wish to exclude subnet (IPv4 or IPv6).

In the “IP address” field, enter the corresponding one depending on your above selection.

IP address filter

Now, select the view for which you want to apply this filter and then click on the “Add” button.

Click on “Save” button.

That’s it. All done.

If you’ve multiple IP addresses and subnets to exclude, then you can use the regular expression. Let’s see how to create a filter with regular expression.

Click on Admin > All Filters > Add Filter button.

Enter the filter name, and “Custom” as the “Filter Type.” From the drop-down list, select “IP Address” and then input the regular expression in the “Filter Pattern” field.

Regular expression filter

Now, add the view(s) and then hit the “Save” button.

See: How to Delete an Account in Google Analytics

Method #2

You can try this extension. Install it, and that’s all.

Remember that the extension works only on the browser it is installed. Also, note that you’ve got the option to set it to work on all (default option) or specific sites which you can find in extension settings.

I hope that this guide is useful to you. Like this guide? Please share it with your friends.

Also see:

How to Add Google Analytics to WordPress

How to Clone WordPress Widget

How to Duplicate Posts on WordPress


Scroll to Top