How to Exclude Your IP from Google Analytics
Exclude internal traffic https://support.google.com/analytics/answer/1034840?hl=en
To create an IP address filter:
Follow the instructions to create a new filter for your view.
Leave the Filter Type as Predefined.
Click the Select filter type drop-down menu and select Exclude.
Click the Select source or destination drop-down menu and select traffic from the IP addresses.
Click the Select expression drop-down menu and select the appropriate expression.
Enter the IP address or a regular expression. See the examples below.
Create a filter at the view level
To create a filter at the view level:
Sign in to your Analytics account.
Select the Admin tab and navigate to the view in which you want to create the filter.
In the VIEW column, click Filters.
Click + New Filter.
Select Create new Filter.
Enter a name for the filter.
Select Predefined filter to select from the predefined filter types.
Select Custom filter to construct a custom filter from the options we provide. If you create a custom filter, consult our definitions of the filter fields.
From the Available views list, select the views to which you want to apply the filter, then click Add.
Click Save.
Last updated on December 2016